@autoguru/overdrive 4.1.9 → 4.1.10

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 (702) hide show
  1. package/CHANGELOG.md +1315 -0
  2. package/dist/components/Actions/Actions.d.ts +7 -0
  3. package/dist/components/Actions/Actions.d.ts.map +1 -0
  4. package/dist/components/Actions/Actions.js +3 -20
  5. package/dist/components/Actions/index.d.ts +2 -0
  6. package/dist/components/Actions/index.d.ts.map +1 -0
  7. package/dist/components/Actions/index.js +1 -3
  8. package/dist/components/Actions/stories.js +2 -2
  9. package/dist/components/Alert/Alert.css.d.ts +4 -0
  10. package/dist/components/Alert/Alert.css.d.ts.map +1 -0
  11. package/dist/components/Alert/Alert.css.js +20 -28
  12. package/dist/components/Alert/Alert.d.ts +15 -0
  13. package/dist/components/Alert/Alert.d.ts.map +1 -0
  14. package/dist/components/Alert/Alert.js +26 -84
  15. package/dist/components/Alert/index.d.ts +2 -0
  16. package/dist/components/Alert/index.d.ts.map +1 -0
  17. package/dist/components/Alert/index.js +1 -3
  18. package/dist/components/Alert/stories.js +2 -2
  19. package/dist/components/Anchor/Anchor.css.d.ts +2 -0
  20. package/dist/components/Anchor/Anchor.css.d.ts.map +1 -0
  21. package/dist/components/Anchor/Anchor.css.js +3 -11
  22. package/dist/components/Anchor/Anchor.d.ts +14 -0
  23. package/dist/components/Anchor/Anchor.d.ts.map +1 -0
  24. package/dist/components/Anchor/Anchor.js +28 -53
  25. package/dist/components/Anchor/index.d.ts +2 -0
  26. package/dist/components/Anchor/index.d.ts.map +1 -0
  27. package/dist/components/Anchor/index.js +1 -3
  28. package/dist/components/Anchor/stories.js +2 -2
  29. package/dist/components/AutoSuggest/AutoSuggest.css.d.ts +15 -0
  30. package/dist/components/AutoSuggest/AutoSuggest.css.d.ts.map +1 -0
  31. package/dist/components/AutoSuggest/AutoSuggest.css.js +76 -84
  32. package/dist/components/AutoSuggest/AutoSuggest.d.ts +30 -0
  33. package/dist/components/AutoSuggest/AutoSuggest.d.ts.map +1 -0
  34. package/dist/components/AutoSuggest/AutoSuggest.js +306 -629
  35. package/dist/components/AutoSuggest/index.d.ts +3 -0
  36. package/dist/components/AutoSuggest/index.d.ts.map +1 -0
  37. package/dist/components/AutoSuggest/index.js +1 -3
  38. package/dist/components/AutoSuggest/stories.js +2 -2
  39. package/dist/components/AutoSuggest/useLayoutSuggestionVisible.d.ts +3 -0
  40. package/dist/components/AutoSuggest/useLayoutSuggestionVisible.d.ts.map +1 -0
  41. package/dist/components/AutoSuggest/useLayoutSuggestionVisible.js +31 -29
  42. package/dist/components/Badge/Badge.css.d.ts +13 -0
  43. package/dist/components/Badge/Badge.css.d.ts.map +1 -0
  44. package/dist/components/Badge/Badge.css.js +71 -79
  45. package/dist/components/Badge/Badge.d.ts +11 -0
  46. package/dist/components/Badge/Badge.d.ts.map +1 -0
  47. package/dist/components/Badge/Badge.js +28 -43
  48. package/dist/components/Badge/index.d.ts +2 -0
  49. package/dist/components/Badge/index.d.ts.map +1 -0
  50. package/dist/components/Badge/index.js +1 -3
  51. package/dist/components/Badge/stories.js +2 -2
  52. package/dist/components/Box/Box.d.ts +7 -0
  53. package/dist/components/Box/Box.d.ts.map +1 -0
  54. package/dist/components/Box/Box.js +53 -122
  55. package/dist/components/Box/argTypes.d.ts +7 -0
  56. package/dist/components/Box/argTypes.d.ts.map +1 -0
  57. package/dist/components/Box/argTypes.js +94 -64
  58. package/dist/components/Box/index.d.ts +4 -0
  59. package/dist/components/Box/index.d.ts.map +1 -0
  60. package/dist/components/Box/index.js +2 -4
  61. package/dist/components/Box/stories.js +2 -2
  62. package/dist/components/Box/useBoxStyles.css.d.ts +46 -0
  63. package/dist/components/Box/useBoxStyles.css.d.ts.map +1 -0
  64. package/dist/components/Box/useBoxStyles.css.js +85 -105
  65. package/dist/components/Box/useBoxStyles.d.ts +66 -0
  66. package/dist/components/Box/useBoxStyles.d.ts.map +1 -0
  67. package/dist/components/Box/useBoxStyles.js +47 -75
  68. package/dist/components/BulletList/Bullet.css.d.ts +3 -0
  69. package/dist/components/BulletList/Bullet.css.d.ts.map +1 -0
  70. package/dist/components/BulletList/Bullet.css.js +41 -49
  71. package/dist/components/BulletList/Bullet.d.ts +7 -0
  72. package/dist/components/BulletList/Bullet.d.ts.map +1 -0
  73. package/dist/components/BulletList/Bullet.js +24 -38
  74. package/dist/components/BulletList/BulletList.css.d.ts +3 -0
  75. package/dist/components/BulletList/BulletList.css.d.ts.map +1 -0
  76. package/dist/components/BulletList/BulletList.css.js +5 -13
  77. package/dist/components/BulletList/BulletList.d.ts +6 -0
  78. package/dist/components/BulletList/BulletList.d.ts.map +1 -0
  79. package/dist/components/BulletList/BulletList.js +10 -23
  80. package/dist/components/BulletList/context.d.ts +5 -0
  81. package/dist/components/BulletList/context.d.ts.map +1 -0
  82. package/dist/components/BulletList/context.js +1 -3
  83. package/dist/components/BulletList/index.d.ts +3 -0
  84. package/dist/components/BulletList/index.d.ts.map +1 -0
  85. package/dist/components/BulletList/index.js +2 -4
  86. package/dist/components/BulletList/stories.js +2 -2
  87. package/dist/components/BulletText/BulletText.css.d.ts +6 -0
  88. package/dist/components/BulletText/BulletText.css.d.ts.map +1 -0
  89. package/dist/components/BulletText/BulletText.css.js +13 -21
  90. package/dist/components/BulletText/BulletText.d.ts +8 -0
  91. package/dist/components/BulletText/BulletText.d.ts.map +1 -0
  92. package/dist/components/BulletText/BulletText.js +15 -56
  93. package/dist/components/BulletText/index.d.ts +2 -0
  94. package/dist/components/BulletText/index.d.ts.map +1 -0
  95. package/dist/components/BulletText/index.js +1 -3
  96. package/dist/components/BulletText/stories.js +2 -2
  97. package/dist/components/Button/Button.css.d.ts +30 -0
  98. package/dist/components/Button/Button.css.d.ts.map +1 -0
  99. package/dist/components/Button/Button.css.js +143 -151
  100. package/dist/components/Button/Button.d.ts +20 -0
  101. package/dist/components/Button/Button.d.ts.map +1 -0
  102. package/dist/components/Button/Button.js +72 -112
  103. package/dist/components/Button/index.d.ts +2 -0
  104. package/dist/components/Button/index.d.ts.map +1 -0
  105. package/dist/components/Button/index.js +1 -3
  106. package/dist/components/Button/stories.js +2 -2
  107. package/dist/components/CheckBox/CheckBox.css.d.ts +3 -0
  108. package/dist/components/CheckBox/CheckBox.css.d.ts.map +1 -0
  109. package/dist/components/CheckBox/CheckBox.css.js +20 -28
  110. package/dist/components/CheckBox/CheckBox.d.ts +14 -0
  111. package/dist/components/CheckBox/CheckBox.d.ts.map +1 -0
  112. package/dist/components/CheckBox/CheckBox.js +16 -54
  113. package/dist/components/CheckBox/index.d.ts +2 -0
  114. package/dist/components/CheckBox/index.d.ts.map +1 -0
  115. package/dist/components/CheckBox/index.js +1 -3
  116. package/dist/components/CheckBox/stories.js +2 -2
  117. package/dist/components/Columns/Column.css.d.ts +3 -0
  118. package/dist/components/Columns/Column.css.d.ts.map +1 -0
  119. package/dist/components/Columns/Column.css.js +26 -36
  120. package/dist/components/Columns/Column.d.ts +15 -0
  121. package/dist/components/Columns/Column.d.ts.map +1 -0
  122. package/dist/components/Columns/Column.js +16 -51
  123. package/dist/components/Columns/Columns.css.d.ts +7 -0
  124. package/dist/components/Columns/Columns.css.d.ts.map +1 -0
  125. package/dist/components/Columns/Columns.css.js +31 -39
  126. package/dist/components/Columns/Columns.d.ts +25 -0
  127. package/dist/components/Columns/Columns.d.ts.map +1 -0
  128. package/dist/components/Columns/Columns.js +21 -54
  129. package/dist/components/Columns/index.d.ts +3 -0
  130. package/dist/components/Columns/index.d.ts.map +1 -0
  131. package/dist/components/Columns/index.js +2 -4
  132. package/dist/components/Columns/stories.js +2 -2
  133. package/dist/components/DateInput/DateInput.d.ts +3 -0
  134. package/dist/components/DateInput/DateInput.d.ts.map +1 -0
  135. package/dist/components/DateInput/DateInput.js +7 -33
  136. package/dist/components/DateInput/index.d.ts +2 -0
  137. package/dist/components/DateInput/index.d.ts.map +1 -0
  138. package/dist/components/DateInput/index.js +1 -3
  139. package/dist/components/DateInput/stories.js +3 -3
  140. package/dist/components/Flyout/Flyout.d.ts +4 -0
  141. package/dist/components/Flyout/Flyout.d.ts.map +1 -0
  142. package/dist/components/Flyout/Flyout.js +4 -40
  143. package/dist/components/Flyout/index.d.ts +2 -0
  144. package/dist/components/Flyout/index.d.ts.map +1 -0
  145. package/dist/components/Flyout/index.js +1 -3
  146. package/dist/components/Flyout/stories.js +2 -2
  147. package/dist/components/Heading/Heading.d.ts +11 -0
  148. package/dist/components/Heading/Heading.d.ts.map +1 -0
  149. package/dist/components/Heading/Heading.js +20 -38
  150. package/dist/components/Heading/index.d.ts +2 -0
  151. package/dist/components/Heading/index.d.ts.map +1 -0
  152. package/dist/components/Heading/index.js +1 -3
  153. package/dist/components/Heading/stories.js +10 -2
  154. package/dist/components/Icon/Icon.css.d.ts +2 -0
  155. package/dist/components/Icon/Icon.css.d.ts.map +1 -0
  156. package/dist/components/Icon/Icon.css.js +5 -13
  157. package/dist/components/Icon/Icon.d.ts +13 -0
  158. package/dist/components/Icon/Icon.d.ts.map +1 -0
  159. package/dist/components/Icon/Icon.js +8 -25
  160. package/dist/components/Icon/index.d.ts +2 -0
  161. package/dist/components/Icon/index.d.ts.map +1 -0
  162. package/dist/components/Icon/index.js +1 -3
  163. package/dist/components/Icon/stories.js +2 -2
  164. package/dist/components/Image/Image.d.ts +8 -0
  165. package/dist/components/Image/Image.d.ts.map +1 -0
  166. package/dist/components/Image/Image.js +4 -22
  167. package/dist/components/Image/ImageServerProvider.d.ts +18 -0
  168. package/dist/components/Image/ImageServerProvider.d.ts.map +1 -0
  169. package/dist/components/Image/ImageServerProvider.js +37 -54
  170. package/dist/components/Image/ResponsiveImage.d.ts +11 -0
  171. package/dist/components/Image/ResponsiveImage.d.ts.map +1 -0
  172. package/dist/components/Image/ResponsiveImage.js +19 -46
  173. package/dist/components/Image/SimpleImage.d.ts +12 -0
  174. package/dist/components/Image/SimpleImage.d.ts.map +1 -0
  175. package/dist/components/Image/SimpleImage.js +1 -29
  176. package/dist/components/Image/index.d.ts +3 -0
  177. package/dist/components/Image/index.d.ts.map +1 -0
  178. package/dist/components/Image/index.js +2 -4
  179. package/dist/components/Image/stories.js +2 -2
  180. package/dist/components/Image/types.d.ts +2 -0
  181. package/dist/components/Image/types.d.ts.map +1 -0
  182. package/dist/components/Image/types.js +1 -3
  183. package/dist/components/Inline/Inline.d.ts +13 -0
  184. package/dist/components/Inline/Inline.d.ts.map +1 -0
  185. package/dist/components/Inline/Inline.js +30 -71
  186. package/dist/components/Inline/index.d.ts +2 -0
  187. package/dist/components/Inline/index.d.ts.map +1 -0
  188. package/dist/components/Inline/index.js +1 -3
  189. package/dist/components/Inline/stories.js +2 -2
  190. package/dist/components/LinearProgressIndicator/LinearProgressIndicator.css.d.ts +4 -0
  191. package/dist/components/LinearProgressIndicator/LinearProgressIndicator.css.d.ts.map +1 -0
  192. package/dist/components/LinearProgressIndicator/LinearProgressIndicator.css.js +48 -56
  193. package/dist/components/LinearProgressIndicator/LinearProgressIndicator.d.ts +6 -0
  194. package/dist/components/LinearProgressIndicator/LinearProgressIndicator.d.ts.map +1 -0
  195. package/dist/components/LinearProgressIndicator/LinearProgressIndicator.js +7 -31
  196. package/dist/components/LinearProgressIndicator/index.d.ts +2 -0
  197. package/dist/components/LinearProgressIndicator/index.d.ts.map +1 -0
  198. package/dist/components/LinearProgressIndicator/index.js +1 -3
  199. package/dist/components/LinearProgressIndicator/stories.js +2 -2
  200. package/dist/components/LoadingBox/LoadingBox.css.d.ts +3 -0
  201. package/dist/components/LoadingBox/LoadingBox.css.d.ts.map +1 -0
  202. package/dist/components/LoadingBox/LoadingBox.css.js +18 -26
  203. package/dist/components/LoadingBox/LoadingBox.d.ts +9 -0
  204. package/dist/components/LoadingBox/LoadingBox.d.ts.map +1 -0
  205. package/dist/components/LoadingBox/LoadingBox.js +6 -38
  206. package/dist/components/LoadingBox/index.d.ts +2 -0
  207. package/dist/components/LoadingBox/index.d.ts.map +1 -0
  208. package/dist/components/LoadingBox/index.js +1 -3
  209. package/dist/components/LoadingBox/stories.js +2 -2
  210. package/dist/components/Meta/Meta.css.d.ts +2 -0
  211. package/dist/components/Meta/Meta.css.d.ts.map +1 -0
  212. package/dist/components/Meta/Meta.css.js +8 -16
  213. package/dist/components/Meta/Meta.d.ts +11 -0
  214. package/dist/components/Meta/Meta.d.ts.map +1 -0
  215. package/dist/components/Meta/Meta.js +7 -29
  216. package/dist/components/Meta/index.d.ts +2 -0
  217. package/dist/components/Meta/index.d.ts.map +1 -0
  218. package/dist/components/Meta/index.js +1 -3
  219. package/dist/components/Meta/stories.js +2 -2
  220. package/dist/components/MinimalModal/MinimalModal.css.d.ts +3 -0
  221. package/dist/components/MinimalModal/MinimalModal.css.d.ts.map +1 -0
  222. package/dist/components/MinimalModal/MinimalModal.css.js +7 -15
  223. package/dist/components/MinimalModal/MinimalModal.d.ts +7 -0
  224. package/dist/components/MinimalModal/MinimalModal.d.ts.map +1 -0
  225. package/dist/components/MinimalModal/MinimalModal.js +27 -62
  226. package/dist/components/MinimalModal/index.d.ts +2 -0
  227. package/dist/components/MinimalModal/index.d.ts.map +1 -0
  228. package/dist/components/MinimalModal/index.js +1 -3
  229. package/dist/components/MinimalModal/stories.js +2 -2
  230. package/dist/components/Modal/Modal.css.d.ts +5 -0
  231. package/dist/components/Modal/Modal.css.d.ts.map +1 -0
  232. package/dist/components/Modal/Modal.css.js +30 -38
  233. package/dist/components/Modal/Modal.d.ts +9 -0
  234. package/dist/components/Modal/Modal.d.ts.map +1 -0
  235. package/dist/components/Modal/Modal.js +72 -128
  236. package/dist/components/Modal/index.d.ts +2 -0
  237. package/dist/components/Modal/index.d.ts.map +1 -0
  238. package/dist/components/Modal/index.js +1 -3
  239. package/dist/components/Modal/stories.js +2 -2
  240. package/dist/components/NumberInput/NumberInput.d.ts +7 -0
  241. package/dist/components/NumberInput/NumberInput.d.ts.map +1 -0
  242. package/dist/components/NumberInput/NumberInput.js +29 -60
  243. package/dist/components/NumberInput/index.d.ts +2 -0
  244. package/dist/components/NumberInput/index.d.ts.map +1 -0
  245. package/dist/components/NumberInput/index.js +1 -3
  246. package/dist/components/NumberInput/stories.js +2 -2
  247. package/dist/components/OrderedList/OrderedList.css.d.ts +2 -0
  248. package/dist/components/OrderedList/OrderedList.css.d.ts.map +1 -0
  249. package/dist/components/OrderedList/OrderedList.css.js +8 -16
  250. package/dist/components/OrderedList/OrderedList.d.ts +14 -0
  251. package/dist/components/OrderedList/OrderedList.d.ts.map +1 -0
  252. package/dist/components/OrderedList/OrderedList.js +26 -60
  253. package/dist/components/OrderedList/index.d.ts +2 -0
  254. package/dist/components/OrderedList/index.d.ts.map +1 -0
  255. package/dist/components/OrderedList/index.js +1 -3
  256. package/dist/components/OrderedList/stories.js +2 -2
  257. package/dist/components/OutsideClick/OutsideClick.d.ts +8 -0
  258. package/dist/components/OutsideClick/OutsideClick.d.ts.map +1 -0
  259. package/dist/components/OutsideClick/OutsideClick.js +35 -40
  260. package/dist/components/OutsideClick/index.d.ts +2 -0
  261. package/dist/components/OutsideClick/index.d.ts.map +1 -0
  262. package/dist/components/OutsideClick/index.js +1 -3
  263. package/dist/components/OutsideClick/stories.js +2 -2
  264. package/dist/components/OverdriveProvider/OverdriveProvider.d.ts +7 -0
  265. package/dist/components/OverdriveProvider/OverdriveProvider.d.ts.map +1 -0
  266. package/dist/components/OverdriveProvider/OverdriveProvider.js +18 -34
  267. package/dist/components/OverdriveProvider/index.d.ts +2 -0
  268. package/dist/components/OverdriveProvider/index.d.ts.map +1 -0
  269. package/dist/components/OverdriveProvider/index.js +1 -3
  270. package/dist/components/Pagination/Bubble.d.ts +10 -0
  271. package/dist/components/Pagination/Bubble.d.ts.map +1 -0
  272. package/dist/components/Pagination/Bubble.js +19 -41
  273. package/dist/components/Pagination/Pagination.css.d.ts +4 -0
  274. package/dist/components/Pagination/Pagination.css.d.ts.map +1 -0
  275. package/dist/components/Pagination/Pagination.css.js +20 -28
  276. package/dist/components/Pagination/Pagination.d.ts +16 -0
  277. package/dist/components/Pagination/Pagination.d.ts.map +1 -0
  278. package/dist/components/Pagination/Pagination.js +69 -164
  279. package/dist/components/Pagination/index.d.ts +2 -0
  280. package/dist/components/Pagination/index.d.ts.map +1 -0
  281. package/dist/components/Pagination/index.js +1 -3
  282. package/dist/components/Pagination/stories.js +2 -2
  283. package/dist/components/Portal/Portal.d.ts +10 -0
  284. package/dist/components/Portal/Portal.d.ts.map +1 -0
  285. package/dist/components/Portal/Portal.js +22 -36
  286. package/dist/components/Portal/index.d.ts +2 -0
  287. package/dist/components/Portal/index.d.ts.map +1 -0
  288. package/dist/components/Portal/index.js +1 -3
  289. package/dist/components/Portal/stories.js +4 -4
  290. package/dist/components/Positioner/Positioner.css.d.ts +2 -0
  291. package/dist/components/Positioner/Positioner.css.d.ts.map +1 -0
  292. package/dist/components/Positioner/Positioner.css.js +6 -14
  293. package/dist/components/Positioner/Positioner.d.ts +12 -0
  294. package/dist/components/Positioner/Positioner.d.ts.map +1 -0
  295. package/dist/components/Positioner/Positioner.js +84 -107
  296. package/dist/components/Positioner/alignment.d.ts +11 -0
  297. package/dist/components/Positioner/alignment.d.ts.map +1 -0
  298. package/dist/components/Positioner/alignment.js +10 -13
  299. package/dist/components/Positioner/index.d.ts +3 -0
  300. package/dist/components/Positioner/index.d.ts.map +1 -0
  301. package/dist/components/Positioner/index.js +2 -4
  302. package/dist/components/Positioner/stories.js +2 -2
  303. package/dist/components/ProgressBar/ProgressBar.css.d.ts +3 -0
  304. package/dist/components/ProgressBar/ProgressBar.css.d.ts.map +1 -0
  305. package/dist/components/ProgressBar/ProgressBar.css.js +6 -14
  306. package/dist/components/ProgressBar/ProgressBar.d.ts +9 -0
  307. package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -0
  308. package/dist/components/ProgressBar/ProgressBar.js +11 -29
  309. package/dist/components/ProgressBar/index.d.ts +2 -0
  310. package/dist/components/ProgressBar/index.d.ts.map +1 -0
  311. package/dist/components/ProgressBar/index.js +1 -3
  312. package/dist/components/ProgressBar/stories.js +2 -2
  313. package/dist/components/ProgressBarGroup/ProgressBarGroup.css.d.ts +2 -0
  314. package/dist/components/ProgressBarGroup/ProgressBarGroup.css.d.ts.map +1 -0
  315. package/dist/components/ProgressBarGroup/ProgressBarGroup.css.js +4 -12
  316. package/dist/components/ProgressBarGroup/ProgressBarGroup.d.ts +10 -0
  317. package/dist/components/ProgressBarGroup/ProgressBarGroup.d.ts.map +1 -0
  318. package/dist/components/ProgressBarGroup/ProgressBarGroup.js +14 -42
  319. package/dist/components/ProgressBarGroup/index.d.ts +2 -0
  320. package/dist/components/ProgressBarGroup/index.d.ts.map +1 -0
  321. package/dist/components/ProgressBarGroup/index.js +1 -3
  322. package/dist/components/ProgressBarGroup/stories.js +2 -2
  323. package/dist/components/ProgressSpinner/ProgressSpinner.css.d.ts +9 -0
  324. package/dist/components/ProgressSpinner/ProgressSpinner.css.d.ts.map +1 -0
  325. package/dist/components/ProgressSpinner/ProgressSpinner.css.js +73 -81
  326. package/dist/components/ProgressSpinner/ProgressSpinner.d.ts +9 -0
  327. package/dist/components/ProgressSpinner/ProgressSpinner.d.ts.map +1 -0
  328. package/dist/components/ProgressSpinner/ProgressSpinner.js +13 -31
  329. package/dist/components/ProgressSpinner/index.d.ts +2 -0
  330. package/dist/components/ProgressSpinner/index.d.ts.map +1 -0
  331. package/dist/components/ProgressSpinner/index.js +1 -3
  332. package/dist/components/ProgressSpinner/stories.js +2 -2
  333. package/dist/components/Radio/Radio.css.d.ts +2 -0
  334. package/dist/components/Radio/Radio.css.d.ts.map +1 -0
  335. package/dist/components/Radio/Radio.css.js +23 -31
  336. package/dist/components/Radio/Radio.d.ts +10 -0
  337. package/dist/components/Radio/Radio.d.ts.map +1 -0
  338. package/dist/components/Radio/Radio.js +19 -58
  339. package/dist/components/Radio/RadioGroup.d.ts +19 -0
  340. package/dist/components/Radio/RadioGroup.d.ts.map +1 -0
  341. package/dist/components/Radio/RadioGroup.js +7 -32
  342. package/dist/components/Radio/index.d.ts +3 -0
  343. package/dist/components/Radio/index.d.ts.map +1 -0
  344. package/dist/components/Radio/index.js +2 -4
  345. package/dist/components/Radio/stories.js +2 -2
  346. package/dist/components/Section/Section.css.d.ts +3 -0
  347. package/dist/components/Section/Section.css.d.ts.map +1 -0
  348. package/dist/components/Section/Section.css.js +5 -13
  349. package/dist/components/Section/Section.d.ts +8 -0
  350. package/dist/components/Section/Section.d.ts.map +1 -0
  351. package/dist/components/Section/Section.js +3 -18
  352. package/dist/components/Section/index.d.ts +2 -0
  353. package/dist/components/Section/index.d.ts.map +1 -0
  354. package/dist/components/Section/index.js +1 -3
  355. package/dist/components/Section/stories.js +2 -2
  356. package/dist/components/SelectInput/SelectInput.css.d.ts +4 -0
  357. package/dist/components/SelectInput/SelectInput.css.d.ts.map +1 -0
  358. package/dist/components/SelectInput/SelectInput.css.js +11 -19
  359. package/dist/components/SelectInput/SelectInput.d.ts +6 -0
  360. package/dist/components/SelectInput/SelectInput.d.ts.map +1 -0
  361. package/dist/components/SelectInput/SelectInput.js +11 -59
  362. package/dist/components/SelectInput/index.d.ts +2 -0
  363. package/dist/components/SelectInput/index.d.ts.map +1 -0
  364. package/dist/components/SelectInput/index.js +1 -3
  365. package/dist/components/SelectInput/stories.js +2 -2
  366. package/dist/components/SimplePagination/SimplePagination.d.ts +14 -0
  367. package/dist/components/SimplePagination/SimplePagination.d.ts.map +1 -0
  368. package/dist/components/SimplePagination/SimplePagination.js +17 -55
  369. package/dist/components/SimplePagination/index.d.ts +2 -0
  370. package/dist/components/SimplePagination/index.d.ts.map +1 -0
  371. package/dist/components/SimplePagination/index.js +1 -3
  372. package/dist/components/SimplePagination/stories.js +2 -2
  373. package/dist/components/Stack/Divider.css.d.ts +2 -0
  374. package/dist/components/Stack/Divider.css.d.ts.map +1 -0
  375. package/dist/components/Stack/Divider.css.js +4 -12
  376. package/dist/components/Stack/Divider.d.ts +3 -0
  377. package/dist/components/Stack/Divider.d.ts.map +1 -0
  378. package/dist/components/Stack/Divider.js +4 -13
  379. package/dist/components/Stack/Stack.css.d.ts +5 -0
  380. package/dist/components/Stack/Stack.css.d.ts.map +1 -0
  381. package/dist/components/Stack/Stack.css.js +10 -18
  382. package/dist/components/Stack/Stack.d.ts +11 -0
  383. package/dist/components/Stack/Stack.d.ts.map +1 -0
  384. package/dist/components/Stack/Stack.js +23 -43
  385. package/dist/components/Stack/index.d.ts +2 -0
  386. package/dist/components/Stack/index.d.ts.map +1 -0
  387. package/dist/components/Stack/index.js +1 -3
  388. package/dist/components/Stack/stories.js +2 -2
  389. package/dist/components/StandardModal/StandardModal.css.d.ts +8 -0
  390. package/dist/components/StandardModal/StandardModal.css.d.ts.map +1 -0
  391. package/dist/components/StandardModal/StandardModal.css.js +57 -69
  392. package/dist/components/StandardModal/StandardModal.d.ts +16 -0
  393. package/dist/components/StandardModal/StandardModal.d.ts.map +1 -0
  394. package/dist/components/StandardModal/StandardModal.js +50 -123
  395. package/dist/components/StandardModal/index.d.ts +2 -0
  396. package/dist/components/StandardModal/index.d.ts.map +1 -0
  397. package/dist/components/StandardModal/index.js +1 -3
  398. package/dist/components/StandardModal/stories.js +2 -2
  399. package/dist/components/StarRating/StarRating.css.d.ts +2 -0
  400. package/dist/components/StarRating/StarRating.css.d.ts.map +1 -0
  401. package/dist/components/StarRating/StarRating.css.js +8 -16
  402. package/dist/components/StarRating/StarRating.d.ts +13 -0
  403. package/dist/components/StarRating/StarRating.d.ts.map +1 -0
  404. package/dist/components/StarRating/StarRating.js +46 -89
  405. package/dist/components/StarRating/index.d.ts +2 -0
  406. package/dist/components/StarRating/index.d.ts.map +1 -0
  407. package/dist/components/StarRating/index.js +1 -3
  408. package/dist/components/StarRating/stories.js +2 -2
  409. package/dist/components/Stepper/Stepper.css.d.ts +5 -0
  410. package/dist/components/Stepper/Stepper.css.d.ts.map +1 -0
  411. package/dist/components/Stepper/Stepper.css.js +29 -39
  412. package/dist/components/Stepper/Stepper.d.ts +13 -0
  413. package/dist/components/Stepper/Stepper.d.ts.map +1 -0
  414. package/dist/components/Stepper/Stepper.js +95 -176
  415. package/dist/components/Stepper/index.d.ts +2 -0
  416. package/dist/components/Stepper/index.d.ts.map +1 -0
  417. package/dist/components/Stepper/index.js +1 -3
  418. package/dist/components/Stepper/stories.js +2 -2
  419. package/dist/components/Switch/Switch.css.d.ts +5 -0
  420. package/dist/components/Switch/Switch.css.d.ts.map +1 -0
  421. package/dist/components/Switch/Switch.css.js +41 -49
  422. package/dist/components/Switch/Switch.d.ts +9 -0
  423. package/dist/components/Switch/Switch.d.ts.map +1 -0
  424. package/dist/components/Switch/Switch.js +27 -62
  425. package/dist/components/Switch/index.d.ts +2 -0
  426. package/dist/components/Switch/index.d.ts.map +1 -0
  427. package/dist/components/Switch/index.js +1 -3
  428. package/dist/components/Switch/stories.js +2 -2
  429. package/dist/components/Table/Table.css.d.ts +2 -0
  430. package/dist/components/Table/Table.css.d.ts.map +1 -0
  431. package/dist/components/Table/Table.css.js +6 -14
  432. package/dist/components/Table/Table.d.ts +9 -0
  433. package/dist/components/Table/Table.d.ts.map +1 -0
  434. package/dist/components/Table/Table.js +5 -28
  435. package/dist/components/Table/TableCell.css.d.ts +2 -0
  436. package/dist/components/Table/TableCell.css.d.ts.map +1 -0
  437. package/dist/components/Table/TableCell.css.js +20 -28
  438. package/dist/components/Table/TableCell.d.ts +12 -0
  439. package/dist/components/Table/TableCell.d.ts.map +1 -0
  440. package/dist/components/Table/TableCell.js +11 -41
  441. package/dist/components/Table/TableHeadCell.css.d.ts +10 -0
  442. package/dist/components/Table/TableHeadCell.css.d.ts.map +1 -0
  443. package/dist/components/Table/TableHeadCell.css.js +50 -61
  444. package/dist/components/Table/TableHeadCell.d.ts +14 -0
  445. package/dist/components/Table/TableHeadCell.d.ts.map +1 -0
  446. package/dist/components/Table/TableHeadCell.js +40 -86
  447. package/dist/components/Table/TableRow.d.ts +8 -0
  448. package/dist/components/Table/TableRow.d.ts.map +1 -0
  449. package/dist/components/Table/TableRow.js +2 -17
  450. package/dist/components/Table/TableRowGroup.d.ts +7 -0
  451. package/dist/components/Table/TableRowGroup.d.ts.map +1 -0
  452. package/dist/components/Table/TableRowGroup.js +2 -15
  453. package/dist/components/Table/context.d.ts +9 -0
  454. package/dist/components/Table/context.d.ts.map +1 -0
  455. package/dist/components/Table/context.js +10 -21
  456. package/dist/components/Table/index.d.ts +6 -0
  457. package/dist/components/Table/index.d.ts.map +1 -0
  458. package/dist/components/Table/index.js +5 -7
  459. package/dist/components/Table/stories.js +2 -2
  460. package/dist/components/Tabs/Tab.css.d.ts +7 -0
  461. package/dist/components/Tabs/Tab.css.d.ts.map +1 -0
  462. package/dist/components/Tabs/Tab.css.js +35 -43
  463. package/dist/components/Tabs/Tab.d.ts +10 -0
  464. package/dist/components/Tabs/Tab.d.ts.map +1 -0
  465. package/dist/components/Tabs/Tab.js +50 -80
  466. package/dist/components/Tabs/TabList.css.d.ts +3 -0
  467. package/dist/components/Tabs/TabList.css.d.ts.map +1 -0
  468. package/dist/components/Tabs/TabList.css.js +22 -30
  469. package/dist/components/Tabs/TabList.d.ts +9 -0
  470. package/dist/components/Tabs/TabList.d.ts.map +1 -0
  471. package/dist/components/Tabs/TabList.js +68 -119
  472. package/dist/components/Tabs/TabPane.css.d.ts +2 -0
  473. package/dist/components/Tabs/TabPane.css.d.ts.map +1 -0
  474. package/dist/components/Tabs/TabPane.css.js +3 -11
  475. package/dist/components/Tabs/TabPane.d.ts +5 -0
  476. package/dist/components/Tabs/TabPane.d.ts.map +1 -0
  477. package/dist/components/Tabs/TabPane.js +15 -32
  478. package/dist/components/Tabs/TabPanes.css.d.ts +2 -0
  479. package/dist/components/Tabs/TabPanes.css.d.ts.map +1 -0
  480. package/dist/components/Tabs/TabPanes.css.js +8 -16
  481. package/dist/components/Tabs/TabPanes.d.ts +13 -0
  482. package/dist/components/Tabs/TabPanes.d.ts.map +1 -0
  483. package/dist/components/Tabs/TabPanes.js +5 -22
  484. package/dist/components/Tabs/Tabs.d.ts +16 -0
  485. package/dist/components/Tabs/Tabs.d.ts.map +1 -0
  486. package/dist/components/Tabs/Tabs.js +10 -22
  487. package/dist/components/Tabs/index.d.ts +6 -0
  488. package/dist/components/Tabs/index.d.ts.map +1 -0
  489. package/dist/components/Tabs/index.js +5 -7
  490. package/dist/components/Tabs/stories.js +2 -2
  491. package/dist/components/Text/Text.d.ts +11 -0
  492. package/dist/components/Text/Text.d.ts.map +1 -0
  493. package/dist/components/Text/Text.js +14 -36
  494. package/dist/components/Text/index.d.ts +4 -0
  495. package/dist/components/Text/index.d.ts.map +1 -0
  496. package/dist/components/Text/index.js +2 -4
  497. package/dist/components/Text/stories.js +2 -2
  498. package/dist/components/Text/useTextStyles.css.d.ts +8 -0
  499. package/dist/components/Text/useTextStyles.css.d.ts.map +1 -0
  500. package/dist/components/Text/useTextStyles.css.js +20 -42
  501. package/dist/components/Text/useTextStyles.d.ts +16 -0
  502. package/dist/components/Text/useTextStyles.d.ts.map +1 -0
  503. package/dist/components/Text/useTextStyles.js +5 -20
  504. package/dist/components/TextAreaInput/TextAreaInput.d.ts +3 -0
  505. package/dist/components/TextAreaInput/TextAreaInput.d.ts.map +1 -0
  506. package/dist/components/TextAreaInput/TextAreaInput.js +7 -34
  507. package/dist/components/TextAreaInput/index.d.ts +2 -0
  508. package/dist/components/TextAreaInput/index.d.ts.map +1 -0
  509. package/dist/components/TextAreaInput/index.js +1 -3
  510. package/dist/components/TextAreaInput/stories.js +2 -2
  511. package/dist/components/TextContainer/TextContainer.d.ts +9 -0
  512. package/dist/components/TextContainer/TextContainer.d.ts.map +1 -0
  513. package/dist/components/TextContainer/TextContainer.js +8 -42
  514. package/dist/components/TextContainer/index.d.ts +2 -0
  515. package/dist/components/TextContainer/index.d.ts.map +1 -0
  516. package/dist/components/TextContainer/index.js +1 -3
  517. package/dist/components/TextContainer/stories.js +2 -2
  518. package/dist/components/TextInput/TextInput.d.ts +3 -0
  519. package/dist/components/TextInput/TextInput.d.ts.map +1 -0
  520. package/dist/components/TextInput/TextInput.js +5 -35
  521. package/dist/components/TextInput/index.d.ts +2 -0
  522. package/dist/components/TextInput/index.d.ts.map +1 -0
  523. package/dist/components/TextInput/index.js +1 -3
  524. package/dist/components/TextInput/stories.js +2 -2
  525. package/dist/components/TextLink/TextLink.css.d.ts +3 -0
  526. package/dist/components/TextLink/TextLink.css.d.ts.map +1 -0
  527. package/dist/components/TextLink/TextLink.css.js +15 -23
  528. package/dist/components/TextLink/TextLink.d.ts +14 -0
  529. package/dist/components/TextLink/TextLink.d.ts.map +1 -0
  530. package/dist/components/TextLink/TextLink.js +25 -63
  531. package/dist/components/TextLink/index.d.ts +2 -0
  532. package/dist/components/TextLink/index.d.ts.map +1 -0
  533. package/dist/components/TextLink/index.js +1 -3
  534. package/dist/components/TextLink/stories.js +2 -2
  535. package/dist/components/ThemeProvider/ThemeProvider.d.ts +19 -0
  536. package/dist/components/ThemeProvider/ThemeProvider.d.ts.map +1 -0
  537. package/dist/components/ThemeProvider/ThemeProvider.js +12 -30
  538. package/dist/components/ThemeProvider/index.d.ts +2 -0
  539. package/dist/components/ThemeProvider/index.d.ts.map +1 -0
  540. package/dist/components/ThemeProvider/index.js +1 -3
  541. package/dist/components/Toaster/Toast.css.d.ts +3 -0
  542. package/dist/components/Toaster/Toast.css.d.ts.map +1 -0
  543. package/dist/components/Toaster/Toast.css.js +9 -17
  544. package/dist/components/Toaster/Toast.d.ts +13 -0
  545. package/dist/components/Toaster/Toast.d.ts.map +1 -0
  546. package/dist/components/Toaster/Toast.js +105 -217
  547. package/dist/components/Toaster/index.d.ts +2 -0
  548. package/dist/components/Toaster/index.d.ts.map +1 -0
  549. package/dist/components/Toaster/index.js +1 -3
  550. package/dist/components/Tooltip/Tooltip.css.d.ts +2 -0
  551. package/dist/components/Tooltip/Tooltip.css.d.ts.map +1 -0
  552. package/dist/components/Tooltip/Tooltip.css.js +9 -21
  553. package/dist/components/Tooltip/Tooltip.d.ts +9 -0
  554. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -0
  555. package/dist/components/Tooltip/Tooltip.js +32 -61
  556. package/dist/components/Tooltip/index.d.ts +2 -0
  557. package/dist/components/Tooltip/index.d.ts.map +1 -0
  558. package/dist/components/Tooltip/index.js +1 -3
  559. package/dist/components/Tooltip/stories.js +2 -2
  560. package/dist/components/VisuallyHidden/VisuallyHidden.css.d.ts +2 -0
  561. package/dist/components/VisuallyHidden/VisuallyHidden.css.d.ts.map +1 -0
  562. package/dist/components/VisuallyHidden/VisuallyHidden.css.js +5 -13
  563. package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +7 -0
  564. package/dist/components/VisuallyHidden/VisuallyHidden.d.ts.map +1 -0
  565. package/dist/components/VisuallyHidden/VisuallyHidden.js +3 -19
  566. package/dist/components/VisuallyHidden/index.d.ts +2 -0
  567. package/dist/components/VisuallyHidden/index.d.ts.map +1 -0
  568. package/dist/components/VisuallyHidden/index.js +1 -3
  569. package/dist/components/VisuallyHidden/stories.js +2 -2
  570. package/dist/components/index.d.ts +53 -0
  571. package/dist/components/index.d.ts.map +1 -0
  572. package/dist/components/index.js +52 -54
  573. package/dist/components/private/CheckableBase/CheckableBase.css.d.ts +7 -0
  574. package/dist/components/private/CheckableBase/CheckableBase.css.d.ts.map +1 -0
  575. package/dist/components/private/CheckableBase/CheckableBase.css.js +38 -46
  576. package/dist/components/private/CheckableBase/CheckableBase.d.ts +16 -0
  577. package/dist/components/private/CheckableBase/CheckableBase.d.ts.map +1 -0
  578. package/dist/components/private/CheckableBase/CheckableBase.js +27 -89
  579. package/dist/components/private/CheckableBase/index.d.ts +2 -0
  580. package/dist/components/private/CheckableBase/index.d.ts.map +1 -0
  581. package/dist/components/private/CheckableBase/index.js +1 -3
  582. package/dist/components/private/CheckableBase/useCheckableStyles.d.ts +4 -0
  583. package/dist/components/private/CheckableBase/useCheckableStyles.d.ts.map +1 -0
  584. package/dist/components/private/CheckableBase/useCheckableStyles.js +3 -5
  585. package/dist/components/private/InputBase/HintText.css.d.ts +2 -0
  586. package/dist/components/private/InputBase/HintText.css.d.ts.map +1 -0
  587. package/dist/components/private/InputBase/HintText.css.js +3 -11
  588. package/dist/components/private/InputBase/HintText.d.ts +9 -0
  589. package/dist/components/private/InputBase/HintText.d.ts.map +1 -0
  590. package/dist/components/private/InputBase/HintText.js +14 -28
  591. package/dist/components/private/InputBase/InputState.css.d.ts +58 -0
  592. package/dist/components/private/InputBase/InputState.css.d.ts.map +1 -0
  593. package/dist/components/private/InputBase/InputState.css.js +80 -96
  594. package/dist/components/private/InputBase/NotchedBase.css.d.ts +14 -0
  595. package/dist/components/private/InputBase/NotchedBase.css.d.ts.map +1 -0
  596. package/dist/components/private/InputBase/NotchedBase.css.js +83 -78
  597. package/dist/components/private/InputBase/NotchedBase.d.ts +14 -0
  598. package/dist/components/private/InputBase/NotchedBase.d.ts.map +1 -0
  599. package/dist/components/private/InputBase/NotchedBase.js +34 -79
  600. package/dist/components/private/InputBase/index.d.ts +2 -0
  601. package/dist/components/private/InputBase/index.d.ts.map +1 -0
  602. package/dist/components/private/InputBase/index.js +1 -3
  603. package/dist/components/private/InputBase/withEnhancedInput.css.d.ts +9 -0
  604. package/dist/components/private/InputBase/withEnhancedInput.css.d.ts.map +1 -0
  605. package/dist/components/private/InputBase/withEnhancedInput.css.js +44 -56
  606. package/dist/components/private/InputBase/withEnhancedInput.d.ts +57 -0
  607. package/dist/components/private/InputBase/withEnhancedInput.d.ts.map +1 -0
  608. package/dist/components/private/InputBase/withEnhancedInput.js +89 -176
  609. package/dist/hooks/useAttachedBoxes/index.d.ts +2 -0
  610. package/dist/hooks/useAttachedBoxes/index.d.ts.map +1 -0
  611. package/dist/hooks/useAttachedBoxes/index.js +1 -3
  612. package/dist/hooks/useAttachedBoxes/useAttachedBoxes.css.d.ts +9 -0
  613. package/dist/hooks/useAttachedBoxes/useAttachedBoxes.css.d.ts.map +1 -0
  614. package/dist/hooks/useAttachedBoxes/useAttachedBoxes.css.js +18 -26
  615. package/dist/hooks/useAttachedBoxes/useAttachedBoxes.d.ts +18 -0
  616. package/dist/hooks/useAttachedBoxes/useAttachedBoxes.d.ts.map +1 -0
  617. package/dist/hooks/useAttachedBoxes/useAttachedBoxes.js +46 -71
  618. package/dist/hooks/useMedia/index.d.ts +2 -0
  619. package/dist/hooks/useMedia/index.d.ts.map +1 -0
  620. package/dist/hooks/useMedia/index.js +1 -3
  621. package/dist/hooks/useMedia/useMedia.d.ts +3 -0
  622. package/dist/hooks/useMedia/useMedia.d.ts.map +1 -0
  623. package/dist/hooks/useMedia/useMedia.js +31 -37
  624. package/dist/hooks/useNegativeMargin/useNegativeMargin.d.ts +3 -0
  625. package/dist/hooks/useNegativeMargin/useNegativeMargin.d.ts.map +1 -0
  626. package/dist/hooks/useNegativeMargin/useNegativeMargin.js +2 -4
  627. package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.css.d.ts +2 -0
  628. package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.css.d.ts.map +1 -0
  629. package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.css.js +5 -13
  630. package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.d.ts +4 -0
  631. package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.d.ts.map +1 -0
  632. package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.js +3 -5
  633. package/dist/hooks/useNegativeMargin/useNegativeMarginTop.css.d.ts +2 -0
  634. package/dist/hooks/useNegativeMargin/useNegativeMarginTop.css.d.ts.map +1 -0
  635. package/dist/hooks/useNegativeMargin/useNegativeMarginTop.css.js +4 -12
  636. package/dist/hooks/useNegativeMargin/useNegativeMarginTop.d.ts +4 -0
  637. package/dist/hooks/useNegativeMargin/useNegativeMarginTop.d.ts.map +1 -0
  638. package/dist/hooks/useNegativeMargin/useNegativeMarginTop.js +3 -5
  639. package/dist/hooks/useResponsiveValue/index.d.ts +2 -0
  640. package/dist/hooks/useResponsiveValue/index.d.ts.map +1 -0
  641. package/dist/hooks/useResponsiveValue/index.js +1 -3
  642. package/dist/hooks/useResponsiveValue/useResponsiveValue.d.ts +3 -0
  643. package/dist/hooks/useResponsiveValue/useResponsiveValue.d.ts.map +1 -0
  644. package/dist/hooks/useResponsiveValue/useResponsiveValue.js +14 -14
  645. package/dist/index.d.ts +6 -0
  646. package/dist/index.d.ts.map +1 -0
  647. package/dist/index.js +5 -7
  648. package/dist/reset/globalFonts.css.d.ts +2 -0
  649. package/dist/reset/globalFonts.css.d.ts.map +1 -0
  650. package/dist/reset/globalFonts.css.js +12 -20
  651. package/dist/reset/globalReset.css.d.ts +2 -0
  652. package/dist/reset/globalReset.css.d.ts.map +1 -0
  653. package/dist/reset/globalReset.css.js +13 -21
  654. package/dist/reset/reset.css.d.ts +49 -0
  655. package/dist/reset/reset.css.d.ts.map +1 -0
  656. package/dist/reset/reset.css.js +109 -105
  657. package/dist/themes/base/index.d.ts +8 -0
  658. package/dist/themes/base/index.d.ts.map +1 -0
  659. package/dist/themes/base/index.js +7 -9
  660. package/dist/themes/base/tokens.d.ts +3 -0
  661. package/dist/themes/base/tokens.d.ts.map +1 -0
  662. package/dist/themes/base/tokens.js +249 -256
  663. package/dist/themes/base/vars.css.d.ts +3 -0
  664. package/dist/themes/base/vars.css.d.ts.map +1 -0
  665. package/dist/themes/base/vars.css.js +2 -10
  666. package/dist/themes/flat_red/index.d.ts +8 -0
  667. package/dist/themes/flat_red/index.d.ts.map +1 -0
  668. package/dist/themes/flat_red/index.js +8 -10
  669. package/dist/themes/flat_red/tokens.d.ts +3 -0
  670. package/dist/themes/flat_red/tokens.d.ts.map +1 -0
  671. package/dist/themes/flat_red/tokens.js +167 -171
  672. package/dist/themes/flat_red/vars.css.d.ts +2 -0
  673. package/dist/themes/flat_red/vars.css.d.ts.map +1 -0
  674. package/dist/themes/flat_red/vars.css.js +2 -10
  675. package/dist/themes/helpers.d.ts +2 -0
  676. package/dist/themes/helpers.d.ts.map +1 -0
  677. package/dist/themes/helpers.js +10 -9
  678. package/dist/themes/index.d.ts +3 -0
  679. package/dist/themes/index.d.ts.map +1 -0
  680. package/dist/themes/index.js +2 -4
  681. package/dist/themes/makeTheme.d.ts +12 -0
  682. package/dist/themes/makeTheme.d.ts.map +1 -0
  683. package/dist/themes/makeTheme.js +18 -29
  684. package/dist/themes/tokens.d.ts +95 -0
  685. package/dist/themes/tokens.d.ts.map +1 -0
  686. package/dist/themes/tokens.js +1 -3
  687. package/dist/utils/index.d.ts +19 -0
  688. package/dist/utils/index.d.ts.map +1 -0
  689. package/dist/utils/index.js +77 -93
  690. package/dist/utils/mapTokenToProperty.d.ts +6 -0
  691. package/dist/utils/mapTokenToProperty.d.ts.map +1 -0
  692. package/dist/utils/mapTokenToProperty.js +10 -22
  693. package/dist/utils/resolveResponsiveProps.d.ts +7 -0
  694. package/dist/utils/resolveResponsiveProps.d.ts.map +1 -0
  695. package/dist/utils/resolveResponsiveProps.js +31 -29
  696. package/dist/utils/responsiveProps.css.d.ts +5 -0
  697. package/dist/utils/responsiveProps.css.d.ts.map +1 -0
  698. package/dist/utils/responsiveProps.css.js +17 -29
  699. package/dist/utils/responsiveStyle.d.ts +4 -0
  700. package/dist/utils/responsiveStyle.d.ts.map +1 -0
  701. package/dist/utils/responsiveStyle.js +16 -26
  702. package/package.json +1 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,1315 @@
1
+ # @autoguru/overdrive
2
+
3
+ ## 4.1.10
4
+
5
+ ### Patch Changes
6
+
7
+ - e1f5773: Heading: Gets wordBreak prop
8
+
9
+ ## 4.1.9
10
+
11
+ ### Patch Changes
12
+
13
+ - e1dc659: Text: Gets word-break option Meta: Gets word-break option
14
+
15
+ ## 4.1.8
16
+
17
+ ### Patch Changes
18
+
19
+ - e67fd78: Image: Updated prop types
20
+
21
+ ## 4.1.7
22
+
23
+ ### Patch Changes
24
+
25
+ - f5843b0: Image component: Gets exported from root
26
+
27
+ ## 4.1.6
28
+
29
+ ### Patch Changes
30
+
31
+ - 13acf79: AutoSuggest: Calls onEnter with current value
32
+
33
+ ## 4.1.5
34
+
35
+ ### Patch Changes
36
+
37
+ - 6ae288e: AutoSuggest: Type fixes
38
+
39
+ ## 4.1.4
40
+
41
+ ### Patch Changes
42
+
43
+ - Overdrive: Fixed input ref type
44
+
45
+ ## 4.1.3
46
+
47
+ ### Patch Changes
48
+
49
+ - 9884f4c: Autosuggest: Closes results when enter key is pressed
50
+
51
+ ## 4.1.2
52
+
53
+ ### Patch Changes
54
+
55
+ - e825a3d: useResponsiveValue Accepts any generic type
56
+
57
+ ## 4.1.1
58
+
59
+ ### Patch Changes
60
+
61
+ - 4bae7d0: AutoSuggest accepts an 'onEnter' event callback
62
+
63
+ ## 4.1.0
64
+
65
+ ### Minor Changes
66
+
67
+ - af65bd3: New responsive Image component
68
+
69
+ ## 4.0.4
70
+
71
+ ### Patch Changes
72
+
73
+ - 1ac5083: Adds babel preset env
74
+
75
+ ## 4.0.3
76
+
77
+ ### Patch Changes
78
+
79
+ - 7f65be1: TextArea: Fixed min height
80
+
81
+ ## 4.0.2
82
+
83
+ ### Patch Changes
84
+
85
+ - f7bfcdb: Tabs Get a more distinct colour for unselected tab labels
86
+
87
+ ## 4.0.1
88
+
89
+ ### Patch Changes
90
+
91
+ - e2cebc8: Applies type fixes
92
+
93
+ ## 4.0.0
94
+
95
+ ### Major Changes
96
+
97
+ - dd12f20: Migrates Overdrive to vanilla extract
98
+
99
+ ## 3.0.0
100
+
101
+ ### Major Changes
102
+
103
+ - eb36462: Overdrive: Migrates styling away from treat to vanilla extract
104
+ - aaac596: Migrate to vanilla extract
105
+
106
+ ### Patch Changes
107
+
108
+ - 4324095: OverdriveProvider: Imports reset styles
109
+ - 4324095: OverdriveProvider: Imports global fonts
110
+ - 2623174: fixes list of files with side effects
111
+ - 03ca973: Autosuggest: Replaces deprecated fill-available with stretch
112
+ - 56edcaf: Overdrive: Gets file extentions for imports
113
+ - 2fbe7bf: OverdriveProvider: Accepts runtime breakpoint token
114
+ - 4324095: Compiles released package to JS
115
+ - 4858d44: Compiles Overdrive package into JS
116
+ - 36736c3: useMedia
117
+ - ec17939: Adds babel react preset
118
+ - 965c7ed: Portal: Makes theme wrapping optional
119
+ - 19d14a1: Multiple theming fixes
120
+ - aa5d74b: Portal: Removes memo
121
+ - 4324095: Reverts compiling to js
122
+ - 713b1a3: Oderdrive: Fixed type generation for released package
123
+ - 4b3b1ec: Adds inhouse babel config
124
+ - ca4e971: Portal: Fixes unwrapped version
125
+ - 158d3bb: Accept custom runtime breakpoint tokens
126
+
127
+ ## 3.0.0-next.18
128
+
129
+ ### Patch Changes
130
+
131
+ - Fixes type generation for released package
132
+
133
+ ## 3.0.0-next.17
134
+
135
+ ### Patch Changes
136
+
137
+ - useMedia
138
+
139
+ ## 3.0.0-next.16
140
+
141
+ ### Patch Changes
142
+
143
+ - Portal: Removes memo
144
+
145
+ ## 3.0.0-next.15
146
+
147
+ ### Patch Changes
148
+
149
+ - Portal: Fixes unwrapped version
150
+
151
+ ## 3.0.0-next.14
152
+
153
+ ### Patch Changes
154
+
155
+ - Portal: Makes theme wrapping optional
156
+
157
+ ## 3.0.0-next.13
158
+
159
+ ### Patch Changes
160
+
161
+ - OverdriveProvider: Accepts runtime breakpoint token
162
+
163
+ ## 3.0.0-next.12
164
+
165
+ ### Patch Changes
166
+
167
+ - Accept custom runtime breakpoint tokens
168
+
169
+ ## 3.0.0-next.11
170
+
171
+ ### Patch Changes
172
+
173
+ - Autosuggest: Replaces deprecated fill-available with stretch
174
+
175
+ ## 3.0.0-next.10
176
+
177
+ ### Patch Changes
178
+
179
+ - fixes list of files with sideeffects
180
+
181
+ ## 3.0.0-next.9
182
+
183
+ ### Patch Changes
184
+
185
+ - ec17939: Adds babel react preset
186
+
187
+ ## 3.0.0-next.8
188
+
189
+ ### Patch Changes
190
+
191
+ - Overdrive: Gets file extentions for imports
192
+
193
+ ## 3.0.0-next.7
194
+
195
+ ### Patch Changes
196
+
197
+ - Adds inhouse babel config
198
+
199
+ ## 3.0.0-next.6
200
+
201
+ ### Patch Changes
202
+
203
+ - OverdriveProvider: Imports global fonts
204
+
205
+ ## 3.0.0-next.5
206
+
207
+ ### Patch Changes
208
+
209
+ - OverdriveProvider: Imports reset styles
210
+
211
+ ## 3.0.0-next.4
212
+
213
+ ### Patch Changes
214
+
215
+ - Compiles released package to JS
216
+
217
+ ## 3.0.0-next.3
218
+
219
+ ### Patch Changes
220
+
221
+ - Reverts compiling to js
222
+
223
+ ## 3.0.0-next.2
224
+
225
+ ### Patch Changes
226
+
227
+ - Compiles Overdrive package into JS
228
+
229
+ ## 3.0.0-next.1
230
+
231
+ ### Patch Changes
232
+
233
+ - Multiple theming fixes
234
+
235
+ ## 3.0.0-next.0
236
+
237
+ ### Major Changes
238
+
239
+ - eb36462: Overdrive: Migrates styling away from treat to vanilla extract
240
+ - aaac596: Migrate to vanilla extract
241
+
242
+ ## 3.0.0-next.1
243
+
244
+ ### Major Changes
245
+
246
+ - Migrate to vanilla extract
247
+
248
+ ## 3.0.0-next.0
249
+
250
+ ### Major Changes
251
+
252
+ - Overdrive: Migrates styling away from treat to vanilla extract
253
+
254
+ ## 2.7.0
255
+
256
+ ### Minor Changes
257
+
258
+ - f982d1c: Upgraded to react v18 alpha
259
+ - 0fa7afd: Overdsrive: Gets compiled into javascripts and typescript types
260
+ - 7033333: Hooks: New useAttachedBoxes helper hook
261
+ - f15d951: Hooks: New useResponsiveValue value hook
262
+
263
+ ### Patch Changes
264
+
265
+ - b7e6aae: Adds relese script
266
+ - 25dda76: Attached Boxes: Accept default box props
267
+ - 85e9ceb: StandardModal: Hides it's frame overflow
268
+ - d08c689: Badge: Gets new large size
269
+ - 96a8299: NumberInput: Gets new preventMouseWheel prop to prevent value
270
+ change while scrolling
271
+ - fd3cea4: AttachedBoxes: Do not get default paddings
272
+ - 7f2122b: Adds more utils root export
273
+ - b7e6aae: Overdrive: Gets files list added to package.json
274
+ - b7e6aae: Fixes main file
275
+ - 006435e: StandardModal: Gets narrow and skinny sizes
276
+ - d89cd04: LoadingBox Accepts default Box props
277
+ - b7e6aae: Overdrive index main index files fixed
278
+ - ded7b5d: Inputs: Get their hover states going to a darker shade
279
+ - 8b1f6df: useResponsiveValue: Gets exported from libs root
280
+ - fd3cea4: AttachedBoxes: Accept external classnames
281
+ - ff9a789: Sets index.ts as main entry file
282
+ - ba85147: Overdrive: Multiple export changes
283
+ - 5c1b018: Publish command: Nolonger compiles to JS
284
+
285
+ ## 2.7.0-next.18
286
+
287
+ ### Patch Changes
288
+
289
+ - Overdrive: Multiple export changes
290
+
291
+ ## 2.7.0-next.17
292
+
293
+ ### Patch Changes
294
+
295
+ - Badge: Gets new large size
296
+
297
+ ## 2.7.0-next.16
298
+
299
+ ### Patch Changes
300
+
301
+ - Publish command: Nolonger compiles to JS
302
+
303
+ ## 2.7.0-next.15
304
+
305
+ ### Patch Changes
306
+
307
+ - Adds more utils root export
308
+
309
+ ## 2.7.0-next.14
310
+
311
+ ### Patch Changes
312
+
313
+ - Sets index.ts as main entry file
314
+
315
+ ## 2.7.0-next.13
316
+
317
+ ### Patch Changes
318
+
319
+ - Fixes main file
320
+
321
+ ## 2.7.0-next.12
322
+
323
+ ### Patch Changes
324
+
325
+ - Overdrive index main index files fixed
326
+
327
+ ## 2.7.0-next.11
328
+
329
+ ### Patch Changes
330
+
331
+ - Overdrive: Gets files list added to package.json
332
+
333
+ ## 2.7.0-next.10
334
+
335
+ ### Patch Changes
336
+
337
+ - Adds relese script
338
+
339
+ ## 2.7.0-next.9
340
+
341
+ ### Minor Changes
342
+
343
+ - Overdsrive: Gets compiled into javascripts and typescript types
344
+
345
+ ## 2.7.0-next.8
346
+
347
+ ### Patch Changes
348
+
349
+ - NumberInput: Gets new preventMouseWheel prop to prevent value change while
350
+ scrolling
351
+
352
+ ## 2.7.0-next.7
353
+
354
+ ### Patch Changes
355
+
356
+ - StandardModal: Hides it's frame overflow
357
+
358
+ ## 2.7.0-next.6
359
+
360
+ ### Patch Changes
361
+
362
+ - StandardModal: Gets narrow and skinny sizes
363
+
364
+ ## 2.7.0-next.5
365
+
366
+ ### Patch Changes
367
+
368
+ - LoadingBox Accepts default Box props
369
+
370
+ ## 2.7.0-next.4
371
+
372
+ ### Patch Changes
373
+
374
+ - AttachedBoxes: Do not get default paddings
375
+ - AttachedBoxes: Accept external classnames
376
+
377
+ ## 2.7.0-next.3
378
+
379
+ ### Patch Changes
380
+
381
+ - Attached Boxes: Accept default box props
382
+ - 8b1f6df: useResponsiveValue: Gets exported from libs root
383
+
384
+ ## 2.7.0-next.2
385
+
386
+ ### Minor Changes
387
+
388
+ - 7033333: Hooks: New useAttachedBoxes helper hook
389
+ - f15d951: Hooks: New useResponsiveValue value hook
390
+
391
+ ## 2.7.0-next.1
392
+
393
+ ### Patch Changes
394
+
395
+ - ded7b5d: Inputs: Get their hover states going to a darker shade
396
+
397
+ ## 2.7.0-next.0
398
+
399
+ ### Minor Changes
400
+
401
+ - Upgraded to react v18 alpha
402
+
403
+ ## 2.6.3
404
+
405
+ ### Patch Changes
406
+
407
+ - f6e8135: AutoSuggest: Gets increased results fylout maxHeight value
408
+
409
+ ## 2.6.2
410
+
411
+ ### Patch Changes
412
+
413
+ - 23780cc: Autosuggest: Gets a fix for white background under round edges
414
+
415
+ ## 2.6.1
416
+
417
+ ### Patch Changes
418
+
419
+ - d2ba68a: AutoSuggest: Gets white background for results ul element
420
+
421
+ ## 2.6.0
422
+
423
+ ### Minor Changes
424
+
425
+ - b625d7c: AutoSuggest: Gets a clear input button when with value
426
+ - b625d7c: AutoSuggest: Gets enforced inline options view
427
+
428
+ ## 2.5.1
429
+
430
+ ### Patch Changes
431
+
432
+ - 7072055: Toaster: gets primary, secondary and shine variants
433
+
434
+ ## 2.5.0
435
+
436
+ ### Minor Changes
437
+
438
+ - 9411d17: MinimalModal: New MinimalModal component with StandardModal
439
+ features but without any baked in UI
440
+
441
+ ## 2.4.4
442
+
443
+ ### Patch Changes
444
+
445
+ - 97f8b2d: Button: Uses theme secondary colour for secondary variation border
446
+
447
+ ## 2.4.3
448
+
449
+ ### Patch Changes
450
+
451
+ - a3908d9: AutoSuggest: Gets fix for fullscreen veiw resizing html tag width
452
+ to 0
453
+
454
+ ## 2.4.2
455
+
456
+ ### Patch Changes
457
+
458
+ - e7fe560: Inputs: Get stories with no notch
459
+
460
+ ## 2.4.1
461
+
462
+ ### Patch Changes
463
+
464
+ - dd39f3a: Overdrive Themes: Gets a new flat theme added
465
+
466
+ ## 2.4.0
467
+
468
+ ### Minor Changes
469
+
470
+ - 4c96195: Theming: All explicitly set component colours now use theme based
471
+ colours
472
+
473
+ ## 2.3.1
474
+
475
+ ### Patch Changes
476
+
477
+ - a631d85: SelectInput: Gets option to be passed a custom field icon
478
+
479
+ AutoSuggest: Gets option to be passed a custom field icon
480
+
481
+ ## 2.3.0
482
+
483
+ ### Minor Changes
484
+
485
+ - f4eb420: Input fields: Get a loading state
486
+
487
+ ## 2.2.8
488
+
489
+ ### Patch Changes
490
+
491
+ - 75d6708: Checkbox: Accepts ref
492
+
493
+ RadioGroup: Accepts ref
494
+
495
+ Radio: Accepts ref
496
+
497
+ ## 2.2.7
498
+
499
+ ### Patch Changes
500
+
501
+ - e004bff: Text: Gets capitalise text transform prop
502
+
503
+ ## 2.2.6
504
+
505
+ ### Patch Changes
506
+
507
+ - b328760: Box: Gets padding reset for field and fieldset elements
508
+
509
+ AutoSuggest: Gets fix for exception when clicking outside an open
510
+ AutoSuggest
511
+
512
+ ## 2.2.5
513
+
514
+ ### Patch Changes
515
+
516
+ - 075e32e: useBoxStyles: Borders paddings and margins are no longer rest on
517
+ block elements
518
+ - 075e32e: Heading: Gets explicit reset styles
519
+ - 6068142: AutoSuggest: Fixed undefined error caused by blurring out of
520
+ AutoSuggest
521
+
522
+ ## 2.2.4
523
+
524
+ ### Patch Changes
525
+
526
+ - ee67f76: TextLink: Gets inline reset styles
527
+
528
+ ProgressSpinner: Gets svg and block resets for the animates SVG
529
+
530
+ ## 2.2.3
531
+
532
+ ### Patch Changes
533
+
534
+ - 340da9a: Text: Gets explicit reset styles for span and p
535
+
536
+ field: Gets explicit reset styles
537
+
538
+ fieldset: Gets explicit reset styles
539
+
540
+ ## 2.2.2
541
+
542
+ ### Patch Changes
543
+
544
+ - a3274cb: useBoxStyles: Applies base reset styles to div elements
545
+ - a3274cb: TextAreaInput: Gets base input reset styles
546
+
547
+ ## 2.2.1
548
+
549
+ ### Patch Changes
550
+
551
+ - 0e10140: useBoxStyles: Base reset styles now spread individually into
552
+ element type reset styles
553
+
554
+ ## 2.2.0
555
+
556
+ ### Minor Changes
557
+
558
+ - 667876a: **Checkboxes**: Disabled mode gets reduced opacity
559
+
560
+ **Radio**: Disabled mode gets reduced opacity
561
+
562
+ ## 2.1.9
563
+
564
+ ### Patch Changes
565
+
566
+ - 252f512: Upgrades treat to latest
567
+ - ca5cb40: **Heading**: Heading component _should_ pass all text style props
568
+ down
569
+
570
+ ## 2.1.8
571
+
572
+ ### Patch Changes
573
+
574
+ - d9b96c6: **StandardModal**: Fixes mobile view to be pinned to the bottom and
575
+ table view is all rounded corners
576
+ - 99bc4f9: **Stepper**: Fixes extra re-render on each change
577
+
578
+ ## 2.1.7
579
+
580
+ ### Patch Changes
581
+
582
+ - 977a99f: **Section**: Introduces a new small option for width values
583
+
584
+ ## 2.1.6
585
+
586
+ ### Patch Changes
587
+
588
+ - 463422c: **Badge**: Fixes default text style colour incorrect style ordering
589
+ ordering
590
+
591
+ ## 2.1.5
592
+
593
+ ### Patch Changes
594
+
595
+ - 42057f4: **Badge**: Fixes inverted text style colours and incorrect ordering
596
+ caused by [treat](https://github.com/seek-oss/treat)
597
+
598
+ ## 2.1.4
599
+
600
+ ### Patch Changes
601
+
602
+ - a54636d: **AutoSuggest**: Fix's it so if Suggestions is ever undefined or
603
+ empty, that the nextFn doesnt fail
604
+ - dec98ef: **StandardModal**: The main region to be wrapped in a flex to allow
605
+ stretching children
606
+
607
+ ## 2.1.3
608
+
609
+ ### Patch Changes
610
+
611
+ - c81a433: **SelectInput**: Fixes wrong prop type needed
612
+
613
+ ## 2.1.2
614
+
615
+ ### Patch Changes
616
+
617
+ - 1d4b39e: **SelectInput**: Increases target click area to cover the full
618
+ width of component.
619
+
620
+ ## 2.1.1
621
+
622
+ ### Minor Changes
623
+
624
+ - 052a024: Corrected types to be more type safe and accurate.
625
+
626
+ Notably `<Box>`. Seeing as we `createElement`, we fixed types to only allow
627
+ `IntrinsicElements | JSXElementConstructor`. As such, any `"button"` or
628
+ `TextLink` prop values will work. However, `<TextLink />` will not.
629
+
630
+ ## 2.0.27
631
+
632
+ ### Patch Changes
633
+
634
+ - 648ec6a: **Inputs:** Introduces `reserveHintSpace` prop—to _reserve_ the
635
+ space that would otherwise be occupied by the hint text.
636
+
637
+ Super useful in stacked forms with validation, so that page layout shifts
638
+ don't occur.
639
+
640
+ ## 2.0.26
641
+
642
+ ### Patch Changes
643
+
644
+ - dd3da7e: **Modal:** Introduces a focus-trap as well as correct some
645
+ Concurrent Mode flickering.
646
+ - dd3da7e: **Box:** Adds `opacity` prop
647
+
648
+ ## 2.0.25
649
+
650
+ ### Patch Changes
651
+
652
+ - 4ce4fc6: **NumberInput:** Adds support for the html `step` attribute.
653
+
654
+ ## 2.0.24
655
+
656
+ ### Patch Changes
657
+
658
+ - 8914008: **Box:** Adds `inlineFlex` as a display prop
659
+ - 5bbe87a: **Tabs:** Adds new renderInactivePanes prop to render tabs that are
660
+ inactive.
661
+
662
+ By default, TabPanes themselves only render when they are active. Sometimes
663
+ in certain cases you'd want to preserve the local state within those tabs as
664
+ a user switches between tabs. Setting `renderInactivePanes` on TabPanes will
665
+ be rendered but visually hidden.
666
+
667
+ **Example:**
668
+
669
+ ```jsx
670
+ <Tabs active={0}>> > > > > > > } t > ></Tabs>
671
+ ```
672
+
673
+ - 7131a5f: **Tabs:** Fixes a visual quirk when indications are mixed with
674
+ non-indicators
675
+
676
+ ## 2.0.23
677
+
678
+ ### Patch Changes
679
+
680
+ - c585765: **Heading:** Adds an `id` prop which is applied directly to the
681
+ underlying element
682
+
683
+ ## 2.0.22
684
+
685
+ ### Patch Changes
686
+
687
+ - 5c913cc: Box: Allow non-intrinsics as Box `is` prop as well. With this
688
+ change you can send things in like `svg`'s, or other components themselves.
689
+ - e11909f: Text: Adds a `text-transform` prop to allow uppercasing text
690
+
691
+ ## 2.0.21
692
+
693
+ ### Patch Changes
694
+
695
+ - 47335f6: Meta: FIxed issue where the icon and label would wrap
696
+ - 230367f: SimplePagination: Should be centered in it's parent. Seeing as it's
697
+ parent spans 100% width, this centering is now explicit.
698
+
699
+ ## 2.0.20
700
+
701
+ ### Patch Changes
702
+
703
+ - bf51bbe: Fix: Added missing re-exports from our "to-monorepo" migration
704
+
705
+ ## 2.0.19
706
+
707
+ ### Patch Changes
708
+
709
+ - c13df61: StandardModal: Fixes the issue where a mouseup on the backdrop
710
+ triggered the requestClose callback. Despite the click originating on the
711
+ modal itself. So now the callback will not fire.
712
+
713
+ ## 2.0.18
714
+
715
+ ### Patch Changes
716
+
717
+ - 63d81e5: Major refactor of how `treat` files get used in our project.
718
+ Instead of a redefinition of _shared_ styles such as margin/padding. We now
719
+ instead prefer the usage of `useBoxStyles` or the `Box` component.
720
+
721
+ There _should_ be no real regression in terms of usage api.
722
+
723
+ - 63d81e5: Box: pointerEvents value can now be passed to `Box` and
724
+ `useBoxStyles` as 'none' or undefined.
725
+ - 63d81e5: BulletText: Now accepts an `is` prop, such that it's element can be
726
+ changed. This is really because 9/10 times you'd be rendering this in a
727
+ `Stack`, which already handles the `ul/li` couple.
728
+
729
+ **FEATURES**
730
+
731
+ ```jsx
732
+ <Stack is="ul">> ></Stack>
733
+ ```
734
+
735
+ which already wraps each child in an `li`.
736
+
737
+ ## 2.0.17
738
+
739
+ ### Patch Changes
740
+
741
+ - fbee5c0: AutoSuggest: Now has a full width wrapping box
742
+
743
+ ## 2.0.16
744
+
745
+ ### Patch Changes
746
+
747
+ - 6d9e5b5: Reset: Table reset is no longer global. So use `<Box is="table" />`
748
+
749
+ ```diff
750
+ -<table>
751
+ +<Box is="table">
752
+ ```
753
+
754
+ - 6d9e5b5: Inline: Supports alignX to position items on the x axis aka;
755
+ `justifyContent`.
756
+ - 6d9e5b5: Reset: Globally set overflowX to hidden
757
+ - c90d645: Stepper: When pressing Home/End it should no longer jump to the end
758
+ of the page.
759
+ - 6d9e5b5: Table: Introduces Tables
760
+
761
+ Implemented as a css-grid, so column widths are to be defined in
762
+ gridTemplateColumns. All components in this scope accept a ref property.
763
+
764
+ Please note! In order to remain structurally WAI-ARIA compliant; the
765
+ `TableRowGroup` must be placed around the _traditional_ `tbody` and `thead`.
766
+
767
+ **FEATURES**
768
+
769
+ ### Example
770
+
771
+ ```jsx
772
+ <Table columnTemplate="repeat(2, auto)">></Table>
773
+ ```
774
+
775
+ ### Sticky Header
776
+
777
+ ```diff
778
+ -<Table columnTemplate="repeat(2, auto)">
779
+ +<Table stickyHead columnTemplate="repeat(2, auto)">
780
+ >
781
+ >
782
+ >
783
+ ```
784
+
785
+ ### Sorting Columns
786
+
787
+ ```diff
788
+ <Table columnTemplate="repeat(2, auto)">
789
+ >
790
+ >
791
+ - <TableHeadCell>Col 1</TableHeadCell>
792
+ + <TableHeadCell sort="asc" onSortChange={}>Col 1</TableHeadCell>
793
+ ```
794
+
795
+ A column can only have _sort_ functionality when the `sort` prop is set to
796
+ either `asc | desc | none`. An `onSortChange` callback when applied to the
797
+ cell that allows observing this. This callback will send the _new_ sort to
798
+ have applied to it. This is a stateless component, so make sure you wire the
799
+ value back into `sort`.
800
+
801
+ ### Row Clicking
802
+
803
+ ```diff
804
+ <Table columnTemplate="repeat(2, auto)">
805
+ >
806
+ - <TableRow>
807
+ + <TableRow onClick={}>
808
+ >
809
+ ```
810
+
811
+ Please note; that if you're also tracking clicks of cell buttons, to check
812
+ the currentTarget of whether to apply the callback.
813
+
814
+ ## 2.0.15
815
+
816
+ ### Patch Changes
817
+
818
+ - 5353a1a: Box: Added textAlign as a prop
819
+
820
+ Worth noting that we want to deprecate the use of `align` in our
821
+ `useTextStyles`. As it's now shifted to our box. The `align` prop will still
822
+ remain on the `Text` component.
823
+
824
+ **FEATURES**
825
+
826
+ ```jsx
827
+ <Box textAlign="center" />
828
+ ```
829
+
830
+ - 715b035: Box: Added userSelect prop to disable selecting its content
831
+ - 987a68b: VisuallyHidden: Added brand-new component to visually hide content
832
+
833
+ **FEATURES**
834
+
835
+ ```jsx
836
+ <VisuallyHidden>hello screen reader</VisuallyHidden>
837
+ <Text>
838
+ o
839
+ >
840
+ </Text>
841
+ ```
842
+
843
+ - e2f4a5b: Text: Allow setting a display override
844
+
845
+ **FEATURES**
846
+
847
+ ```jsx
848
+ <Text is="span" display="inlineBlock">
849
+ k
850
+ </Text>
851
+ ```
852
+
853
+ - 175cb09: Icon: Child svg's are cloned and positioned to the size of the
854
+ parent
855
+
856
+ ## 2.0.14
857
+
858
+ ### Patch Changes
859
+
860
+ - 5428b9e: LoadingBox: Exposes height and display box props
861
+
862
+ **FEATURES**
863
+
864
+ ```jsx
865
+ <LoadingBox height="full" display="inlineBlock" />
866
+ ```
867
+
868
+ - e3e5aa9: Box: Display prop inline-block renamed to inlineBlock to be more
869
+ consistent
870
+ - a6530d5: Box: Supports sending in a height prop
871
+
872
+ ## 2.0.13
873
+
874
+ ### Patch Changes
875
+
876
+ - df453b2: Badge: Applies a whiteSpace nowrap to badges, and now truncates
877
+ - 292692f: Section: Typing update such that width prop is actually optional
878
+ - 52c424f: Inline: Now wrap properly, and support a prop to enable/disable it.
879
+ - e0a4291: Box: Introduces flex style props to `Box` and `useBoxStyles`
880
+
881
+ **FEATURES**
882
+
883
+ You can now send in `alignItems`,`flexDirection`, `flexGrow`, `flexShrink`,
884
+ `flexWrap`, `justifyContent` to Box and useBoxStyles for whatever you like.
885
+
886
+ We have specifically chosen `alignItems`, `flexDirection`, `justifyContent`
887
+ as Responsive candidates as we've found the others won't have a responsive
888
+ use case.
889
+
890
+ ```jsx
891
+ <Box display="flex" width="full" justifyContent="center">
892
+ >
893
+ </Box>
894
+ ```
895
+
896
+ ## 2.0.12
897
+
898
+ ### Patch Changes
899
+
900
+ - 62c7111: Stack: A Renamed prop from spacing to space
901
+
902
+ eg:
903
+
904
+ ```diff
905
+ <Stack is="ul"
906
+ - spacing="3">
907
+ + space="3">
908
+ >
909
+ >
910
+ >
911
+ </Stack>
912
+ ```
913
+
914
+ - 822863d: Inline: Supports inline dividers between elements.
915
+
916
+ Supports, text, numbers or elements.
917
+
918
+ **FEATURES**
919
+
920
+ ```jsx
921
+ <Inline dividers>> > > ></Inline>
922
+ ```
923
+
924
+ - a0fce92: Text: Exposes a new white-space nowrap prop
925
+
926
+ This is an **experimental** prop, we know of one use-case where this can be
927
+ used, but will likely also appear on the Box.
928
+
929
+ So do let us know if you're using this, and it hasnt worked in your
930
+ use-case.
931
+
932
+ **FEATURES**
933
+
934
+ You can now pass a `noWrap` prop to any `<Text />` which applies a
935
+ `white-space: nowrap` to itself.
936
+
937
+ ```jsx
938
+ <Text noWrap>I wont wrap</Text>
939
+ ```
940
+
941
+ ## 2.0.11
942
+
943
+ ### Patch Changes
944
+
945
+ - 358fb4b: Tabs: Incorrectly importing treat files inside treat
946
+
947
+ ## 2.0.10
948
+
949
+ ### Patch Changes
950
+
951
+ - 0b6c621: Tabs: Adds `scrollable`, which scrolls the tabs horizontally on
952
+ smaller devices.
953
+
954
+ **FEATURES**
955
+
956
+ ```jsx
957
+ <Tabs>> > > > > ></Tabs>
958
+ ```
959
+
960
+ - 729dfdd: Input: Notchless inputs will no longer break when part of a flex
961
+ container
962
+
963
+ ## 2.0.9
964
+
965
+ ### Patch Changes
966
+
967
+ - 0b59110: Flatten fragments when provided as children
968
+
969
+ Will now support fragments and otherwise boolean children that previously
970
+ would not have worked:
971
+
972
+ ```jsx
973
+ <Stack>> ( > > > > > } ></Stack>
974
+ ```
975
+
976
+ > which would have the past not had lines 1-3 spaced evenly.
977
+
978
+ this was also true for: `Actions`, `Inline`, `TabList`, `TabPanes` and
979
+ `Stack`. Which have been rectified.
980
+
981
+ ## 2.0.8
982
+
983
+ ### Patch Changes
984
+
985
+ - 55ee559: Positioner: Removes usingPositioner
986
+
987
+ **FEATURES**
988
+
989
+ Removes the usingPositioner HoC in favour of a plain-old component that'll
990
+ gives us the ability to send _all_ our Box props onto it. It also aids in
991
+ corrected aria-\* props.
992
+
993
+ ## 2.0.7
994
+
995
+ ### Patch Changes
996
+
997
+ - b9a2c45: InputBase: Allow for notchless inputs
998
+
999
+ **FEATURES**
1000
+
1001
+ Sometimes the notch behavior won't work because of its context - much like
1002
+ an input that sits within a table, where the column already denotes what
1003
+ should be entered into the input.
1004
+
1005
+ > Please be aware that this should be avoided, as in most cases we should
1006
+ > notch, so a user knows what's in the input especially when its defaulted.
1007
+
1008
+ - 7736914: Box: Adds an overflow prop and allows className to be clsx
1009
+ compatible
1010
+
1011
+ **FEATURES**
1012
+
1013
+ `ClassName` can now be sent in directly to Box instead of through clsx.
1014
+
1015
+ eg.
1016
+
1017
+ ```diff
1018
+ - <Box className={clsx(styles.one, styles.two)}>
1019
+ + <Box className={[styles.one, styles.two]}>
1020
+ o
1021
+ </Box>
1022
+
1023
+ - <Box className={clsx({[styles.one]: maybeDoMe}, styles.two)}>
1024
+ + <Box className={[{[styles.one]: maybeDoMe}, styles.two]}>
1025
+ o
1026
+ </Box>
1027
+ ```
1028
+
1029
+ - 17d2354: Stack: Expose the Box width on Stack
1030
+ - 475601c: Tabs: Now always fills the width of its parent
1031
+
1032
+ ## 2.0.6
1033
+
1034
+ ### Patch Changes
1035
+
1036
+ - d1c6b09: responsiveProps: Fix argument where void is not the same as
1037
+ undefined
1038
+
1039
+ ## 2.0.5
1040
+
1041
+ ### Patch Changes
1042
+
1043
+ - 4df7e83: AutoSuggest: Introduce a autoWidth prop that either will size the
1044
+ flyout to either the width of the children, or the input.
1045
+
1046
+ **FEATURES**
1047
+
1048
+ `<AutoSuggest>` can now be given a `autoWidth` prop that will auto the width
1049
+ in relation to setting the width, or for it to be automatic.
1050
+
1051
+ - `autoWidth={true}` means, size the flyout to the width of flyout children "automatically"
1052
+ - `autoWidth={false}` means to set to the width of the select input.
1053
+
1054
+ eg:
1055
+
1056
+ ```jsx
1057
+
1058
+ // size to the width of the flyout children
1059
+ <AutoSuggest
1060
+ "
1061
+ }
1062
+ h
1063
+ />
1064
+
1065
+ // size to the width of the input (current behaviour)
1066
+ <AutoSuggest
1067
+ "
1068
+ }
1069
+ />
1070
+
1071
+ ```
1072
+
1073
+ - 378e5da: AutoSuggest: Input search types to remove the webkit clear button
1074
+
1075
+ **FEATURES**
1076
+
1077
+ When we reset input type searches, we incorrectly "hid" the webkit search
1078
+ buttons, this aims to correct that.
1079
+
1080
+ - eb3cf9d: AutoSuggest: Support the usage of passing a ref down to the
1081
+ implemented input
1082
+
1083
+ **FEATURES**
1084
+
1085
+ `<AutoSuggest>` can now be given a ref which will be passed down to the
1086
+ underlying input.
1087
+
1088
+ eg:
1089
+
1090
+ ```tsx
1091
+ const myRef = useRef<HTMLInputElement | null>(null);
1092
+
1093
+ <AutoSuggest ref={myRef} value={null} placeholder={'My AutoSuggest'} />;
1094
+ ```
1095
+
1096
+ - bab9cd2: InputBase: Always full width the input wrapper
1097
+
1098
+ ## 2.0.4
1099
+
1100
+ ### Patch Changes
1101
+
1102
+ - 801c254: Positioner: Uses Popper.js to run the flyouts.
1103
+
1104
+ **FEATURES**
1105
+
1106
+ **`<Positioner />`** uses Popper.js, as it offers a wide array of
1107
+ performance improvements and caters for some edge-cases, like when the'yre
1108
+ nested etc.
1109
+
1110
+ Few stats: we use popper-lite which is rated at 3.73Kb minified and
1111
+ compressed. Now getOptimalPosition was about 1.3Kb minified and compressed.
1112
+ However, it had a few holes, and when I looked at what it'll take to
1113
+ implement the features to solve the holes - we'd probably still beat the
1114
+ file size, but not by much...
1115
+
1116
+ So with that once internal bandwidth increase this'll likely be revisited -
1117
+ and perhaps utilize `detectOverflow` as a roll-your-own solution.
1118
+
1119
+ - 0964a1d: useNegativeMargin: Correctly fill columns to their parents width
1120
+
1121
+ **BUG FIXES** Columns were not completely filling its parent due to negative
1122
+ margins
1123
+
1124
+ ## 2.0.3
1125
+
1126
+ ### Patch Changes
1127
+
1128
+ - 15f486c: Modals: Now uses a shared `<Portal />` component.
1129
+
1130
+ **FEATURES**
1131
+
1132
+ **`<Portal />`** component allowing for shared Portaling of components to
1133
+ inside a container.
1134
+
1135
+ Responsibility: Rendering a child into a container, which by default is
1136
+ `window.body`.
1137
+
1138
+ eg:
1139
+
1140
+ ```jsx
1141
+ // Input
1142
+ <div>
1143
+ g
1144
+ >
1145
+ >
1146
+ >
1147
+ </div>
1148
+
1149
+ // Result
1150
+ <body>
1151
+ >
1152
+ >
1153
+ </body>
1154
+ ```
1155
+
1156
+ **`<Modal />`** is in charge of handling a backdrop - which also directly
1157
+ uses the new `<Portal>` component.
1158
+
1159
+ Responsibility: Renders a child into a Portal, with a backdrop and correct
1160
+ aria attributes applied.
1161
+
1162
+ You can give this component `hideBackdrop?: boolean` prop to disable the
1163
+ backdrop. Also; if you wish to remove the fadeIn/fadeOut animation, a
1164
+ `transition?: boolean` can also be provided.
1165
+
1166
+ - Removes `<ModalPortal />` in favor of `<Modal />`
1167
+ - Deprecated `withModal`, which could simply just use the Modal component
1168
+
1169
+ Worth noting that a `role="presentation"` is applied to the `Modal`, so
1170
+ consumers should be applying a `role="none presentation"` to their direct
1171
+ parent, if you wish content to be read out.
1172
+
1173
+ eg:
1174
+
1175
+ ```jsx
1176
+ <Modal isOpen={true} onRequestClose={function() {}}>
1177
+ >
1178
+ </Modal>
1179
+ ```
1180
+
1181
+ ## 2.0.2
1182
+
1183
+ ### Patch Changes
1184
+
1185
+ - 6c3ae76: Tabs: Support stretching tablist items to the width of the
1186
+ container
1187
+
1188
+ **FEATURES**
1189
+
1190
+ **`<TabList />`**
1191
+
1192
+ In small contexts, like sidebars, or mobile viewports with minimal tablist
1193
+ items. It makes sense to stretch items to meet the width of the container.
1194
+
1195
+ eg:
1196
+
1197
+ ```
1198
+ <Tabs>
1199
+ >
1200
+ >
1201
+ >
1202
+ >
1203
+ </Tabs>
1204
+ ```
1205
+
1206
+ - 302405b: Alert: Inline is now full width
1207
+
1208
+ **Features**
1209
+
1210
+ `<Alert />`
1211
+
1212
+ When passing the `inline` prop, in the past it was maxWidth 640px - which in
1213
+ inline contexts, you'd want to span the entire width of its container.
1214
+
1215
+ - 3bcf649: Adds the Inline and Section layout components
1216
+
1217
+ **Features**
1218
+
1219
+ Breakpoints have been amended to follow (mobile first):
1220
+
1221
+ - `tablet` is iPad Mini width less 25%, so any device greater than 768px
1222
+ - `desktop` we are considering as iPad Pro width less 25%, so any device larger than 1024px
1223
+ - `largeDesktop` is taken as a 1920x1080 less 25%, so any device larger than 1440px
1224
+
1225
+ all at landscape.
1226
+
1227
+ **`<Inline />`**
1228
+
1229
+ When you're wanting to `inline` something. Like a badge list; you can use
1230
+ use the `<Inline />` component to solve this.
1231
+
1232
+ eg:
1233
+
1234
+ ```jsx
1235
+ <Inline>> > ></Inline>
1236
+ ```
1237
+
1238
+ **`<Section />`**
1239
+
1240
+ A component that wraps its children, setting a `max-width` and centering on
1241
+ the screen. This will generally sit high up in the component tree. It offers
1242
+ 2 widths `medium` and `large`. The medium width is intended for smaller more
1243
+ concise layouts - like our Afterpay landing, or Uber landing. Were as the
1244
+ `large` will probably be more for our Leads or Bookings list screens.
1245
+
1246
+ When coupled with `Columns` we effectively have a full fletched layout
1247
+ system, that can 🤷‍ replace our `ContainedLayout` and `ContentOnlyLayout`
1248
+ internal components.
1249
+
1250
+ To solve the `ThreeColumnLayout` and `TwoColumnLayout` we can build internal
1251
+ abstractions that extend this perhaps.
1252
+
1253
+ eg:
1254
+
1255
+ ```jsx
1256
+ <Section width="medium" paddingX={['3', , 'none']}>
1257
+ >
1258
+ </Section>
1259
+ ```
1260
+
1261
+ - f9dac97: Inline: Supporting alignY responsive prop StarRating: Consumes
1262
+ `<Inline />`
1263
+
1264
+ **FEATURES**
1265
+
1266
+ **`<Inline />`**
1267
+
1268
+ Now supports an alignY responsive prop to vertically center its items to
1269
+ either `top | center | bottom`, eg: `<Inline alignY="center">`
1270
+
1271
+ **`<StarRating />`**
1272
+
1273
+ Uses the `<Inline />` component instead of columns, so should use less DOM
1274
+
1275
+ ## 2.0.1
1276
+
1277
+ ### Patch Changes
1278
+
1279
+ - c66b727: Anchors are now cursor pointer by default
1280
+
1281
+ Seeing as we use `<TextLink />` or `<Box is="a" href="" />` in a few places,
1282
+ it only makes sense to use `a { cursor: pointer }`.
1283
+
1284
+ - 57b8cf3: Actions now filters out undefined or null children
1285
+
1286
+ **`<Actions />`**
1287
+
1288
+ Removed the className prop, this will slowly start happening across the
1289
+ stack.
1290
+
1291
+ ```diff
1292
+ -<Actions className="test">
1293
+ +<Actions>
1294
+ .
1295
+ </Actions>
1296
+ ```
1297
+
1298
+ ## 2.0.0
1299
+
1300
+ ### Major Changes
1301
+
1302
+ - 8881bdd: Styles are now `treat` driven.
1303
+
1304
+ **A few changes**
1305
+
1306
+ - `OverdriveProvider` must now be provider
1307
+ - `ToastProvider` must also be provided when using a `useToast`
1308
+ - `@autoguru/overdrive/reset` must be given first.
1309
+
1310
+ ... and a whole series of other things. Please consult to the PR (#273) to
1311
+ get a better idea of what's changed.
1312
+
1313
+ ### Patch Changes
1314
+
1315
+ - 230a3cd: Forces explicit text colours to Button hover and active states