@bookjane2/bookjane-design-library 7.3.2 → 7.3.3-4.1

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 (889) hide show
  1. package/README.md +47 -47
  2. package/lib/assets/SadJaneIcon.d.ts +2 -2
  3. package/lib/assets/SadJaneIcon.js +59 -59
  4. package/lib/assets/SadJaneIcon.tsx +80 -80
  5. package/lib/common.types.d.ts +43 -43
  6. package/lib/common.types.js +33 -33
  7. package/lib/components/BKJAddressInput/BKJAddressInput.context.d.ts +9 -9
  8. package/lib/components/BKJAddressInput/BKJAddressInput.context.js +112 -112
  9. package/lib/components/BKJAddressInput/BKJAddressInput.d.ts +3 -3
  10. package/lib/components/BKJAddressInput/BKJAddressInput.js +2 -2
  11. package/lib/components/BKJAddressInput/BKJAddressInput.stories.d.ts +10 -10
  12. package/lib/components/BKJAddressInput/BKJAddressInput.stories.js +10 -10
  13. package/lib/components/BKJAddressInput/BKJAddressInput.types.d.ts +73 -73
  14. package/lib/components/BKJAddressInput/BKJAddressInput.types.js +1 -1
  15. package/lib/components/BKJAddressInput/index.d.ts +1 -1
  16. package/lib/components/BKJAddressInput/index.js +1 -1
  17. package/lib/components/BKJAddressInput/normalizedPlaceChangeHandler.d.ts +2 -2
  18. package/lib/components/BKJAddressInput/normalizedPlaceChangeHandler.js +47 -47
  19. package/lib/components/BKJAlert/BKJAlert.d.ts +3 -3
  20. package/lib/components/BKJAlert/BKJAlert.js +13 -13
  21. package/lib/components/BKJAlert/BKJAlert.stories.d.ts +15 -15
  22. package/lib/components/BKJAlert/BKJAlert.stories.js +18 -18
  23. package/lib/components/BKJAlert/BKJAlert.styled.d.ts +7 -7
  24. package/lib/components/BKJAlert/BKJAlert.styled.js +32 -32
  25. package/lib/components/BKJAlert/BKJAlert.types.d.ts +6 -6
  26. package/lib/components/BKJAlert/BKJAlert.types.js +1 -1
  27. package/lib/components/BKJAlert/index.d.ts +2 -2
  28. package/lib/components/BKJAlert/index.js +2 -2
  29. package/lib/components/BKJAvatar/BKJAvatar.d.ts +3 -3
  30. package/lib/components/BKJAvatar/BKJAvatar.js +10 -10
  31. package/lib/components/BKJAvatar/BKJAvatar.stories.d.ts +41 -41
  32. package/lib/components/BKJAvatar/BKJAvatar.stories.js +46 -46
  33. package/lib/components/BKJAvatar/BKJAvatar.styled.d.ts +9 -9
  34. package/lib/components/BKJAvatar/BKJAvatar.styled.js +23 -23
  35. package/lib/components/BKJAvatar/BKJAvatar.types.d.ts +9 -9
  36. package/lib/components/BKJAvatar/BKJAvatar.types.js +1 -1
  37. package/lib/components/BKJAvatar/index.d.ts +2 -2
  38. package/lib/components/BKJAvatar/index.js +2 -2
  39. package/lib/components/BKJBadge/BKJBadge.d.ts +3 -3
  40. package/lib/components/BKJBadge/BKJBadge.js +3 -3
  41. package/lib/components/BKJBadge/BKJBadge.stories.d.ts +22 -22
  42. package/lib/components/BKJBadge/BKJBadge.stories.d.ts.map +1 -1
  43. package/lib/components/BKJBadge/BKJBadge.stories.js +50 -49
  44. package/lib/components/BKJBadge/BKJBadge.stories.js.map +1 -1
  45. package/lib/components/BKJBadge/BKJBadge.styled.d.ts +4 -4
  46. package/lib/components/BKJBadge/BKJBadge.styled.js +17 -17
  47. package/lib/components/BKJBadge/BKJBadge.theme.d.ts +2 -2
  48. package/lib/components/BKJBadge/BKJBadge.theme.d.ts.map +1 -1
  49. package/lib/components/BKJBadge/BKJBadge.theme.js +126 -121
  50. package/lib/components/BKJBadge/BKJBadge.theme.js.map +1 -1
  51. package/lib/components/BKJBadge/BKJBadge.types.d.ts +34 -33
  52. package/lib/components/BKJBadge/BKJBadge.types.d.ts.map +1 -1
  53. package/lib/components/BKJBadge/BKJBadge.types.js +1 -1
  54. package/lib/components/BKJBadge/index.d.ts +2 -2
  55. package/lib/components/BKJBadge/index.js +2 -2
  56. package/lib/components/BKJButton/BKJButton.d.ts +3 -3
  57. package/lib/components/BKJButton/BKJButton.js +8 -8
  58. package/lib/components/BKJButton/BKJButton.stories.d.ts +48 -48
  59. package/lib/components/BKJButton/BKJButton.stories.js +65 -65
  60. package/lib/components/BKJButton/BKJButton.styled.d.ts +10 -10
  61. package/lib/components/BKJButton/BKJButton.styled.js +44 -44
  62. package/lib/components/BKJButton/BKJButton.theme.d.ts +2 -2
  63. package/lib/components/BKJButton/BKJButton.theme.js +416 -416
  64. package/lib/components/BKJButton/BKJButton.types.d.ts +28 -28
  65. package/lib/components/BKJButton/BKJButton.types.js +1 -1
  66. package/lib/components/BKJButton/index.d.ts +2 -2
  67. package/lib/components/BKJButton/index.js +2 -2
  68. package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.d.ts +3 -3
  69. package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.js +16 -16
  70. package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.stories.d.ts +46 -46
  71. package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.stories.js +53 -53
  72. package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.styled.d.ts +15 -15
  73. package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.styled.js +81 -81
  74. package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.types.d.ts +21 -21
  75. package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.types.js +1 -1
  76. package/lib/components/BKJButtonIconTextInput/index.d.ts +1 -1
  77. package/lib/components/BKJButtonIconTextInput/index.js +1 -1
  78. package/lib/components/BKJCheckbox/BKJCheckbox.d.ts +3 -3
  79. package/lib/components/BKJCheckbox/BKJCheckbox.js +26 -26
  80. package/lib/components/BKJCheckbox/BKJCheckbox.stories.d.ts +51 -51
  81. package/lib/components/BKJCheckbox/BKJCheckbox.stories.js +49 -49
  82. package/lib/components/BKJCheckbox/BKJCheckbox.styled.d.ts +11 -11
  83. package/lib/components/BKJCheckbox/BKJCheckbox.styled.js +58 -58
  84. package/lib/components/BKJCheckbox/BKJCheckbox.theme.d.ts +2 -2
  85. package/lib/components/BKJCheckbox/BKJCheckbox.theme.js +42 -42
  86. package/lib/components/BKJCheckbox/BKJCheckbox.types.d.ts +38 -38
  87. package/lib/components/BKJCheckbox/BKJCheckbox.types.js +1 -1
  88. package/lib/components/BKJCheckbox/index.d.ts +2 -2
  89. package/lib/components/BKJCheckbox/index.js +2 -2
  90. package/lib/components/BKJCheckbox/src/BKJCheck.d.ts +4 -4
  91. package/lib/components/BKJCheckbox/src/BKJCheck.js +13 -13
  92. package/lib/components/BKJCheckbox/src/BKJCheck.theme.d.ts +2 -2
  93. package/lib/components/BKJCheckbox/src/BKJCheck.theme.js +16 -16
  94. package/lib/components/BKJCheckbox/src/BKJCheck.types.d.ts +20 -20
  95. package/lib/components/BKJCheckbox/src/BKJCheck.types.js +1 -1
  96. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.d.ts +7 -7
  97. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.js +24 -24
  98. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.stories.d.ts +12 -12
  99. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.stories.js +19 -19
  100. package/lib/components/BKJCheckboxListItem/index.d.ts +2 -2
  101. package/lib/components/BKJCheckboxListItem/index.js +2 -2
  102. package/lib/components/BKJChip/BKJChip.d.ts +3 -3
  103. package/lib/components/BKJChip/BKJChip.js +5 -5
  104. package/lib/components/BKJChip/BKJChip.stories.d.ts +23 -23
  105. package/lib/components/BKJChip/BKJChip.stories.js +26 -26
  106. package/lib/components/BKJChip/BKJChip.styled.d.ts +6 -6
  107. package/lib/components/BKJChip/BKJChip.styled.d.ts.map +1 -1
  108. package/lib/components/BKJChip/BKJChip.styled.js +25 -26
  109. package/lib/components/BKJChip/BKJChip.styled.js.map +1 -1
  110. package/lib/components/BKJChip/BKJChip.theme.d.ts +2 -2
  111. package/lib/components/BKJChip/BKJChip.theme.js +9 -9
  112. package/lib/components/BKJChip/BKJChip.types.d.ts +11 -11
  113. package/lib/components/BKJChip/BKJChip.types.js +1 -1
  114. package/lib/components/BKJChip/index.d.ts +2 -2
  115. package/lib/components/BKJChip/index.js +2 -2
  116. package/lib/components/BKJComboBox/BKJComboBox.d.ts +7 -7
  117. package/lib/components/BKJComboBox/BKJComboBox.js +18 -18
  118. package/lib/components/BKJComboBox/BKJComboBox.stories.d.ts +10 -10
  119. package/lib/components/BKJComboBox/BKJComboBox.stories.js +49 -49
  120. package/lib/components/BKJComboBox/BKJComboBox.types.d.ts +121 -121
  121. package/lib/components/BKJComboBox/BKJComboBox.types.js +1 -1
  122. package/lib/components/BKJComboBox/BKJComboBox.utils.d.ts +23 -23
  123. package/lib/components/BKJComboBox/BKJComboBox.utils.js +167 -167
  124. package/lib/components/BKJComboBox/fortune-500-company-list.json +3002 -3002
  125. package/lib/components/BKJComboBox/index.d.ts +1 -1
  126. package/lib/components/BKJComboBox/index.js +1 -1
  127. package/lib/components/BKJComboBox/opts.d.ts +6 -6
  128. package/lib/components/BKJComboBox/opts.js +482 -482
  129. package/lib/components/BKJComboBox/src/BKJComboBox.context.d.ts +5 -5
  130. package/lib/components/BKJComboBox/src/BKJComboBox.context.hooks.d.ts +13 -13
  131. package/lib/components/BKJComboBox/src/BKJComboBox.context.hooks.js +9 -9
  132. package/lib/components/BKJComboBox/src/BKJComboBox.context.js +198 -198
  133. package/lib/components/BKJComboBox/src/BKJComboBoxInput.d.ts +7 -7
  134. package/lib/components/BKJComboBox/src/BKJComboBoxInput.js +22 -22
  135. package/lib/components/BKJComboBox/src/BKJComboBoxItem.d.ts +3 -3
  136. package/lib/components/BKJComboBox/src/BKJComboBoxItem.js +27 -27
  137. package/lib/components/BKJComboBox/src/BKJComboBoxOptions.d.ts +8 -8
  138. package/lib/components/BKJComboBox/src/BKJComboBoxOptions.js +33 -33
  139. package/lib/components/BKJComboBox/src/BKJComboBoxOptionsMapper.d.ts +5 -5
  140. package/lib/components/BKJComboBox/src/BKJComboBoxOptionsMapper.d.ts.map +1 -1
  141. package/lib/components/BKJComboBox/src/BKJComboBoxOptionsMapper.js +21 -19
  142. package/lib/components/BKJComboBox/src/BKJComboBoxOptionsMapper.js.map +1 -1
  143. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.d.ts +7 -7
  144. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.js +18 -18
  145. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.d.ts +10 -10
  146. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.d.ts.map +1 -1
  147. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.js +93 -92
  148. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.js.map +1 -1
  149. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.types.d.ts +124 -122
  150. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.types.d.ts.map +1 -1
  151. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.types.js +1 -1
  152. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.utils.d.ts +11 -11
  153. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.utils.js +80 -80
  154. package/lib/components/BKJComboBoxAsync/fortune-500-company-list.json +3509 -3509
  155. package/lib/components/BKJComboBoxAsync/index.d.ts +1 -1
  156. package/lib/components/BKJComboBoxAsync/index.js +1 -1
  157. package/lib/components/BKJComboBoxAsync/opts.d.ts +6 -6
  158. package/lib/components/BKJComboBoxAsync/opts.js +482 -482
  159. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.d.ts +5 -5
  160. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.d.ts.map +1 -1
  161. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.hooks.d.ts +11 -11
  162. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.hooks.js +8 -8
  163. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.js +188 -185
  164. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.js.map +1 -1
  165. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncInput.d.ts +8 -8
  166. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncInput.d.ts.map +1 -1
  167. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncInput.js +30 -30
  168. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncInput.js.map +1 -1
  169. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncItem.d.ts +3 -3
  170. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncItem.d.ts.map +1 -1
  171. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncItem.js +21 -21
  172. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncItem.js.map +1 -1
  173. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptions.d.ts +7 -5
  174. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptions.d.ts.map +1 -1
  175. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptions.js +25 -25
  176. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptions.js.map +1 -1
  177. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptionsMapper.d.ts +5 -5
  178. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptionsMapper.d.ts.map +1 -1
  179. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptionsMapper.js +60 -59
  180. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptionsMapper.js.map +1 -1
  181. package/lib/components/BKJDialog/BKJDialog.d.ts +3 -3
  182. package/lib/components/BKJDialog/BKJDialog.js +30 -30
  183. package/lib/components/BKJDialog/BKJDialog.stories.d.ts +34 -34
  184. package/lib/components/BKJDialog/BKJDialog.stories.js +42 -42
  185. package/lib/components/BKJDialog/BKJDialog.styled.d.ts +8 -8
  186. package/lib/components/BKJDialog/BKJDialog.styled.js +66 -66
  187. package/lib/components/BKJDialog/BKJDialog.theme.d.ts +2 -2
  188. package/lib/components/BKJDialog/BKJDialog.theme.js +5 -5
  189. package/lib/components/BKJDialog/BKJDialog.types.d.ts +18 -18
  190. package/lib/components/BKJDialog/BKJDialog.types.js +1 -1
  191. package/lib/components/BKJDialog/index.d.ts +1 -1
  192. package/lib/components/BKJDialog/index.js +1 -1
  193. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.d.ts +3 -3
  194. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.js +36 -36
  195. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.stories.d.ts +37 -37
  196. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.stories.js +51 -51
  197. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.styled.d.ts +13 -13
  198. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.styled.js +36 -36
  199. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.types.d.ts +14 -14
  200. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.types.js +1 -1
  201. package/lib/components/BKJDollarTextInput/index.d.ts +2 -2
  202. package/lib/components/BKJDollarTextInput/index.js +2 -2
  203. package/lib/components/BKJDropdown/BKJDropdown.d.ts +12 -12
  204. package/lib/components/BKJDropdown/BKJDropdown.js +71 -71
  205. package/lib/components/BKJDropdown/BKJDropdown.theme.d.ts +2 -2
  206. package/lib/components/BKJDropdown/BKJDropdown.theme.js +31 -31
  207. package/lib/components/BKJDropdown/BKJDropdown.types.d.ts +5 -5
  208. package/lib/components/BKJDropdown/BKJDropdown.types.js +1 -1
  209. package/lib/components/BKJDropdown/index.d.ts +1 -1
  210. package/lib/components/BKJDropdown/index.js +1 -1
  211. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.d.ts +6 -6
  212. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.d.ts.map +1 -1
  213. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.js +83 -82
  214. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.js.map +1 -1
  215. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.stories.d.ts +9 -9
  216. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.stories.d.ts.map +1 -1
  217. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.stories.js +17 -15
  218. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.stories.js.map +1 -1
  219. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.styled.d.ts +1 -1
  220. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.styled.js +8 -8
  221. package/lib/components/BKJDropdownMenu/index.d.ts +1 -1
  222. package/lib/components/BKJDropdownMenu/index.js +1 -1
  223. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.context.d.ts +8 -8
  224. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.context.js +33 -33
  225. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.d.ts +3 -3
  226. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.js +16 -16
  227. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.stories.d.ts +10 -10
  228. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.stories.js +15 -15
  229. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.styled.d.ts +3 -3
  230. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.styled.js +13 -13
  231. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.types.d.ts +12 -12
  232. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.types.js +1 -1
  233. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenuDropdown.d.ts +3 -3
  234. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenuDropdown.js +27 -27
  235. package/lib/components/BKJEllipsisMenu/index.d.ts +2 -2
  236. package/lib/components/BKJEllipsisMenu/index.js +2 -2
  237. package/lib/components/BKJFileInput/BKJFileInput.d.ts +3 -3
  238. package/lib/components/BKJFileInput/BKJFileInput.d.ts.map +1 -1
  239. package/lib/components/BKJFileInput/BKJFileInput.js +33 -26
  240. package/lib/components/BKJFileInput/BKJFileInput.js.map +1 -1
  241. package/lib/components/BKJFileInput/BKJFileInput.stories.d.ts +14 -14
  242. package/lib/components/BKJFileInput/BKJFileInput.stories.d.ts.map +1 -1
  243. package/lib/components/BKJFileInput/BKJFileInput.stories.js +22 -23
  244. package/lib/components/BKJFileInput/BKJFileInput.stories.js.map +1 -1
  245. package/lib/components/BKJFileInput/BKJFileInput.styled.d.ts +16 -16
  246. package/lib/components/BKJFileInput/BKJFileInput.styled.js +57 -57
  247. package/lib/components/BKJFileInput/BKJFileInput.types.d.ts +14 -14
  248. package/lib/components/BKJFileInput/BKJFileInput.types.js +1 -1
  249. package/lib/components/BKJFileInput/index.d.ts +1 -1
  250. package/lib/components/BKJFileInput/index.js +1 -1
  251. package/lib/components/BKJHorizontalRule/BKJHorizontalRule.d.ts +2 -2
  252. package/lib/components/BKJHorizontalRule/BKJHorizontalRule.js +8 -8
  253. package/lib/components/BKJHorizontalRule/BKJHorizontalRule.types.d.ts +12 -12
  254. package/lib/components/BKJHorizontalRule/BKJHorizontalRule.types.js +15 -15
  255. package/lib/components/BKJHorizontalRule/index.d.ts +1 -1
  256. package/lib/components/BKJHorizontalRule/index.js +1 -1
  257. package/lib/components/BKJIcon/BKJIcon.d.ts +3 -3
  258. package/lib/components/BKJIcon/BKJIcon.js +12 -12
  259. package/lib/components/BKJIcon/BKJIcon.stories.d.ts +34 -34
  260. package/lib/components/BKJIcon/BKJIcon.stories.js +47 -47
  261. package/lib/components/BKJIcon/BKJIcon.stories.styled.d.ts +6 -6
  262. package/lib/components/BKJIcon/BKJIcon.stories.styled.js +31 -31
  263. package/lib/components/BKJIcon/BKJIcon.types.d.ts +28 -28
  264. package/lib/components/BKJIcon/BKJIcon.types.d.ts.map +1 -1
  265. package/lib/components/BKJIcon/BKJIcon.types.js +113 -113
  266. package/lib/components/BKJIcon/BKJIcon.types.js.map +1 -1
  267. package/lib/components/BKJIcon/index.d.ts +2 -2
  268. package/lib/components/BKJIcon/index.js +2 -2
  269. package/lib/components/BKJIcon/src/avatars/Avatar.d.ts +3 -3
  270. package/lib/components/BKJIcon/src/avatars/Avatar.js +13 -13
  271. package/lib/components/BKJIcon/src/avatars/AvatarFill.d.ts +3 -3
  272. package/lib/components/BKJIcon/src/avatars/AvatarFill.js +12 -12
  273. package/lib/components/BKJIcon/src/avatars/MobileAvatarFill.d.ts +4 -0
  274. package/lib/components/BKJIcon/src/avatars/MobileAvatarFill.d.ts.map +1 -0
  275. package/lib/components/BKJIcon/src/avatars/MobileAvatarFill.js +13 -0
  276. package/lib/components/BKJIcon/src/avatars/MobileAvatarFill.js.map +1 -0
  277. package/lib/components/BKJIcon/src/functions/Add.d.ts +3 -3
  278. package/lib/components/BKJIcon/src/functions/Add.js +11 -11
  279. package/lib/components/BKJIcon/src/functions/Delete.d.ts +3 -3
  280. package/lib/components/BKJIcon/src/functions/Delete.js +11 -11
  281. package/lib/components/BKJIcon/src/functions/Download.d.ts +3 -3
  282. package/lib/components/BKJIcon/src/functions/Download.js +10 -10
  283. package/lib/components/BKJIcon/src/functions/Filters.d.ts +3 -3
  284. package/lib/components/BKJIcon/src/functions/Filters.js +9 -9
  285. package/lib/components/BKJIcon/src/functions/HamburgerExpand.d.ts +3 -3
  286. package/lib/components/BKJIcon/src/functions/HamburgerExpand.js +17 -17
  287. package/lib/components/BKJIcon/src/functions/HamburgerTablet.d.ts +3 -3
  288. package/lib/components/BKJIcon/src/functions/HamburgerTablet.js +9 -9
  289. package/lib/components/BKJIcon/src/functions/Minus.d.ts +3 -3
  290. package/lib/components/BKJIcon/src/functions/Minus.js +12 -12
  291. package/lib/components/BKJIcon/src/functions/Plus.d.ts +3 -3
  292. package/lib/components/BKJIcon/src/functions/Plus.js +9 -9
  293. package/lib/components/BKJIcon/src/functions/Sort.d.ts +3 -3
  294. package/lib/components/BKJIcon/src/functions/Sort.js +9 -9
  295. package/lib/components/BKJIcon/src/functions/Templates.d.ts +3 -3
  296. package/lib/components/BKJIcon/src/functions/Templates.js +9 -9
  297. package/lib/components/BKJIcon/src/functions/Trash.d.ts +3 -3
  298. package/lib/components/BKJIcon/src/functions/Trash.js +9 -9
  299. package/lib/components/BKJIcon/src/general/Client.d.ts +3 -3
  300. package/lib/components/BKJIcon/src/general/Client.js +12 -12
  301. package/lib/components/BKJIcon/src/general/ClientPreferences.d.ts +3 -3
  302. package/lib/components/BKJIcon/src/general/ClientPreferences.js +9 -9
  303. package/lib/components/BKJIcon/src/general/Copy.d.ts +3 -3
  304. package/lib/components/BKJIcon/src/general/Copy.js +9 -9
  305. package/lib/components/BKJIcon/src/general/DevNotes.d.ts +3 -3
  306. package/lib/components/BKJIcon/src/general/DevNotes.js +13 -13
  307. package/lib/components/BKJIcon/src/general/Document.d.ts +3 -3
  308. package/lib/components/BKJIcon/src/general/Document.js +9 -9
  309. package/lib/components/BKJIcon/src/general/Edit.d.ts +3 -3
  310. package/lib/components/BKJIcon/src/general/Edit.js +9 -9
  311. package/lib/components/BKJIcon/src/general/Ellipsis.d.ts +3 -3
  312. package/lib/components/BKJIcon/src/general/Ellipsis.js +11 -11
  313. package/lib/components/BKJIcon/src/general/EllipsisInCircle.d.ts +3 -3
  314. package/lib/components/BKJIcon/src/general/EllipsisInCircle.js +13 -13
  315. package/lib/components/BKJIcon/src/general/Eye.d.ts +7 -7
  316. package/lib/components/BKJIcon/src/general/Eye.js +10 -10
  317. package/lib/components/BKJIcon/src/general/Group.d.ts +3 -3
  318. package/lib/components/BKJIcon/src/general/Group.js +10 -10
  319. package/lib/components/BKJIcon/src/general/Info.d.ts +3 -3
  320. package/lib/components/BKJIcon/src/general/Info.js +11 -11
  321. package/lib/components/BKJIcon/src/general/Location.d.ts +3 -3
  322. package/lib/components/BKJIcon/src/general/Location.js +12 -12
  323. package/lib/components/BKJIcon/src/general/Location1.d.ts +3 -3
  324. package/lib/components/BKJIcon/src/general/Location1.js +12 -12
  325. package/lib/components/BKJIcon/src/general/Notes1.d.ts +3 -3
  326. package/lib/components/BKJIcon/src/general/Notes1.js +12 -12
  327. package/lib/components/BKJIcon/src/general/Paste.d.ts +3 -3
  328. package/lib/components/BKJIcon/src/general/Paste.js +9 -9
  329. package/lib/components/BKJIcon/src/general/Payment.d.ts +3 -3
  330. package/lib/components/BKJIcon/src/general/Payment.js +10 -10
  331. package/lib/components/BKJIcon/src/general/PendingSignup.d.ts +3 -3
  332. package/lib/components/BKJIcon/src/general/PendingSignup.js +12 -12
  333. package/lib/components/BKJIcon/src/general/Phone.d.ts +3 -3
  334. package/lib/components/BKJIcon/src/general/Phone.js +9 -9
  335. package/lib/components/BKJIcon/src/general/Position.d.ts +3 -3
  336. package/lib/components/BKJIcon/src/general/Position.js +10 -10
  337. package/lib/components/BKJIcon/src/general/Reply.d.ts +3 -3
  338. package/lib/components/BKJIcon/src/general/Reply.js +9 -9
  339. package/lib/components/BKJIcon/src/general/RoomType.d.ts +3 -3
  340. package/lib/components/BKJIcon/src/general/RoomType.js +12 -12
  341. package/lib/components/BKJIcon/src/general/Search.d.ts +3 -3
  342. package/lib/components/BKJIcon/src/general/Search.js +9 -9
  343. package/lib/components/BKJIcon/src/general/Time.d.ts +3 -3
  344. package/lib/components/BKJIcon/src/general/Time.js +12 -12
  345. package/lib/components/BKJIcon/src/general/Video.d.ts +3 -3
  346. package/lib/components/BKJIcon/src/general/Video.js +9 -9
  347. package/lib/components/BKJIcon/src/general/Warning.d.ts +3 -3
  348. package/lib/components/BKJIcon/src/general/Warning.js +10 -10
  349. package/lib/components/BKJIcon/src/index.d.ts +99 -98
  350. package/lib/components/BKJIcon/src/index.d.ts.map +1 -1
  351. package/lib/components/BKJIcon/src/index.js +99 -98
  352. package/lib/components/BKJIcon/src/index.js.map +1 -1
  353. package/lib/components/BKJIcon/src/indicators/Checkmark.d.ts +3 -3
  354. package/lib/components/BKJIcon/src/indicators/Checkmark.js +9 -9
  355. package/lib/components/BKJIcon/src/indicators/Dedicated.d.ts +3 -3
  356. package/lib/components/BKJIcon/src/indicators/Dedicated.js +9 -9
  357. package/lib/components/BKJIcon/src/indicators/DefaultOutline.d.ts +3 -3
  358. package/lib/components/BKJIcon/src/indicators/DefaultOutline.js +9 -9
  359. package/lib/components/BKJIcon/src/indicators/Error.d.ts +3 -3
  360. package/lib/components/BKJIcon/src/indicators/Error.js +11 -11
  361. package/lib/components/BKJIcon/src/indicators/ErrorDot.d.ts +3 -3
  362. package/lib/components/BKJIcon/src/indicators/ErrorDot.js +9 -9
  363. package/lib/components/BKJIcon/src/indicators/ErrorLarge.d.ts +3 -3
  364. package/lib/components/BKJIcon/src/indicators/ErrorLarge.js +9 -9
  365. package/lib/components/BKJIcon/src/indicators/Locked.d.ts +3 -3
  366. package/lib/components/BKJIcon/src/indicators/Locked.js +9 -9
  367. package/lib/components/BKJIcon/src/indicators/Pause.d.ts +3 -3
  368. package/lib/components/BKJIcon/src/indicators/Pause.js +12 -12
  369. package/lib/components/BKJIcon/src/indicators/Recurring.d.ts +3 -3
  370. package/lib/components/BKJIcon/src/indicators/Recurring.js +9 -9
  371. package/lib/components/BKJIcon/src/indicators/Star.d.ts +3 -3
  372. package/lib/components/BKJIcon/src/indicators/Star.js +9 -9
  373. package/lib/components/BKJIcon/src/indicators/StepCheck.d.ts +4 -4
  374. package/lib/components/BKJIcon/src/indicators/StepCheck.js +11 -11
  375. package/lib/components/BKJIcon/src/indicators/StepcountNumber.d.ts +3 -3
  376. package/lib/components/BKJIcon/src/indicators/StepcountNumber.js +11 -11
  377. package/lib/components/BKJIcon/src/indicators/SuccessDot.d.ts +3 -3
  378. package/lib/components/BKJIcon/src/indicators/SuccessDot.js +9 -9
  379. package/lib/components/BKJIcon/src/indicators/Warning.d.ts +3 -3
  380. package/lib/components/BKJIcon/src/indicators/Warning.js +11 -11
  381. package/lib/components/BKJIcon/src/indicators/WarningDot.d.ts +3 -3
  382. package/lib/components/BKJIcon/src/indicators/WarningDot.js +9 -9
  383. package/lib/components/BKJIcon/src/navigation/ArrowDown.d.ts +3 -3
  384. package/lib/components/BKJIcon/src/navigation/ArrowDown.js +10 -10
  385. package/lib/components/BKJIcon/src/navigation/ArrowLeft.d.ts +3 -3
  386. package/lib/components/BKJIcon/src/navigation/ArrowLeft.js +9 -9
  387. package/lib/components/BKJIcon/src/navigation/ArrowRight.d.ts +3 -3
  388. package/lib/components/BKJIcon/src/navigation/ArrowRight.js +9 -9
  389. package/lib/components/BKJIcon/src/navigation/ArrowUp.d.ts +3 -3
  390. package/lib/components/BKJIcon/src/navigation/ArrowUp.js +9 -9
  391. package/lib/components/BKJIcon/src/navigation/BackArrow.d.ts +3 -3
  392. package/lib/components/BKJIcon/src/navigation/BackArrow.js +9 -9
  393. package/lib/components/BKJIcon/src/navigation/ChevronDoubleLeft.d.ts +3 -3
  394. package/lib/components/BKJIcon/src/navigation/ChevronDoubleLeft.js +10 -10
  395. package/lib/components/BKJIcon/src/navigation/ChevronDoubleRight.d.ts +3 -3
  396. package/lib/components/BKJIcon/src/navigation/ChevronDoubleRight.js +10 -10
  397. package/lib/components/BKJIcon/src/navigation/ChevronDown.d.ts +3 -3
  398. package/lib/components/BKJIcon/src/navigation/ChevronDown.js +9 -9
  399. package/lib/components/BKJIcon/src/navigation/ChevronLeft.d.ts +3 -3
  400. package/lib/components/BKJIcon/src/navigation/ChevronLeft.js +9 -9
  401. package/lib/components/BKJIcon/src/navigation/ChevronLeftInCircle.d.ts +3 -3
  402. package/lib/components/BKJIcon/src/navigation/ChevronLeftInCircle.js +18 -18
  403. package/lib/components/BKJIcon/src/navigation/ChevronLeftLarge.d.ts +3 -3
  404. package/lib/components/BKJIcon/src/navigation/ChevronLeftLarge.js +11 -11
  405. package/lib/components/BKJIcon/src/navigation/ChevronRight.d.ts +3 -3
  406. package/lib/components/BKJIcon/src/navigation/ChevronRight.js +9 -9
  407. package/lib/components/BKJIcon/src/navigation/ChevronRightInCircle.d.ts +3 -3
  408. package/lib/components/BKJIcon/src/navigation/ChevronRightInCircle.js +18 -18
  409. package/lib/components/BKJIcon/src/navigation/ChevronUp.d.ts +3 -3
  410. package/lib/components/BKJIcon/src/navigation/ChevronUp.js +9 -9
  411. package/lib/components/BKJIcon/src/navigation/CloseBold.d.ts +3 -3
  412. package/lib/components/BKJIcon/src/navigation/CloseBold.js +9 -9
  413. package/lib/components/BKJIcon/src/navigation/CombinedChevronDefault.d.ts +3 -3
  414. package/lib/components/BKJIcon/src/navigation/CombinedChevronDefault.js +9 -9
  415. package/lib/components/BKJIcon/src/navigation/CombinedChevronDown.d.ts +3 -3
  416. package/lib/components/BKJIcon/src/navigation/CombinedChevronDown.js +10 -10
  417. package/lib/components/BKJIcon/src/navigation/CombinedChevronUp.d.ts +3 -3
  418. package/lib/components/BKJIcon/src/navigation/CombinedChevronUp.js +10 -10
  419. package/lib/components/BKJIcon/src/navigation/MouseIndicator.d.ts +3 -3
  420. package/lib/components/BKJIcon/src/navigation/MouseIndicator.js +11 -11
  421. package/lib/components/BKJIcon/src/shifts/Client.d.ts +3 -3
  422. package/lib/components/BKJIcon/src/shifts/Client.js +10 -10
  423. package/lib/components/BKJIcon/src/shifts/Date.d.ts +3 -3
  424. package/lib/components/BKJIcon/src/shifts/Date.js +10 -10
  425. package/lib/components/BKJIcon/src/shifts/Deal.d.ts +3 -3
  426. package/lib/components/BKJIcon/src/shifts/Deal.js +10 -10
  427. package/lib/components/BKJIcon/src/shifts/Location.d.ts +3 -3
  428. package/lib/components/BKJIcon/src/shifts/Location.js +10 -10
  429. package/lib/components/BKJIcon/src/shifts/Notes.d.ts +3 -3
  430. package/lib/components/BKJIcon/src/shifts/Notes.js +10 -10
  431. package/lib/components/BKJIcon/src/shifts/Price.d.ts +3 -3
  432. package/lib/components/BKJIcon/src/shifts/Price.js +12 -12
  433. package/lib/components/BKJIcon/src/shifts/Quantity.d.ts +3 -3
  434. package/lib/components/BKJIcon/src/shifts/Quantity.js +10 -10
  435. package/lib/components/BKJIcon/src/shifts/Tasks.d.ts +3 -3
  436. package/lib/components/BKJIcon/src/shifts/Tasks.js +10 -10
  437. package/lib/components/BKJIcon/src/shifts/Time.d.ts +3 -3
  438. package/lib/components/BKJIcon/src/shifts/Time.js +10 -10
  439. package/lib/components/BKJIcon/src/shifts/TrainingOutline.d.ts +3 -3
  440. package/lib/components/BKJIcon/src/shifts/TrainingOutline.js +10 -10
  441. package/lib/components/BKJIcon/src/shifts/UnpaidBreak.d.ts +3 -3
  442. package/lib/components/BKJIcon/src/shifts/UnpaidBreak.js +10 -10
  443. package/lib/components/BKJIcon/src/sidenav/AgencyMembers.d.ts +3 -3
  444. package/lib/components/BKJIcon/src/sidenav/AgencyMembers.js +15 -15
  445. package/lib/components/BKJIcon/src/sidenav/Analytics.d.ts +3 -3
  446. package/lib/components/BKJIcon/src/sidenav/Analytics.js +10 -10
  447. package/lib/components/BKJIcon/src/sidenav/Clients.d.ts +3 -3
  448. package/lib/components/BKJIcon/src/sidenav/Clients.js +9 -9
  449. package/lib/components/BKJIcon/src/sidenav/Communications.d.ts +3 -3
  450. package/lib/components/BKJIcon/src/sidenav/Communications.js +9 -9
  451. package/lib/components/BKJIcon/src/sidenav/Dashboard.d.ts +3 -3
  452. package/lib/components/BKJIcon/src/sidenav/Dashboard.js +9 -9
  453. package/lib/components/BKJIcon/src/sidenav/Explore.d.ts +3 -3
  454. package/lib/components/BKJIcon/src/sidenav/Explore.js +11 -11
  455. package/lib/components/BKJIcon/src/sidenav/Logout.d.ts +3 -3
  456. package/lib/components/BKJIcon/src/sidenav/Logout.js +9 -9
  457. package/lib/components/BKJIcon/src/sidenav/NewBooking.d.ts +3 -3
  458. package/lib/components/BKJIcon/src/sidenav/NewBooking.js +10 -10
  459. package/lib/components/BKJIcon/src/sidenav/Question.d.ts +3 -3
  460. package/lib/components/BKJIcon/src/sidenav/Question.js +10 -10
  461. package/lib/components/BKJIcon/src/sidenav/Schedule.d.ts +3 -3
  462. package/lib/components/BKJIcon/src/sidenav/Schedule.js +12 -12
  463. package/lib/components/BKJIcon/src/sidenav/Settings.d.ts +3 -3
  464. package/lib/components/BKJIcon/src/sidenav/Settings.js +9 -9
  465. package/lib/components/BKJIcon/src/sidenav/Shifts.d.ts +3 -3
  466. package/lib/components/BKJIcon/src/sidenav/Shifts.js +9 -9
  467. package/lib/components/BKJIcon/src/sidenav/TeamMembers.d.ts +3 -3
  468. package/lib/components/BKJIcon/src/sidenav/TeamMembers.js +9 -9
  469. package/lib/components/BKJIcon/src/sidenav/Timesheets.d.ts +3 -3
  470. package/lib/components/BKJIcon/src/sidenav/Timesheets.js +9 -9
  471. package/lib/components/BKJIconTooltip/BKJIconTooltip.d.ts +3 -3
  472. package/lib/components/BKJIconTooltip/BKJIconTooltip.js +7 -7
  473. package/lib/components/BKJIconTooltip/BKJIconTooltip.stories.d.ts +25 -25
  474. package/lib/components/BKJIconTooltip/BKJIconTooltip.stories.js +39 -39
  475. package/lib/components/BKJIconTooltip/BKJIconTooltip.types.d.ts +8 -8
  476. package/lib/components/BKJIconTooltip/BKJIconTooltip.types.js +1 -1
  477. package/lib/components/BKJIconTooltip/index.d.ts +1 -1
  478. package/lib/components/BKJIconTooltip/index.js +1 -1
  479. package/lib/components/BKJImage/BKJImage.d.ts +3 -3
  480. package/lib/components/BKJImage/BKJImage.js +18 -18
  481. package/lib/components/BKJImage/BKJImage.styled.d.ts +10 -10
  482. package/lib/components/BKJImage/BKJImage.styled.js +29 -29
  483. package/lib/components/BKJImage/BKJImage.types.d.ts +10 -10
  484. package/lib/components/BKJImage/BKJImage.types.js +1 -1
  485. package/lib/components/BKJImage/index.d.ts +1 -1
  486. package/lib/components/BKJImage/index.js +1 -1
  487. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.context.d.ts +4 -4
  488. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.context.js +100 -100
  489. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.d.ts +3 -3
  490. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.js +50 -50
  491. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.stories.d.ts +38 -38
  492. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.stories.js +116 -116
  493. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.types.d.ts +85 -85
  494. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.types.js +10 -10
  495. package/lib/components/BKJInteractiveMap/index.d.ts +1 -1
  496. package/lib/components/BKJInteractiveMap/index.js +1 -1
  497. package/lib/components/BKJListItem/BKJListItem.d.ts +3 -3
  498. package/lib/components/BKJListItem/BKJListItem.js +18 -18
  499. package/lib/components/BKJListItem/BKJListItem.stories.d.ts +9 -9
  500. package/lib/components/BKJListItem/BKJListItem.stories.js +8 -8
  501. package/lib/components/BKJListItem/BKJListItem.styled.d.ts +3 -3
  502. package/lib/components/BKJListItem/BKJListItem.styled.js +54 -54
  503. package/lib/components/BKJListItem/BKJListItem.theme.d.ts +2 -2
  504. package/lib/components/BKJListItem/BKJListItem.theme.js +46 -46
  505. package/lib/components/BKJListItem/BKJListItem.types.d.ts +57 -57
  506. package/lib/components/BKJListItem/BKJListItem.types.js +1 -1
  507. package/lib/components/BKJListItem/index.d.ts +2 -2
  508. package/lib/components/BKJListItem/index.js +2 -2
  509. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.d.ts +3 -3
  510. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.js +9 -9
  511. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.stories.d.ts +18 -18
  512. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.stories.js +19 -19
  513. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.styled.d.ts +1 -1
  514. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.styled.js +6 -6
  515. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.theme.d.ts +2 -2
  516. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.theme.js +14 -14
  517. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.types.d.ts +14 -14
  518. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.types.js +1 -1
  519. package/lib/components/BKJLoadingSpinner/index.d.ts +2 -2
  520. package/lib/components/BKJLoadingSpinner/index.js +2 -2
  521. package/lib/components/BKJLogo/BKJLogo.d.ts +3 -3
  522. package/lib/components/BKJLogo/BKJLogo.js +7 -7
  523. package/lib/components/BKJLogo/BKJLogo.stories.d.ts +31 -31
  524. package/lib/components/BKJLogo/BKJLogo.stories.js +34 -34
  525. package/lib/components/BKJLogo/BKJLogo.types.d.ts +10 -10
  526. package/lib/components/BKJLogo/BKJLogo.types.js +6 -6
  527. package/lib/components/BKJLogo/index.d.ts +2 -2
  528. package/lib/components/BKJLogo/index.js +2 -2
  529. package/lib/components/BKJLogo/src/Agency.d.ts +3 -3
  530. package/lib/components/BKJLogo/src/Agency.js +10 -10
  531. package/lib/components/BKJLogo/src/General.d.ts +3 -3
  532. package/lib/components/BKJLogo/src/General.js +9 -9
  533. package/lib/components/BKJLogo/src/Premium.d.ts +3 -3
  534. package/lib/components/BKJLogo/src/Premium.js +10 -10
  535. package/lib/components/BKJLogo/src/index.d.ts +4 -4
  536. package/lib/components/BKJLogo/src/index.js +4 -4
  537. package/lib/components/BKJMenu/BKJMenu.d.ts +3 -3
  538. package/lib/components/BKJMenu/BKJMenu.js +19 -19
  539. package/lib/components/BKJMenu/BKJMenu.stories.d.ts +20 -20
  540. package/lib/components/BKJMenu/BKJMenu.stories.js +30 -30
  541. package/lib/components/BKJMenu/BKJMenu.styled.d.ts +6 -6
  542. package/lib/components/BKJMenu/BKJMenu.styled.js +44 -44
  543. package/lib/components/BKJMenu/BKJMenu.types.d.ts +10 -10
  544. package/lib/components/BKJMenu/BKJMenu.types.js +1 -1
  545. package/lib/components/BKJMenu/index.d.ts +2 -2
  546. package/lib/components/BKJMenu/index.js +2 -2
  547. package/lib/components/BKJMenuItem/BKJMenuItem.d.ts +3 -3
  548. package/lib/components/BKJMenuItem/BKJMenuItem.js +5 -5
  549. package/lib/components/BKJMenuItem/BKJMenuItem.stories.d.ts +9 -9
  550. package/lib/components/BKJMenuItem/BKJMenuItem.stories.js +14 -14
  551. package/lib/components/BKJMenuItem/BKJMenuItem.styled.d.ts +3 -3
  552. package/lib/components/BKJMenuItem/BKJMenuItem.styled.js +44 -44
  553. package/lib/components/BKJMenuItem/BKJMenuItem.types.d.ts +7 -7
  554. package/lib/components/BKJMenuItem/BKJMenuItem.types.js +1 -1
  555. package/lib/components/BKJMenuItem/index.d.ts +2 -2
  556. package/lib/components/BKJMenuItem/index.js +2 -2
  557. package/lib/components/BKJPagination/BKJPagination.d.ts +3 -3
  558. package/lib/components/BKJPagination/BKJPagination.js +10 -10
  559. package/lib/components/BKJPagination/BKJPagination.stories.d.ts +16 -16
  560. package/lib/components/BKJPagination/BKJPagination.stories.js +21 -21
  561. package/lib/components/BKJPagination/BKJPagination.styled.d.ts +6 -6
  562. package/lib/components/BKJPagination/BKJPagination.styled.js +47 -47
  563. package/lib/components/BKJPagination/BKJPagination.types.d.ts +9 -9
  564. package/lib/components/BKJPagination/BKJPagination.types.js +1 -1
  565. package/lib/components/BKJPagination/index.d.ts +2 -2
  566. package/lib/components/BKJPagination/index.js +2 -2
  567. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.d.ts +3 -3
  568. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.d.ts.map +1 -1
  569. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.js +33 -20
  570. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.js.map +1 -1
  571. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.stories.d.ts +34 -34
  572. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.stories.d.ts.map +1 -1
  573. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.stories.js +48 -48
  574. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.stories.js.map +1 -1
  575. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.styled.d.ts +13 -13
  576. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.styled.js +35 -35
  577. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.types.d.ts +13 -13
  578. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.types.js +1 -1
  579. package/lib/components/BKJPhoneNumberInput/index.d.ts +2 -2
  580. package/lib/components/BKJPhoneNumberInput/index.js +2 -2
  581. package/lib/components/BKJPillDropdown/BKJPillDropdown.context.d.ts +4 -4
  582. package/lib/components/BKJPillDropdown/BKJPillDropdown.context.js +73 -73
  583. package/lib/components/BKJPillDropdown/BKJPillDropdown.d.ts +3 -3
  584. package/lib/components/BKJPillDropdown/BKJPillDropdown.js +28 -28
  585. package/lib/components/BKJPillDropdown/BKJPillDropdown.stories.d.ts +35 -35
  586. package/lib/components/BKJPillDropdown/BKJPillDropdown.stories.d.ts.map +1 -1
  587. package/lib/components/BKJPillDropdown/BKJPillDropdown.stories.js +72 -71
  588. package/lib/components/BKJPillDropdown/BKJPillDropdown.stories.js.map +1 -1
  589. package/lib/components/BKJPillDropdown/BKJPillDropdown.styled.d.ts +17 -17
  590. package/lib/components/BKJPillDropdown/BKJPillDropdown.styled.js +79 -79
  591. package/lib/components/BKJPillDropdown/BKJPillDropdown.types.d.ts +47 -47
  592. package/lib/components/BKJPillDropdown/BKJPillDropdown.types.js +1 -1
  593. package/lib/components/BKJPillDropdown/index.d.ts +1 -1
  594. package/lib/components/BKJPillDropdown/index.js +1 -1
  595. package/lib/components/BKJPillSelect/BKJPillSelect.context.d.ts +4 -4
  596. package/lib/components/BKJPillSelect/BKJPillSelect.context.js +74 -74
  597. package/lib/components/BKJPillSelect/BKJPillSelect.d.ts +3 -3
  598. package/lib/components/BKJPillSelect/BKJPillSelect.js +35 -35
  599. package/lib/components/BKJPillSelect/BKJPillSelect.stories.d.ts +35 -35
  600. package/lib/components/BKJPillSelect/BKJPillSelect.stories.js +76 -76
  601. package/lib/components/BKJPillSelect/BKJPillSelect.styled.d.ts +16 -16
  602. package/lib/components/BKJPillSelect/BKJPillSelect.styled.js +80 -80
  603. package/lib/components/BKJPillSelect/BKJPillSelect.types.d.ts +47 -47
  604. package/lib/components/BKJPillSelect/BKJPillSelect.types.js +1 -1
  605. package/lib/components/BKJPillSelect/index.d.ts +1 -1
  606. package/lib/components/BKJPillSelect/index.js +1 -1
  607. package/lib/components/BKJPillTextArea/BKJPillTextArea.context.d.ts +4 -4
  608. package/lib/components/BKJPillTextArea/BKJPillTextArea.context.js +195 -195
  609. package/lib/components/BKJPillTextArea/BKJPillTextArea.d.ts +3 -3
  610. package/lib/components/BKJPillTextArea/BKJPillTextArea.js +37 -37
  611. package/lib/components/BKJPillTextArea/BKJPillTextArea.stories.d.ts +35 -35
  612. package/lib/components/BKJPillTextArea/BKJPillTextArea.stories.js +74 -74
  613. package/lib/components/BKJPillTextArea/BKJPillTextArea.styled.d.ts +18 -18
  614. package/lib/components/BKJPillTextArea/BKJPillTextArea.styled.js +69 -69
  615. package/lib/components/BKJPillTextArea/BKJPillTextArea.types.d.ts +51 -51
  616. package/lib/components/BKJPillTextArea/BKJPillTextArea.types.js +1 -1
  617. package/lib/components/BKJPillTextArea/index.d.ts +1 -1
  618. package/lib/components/BKJPillTextArea/index.js +1 -1
  619. package/lib/components/BKJSelect/BKJSelect.constants.d.ts +1 -1
  620. package/lib/components/BKJSelect/BKJSelect.constants.js +1 -1
  621. package/lib/components/BKJSelect/BKJSelect.d.ts +7 -7
  622. package/lib/components/BKJSelect/BKJSelect.d.ts.map +1 -1
  623. package/lib/components/BKJSelect/BKJSelect.js +176 -171
  624. package/lib/components/BKJSelect/BKJSelect.js.map +1 -1
  625. package/lib/components/BKJSelect/BKJSelect.stories.d.ts +10 -10
  626. package/lib/components/BKJSelect/BKJSelect.stories.d.ts.map +1 -1
  627. package/lib/components/BKJSelect/BKJSelect.stories.js +122 -125
  628. package/lib/components/BKJSelect/BKJSelect.stories.js.map +1 -1
  629. package/lib/components/BKJSelect/BKJSelect.styled.d.ts +25 -25
  630. package/lib/components/BKJSelect/BKJSelect.styled.d.ts.map +1 -1
  631. package/lib/components/BKJSelect/BKJSelect.styled.js +96 -95
  632. package/lib/components/BKJSelect/BKJSelect.styled.js.map +1 -1
  633. package/lib/components/BKJSelect/BKJSelect.theme.d.ts +2 -2
  634. package/lib/components/BKJSelect/BKJSelect.theme.js +232 -232
  635. package/lib/components/BKJSelect/BKJSelect.types.d.ts +134 -134
  636. package/lib/components/BKJSelect/BKJSelect.types.js +1 -1
  637. package/lib/components/BKJSelect/BKJSelect.utils.d.ts +26 -26
  638. package/lib/components/BKJSelect/BKJSelect.utils.js +40 -40
  639. package/lib/components/BKJSelect/index.d.ts +2 -2
  640. package/lib/components/BKJSelect/index.js +2 -2
  641. package/lib/components/BKJSelect/utils/deepEquals.d.ts +1 -1
  642. package/lib/components/BKJSelect/utils/deepEquals.js +2 -2
  643. package/lib/components/BKJSelect/utils/getDesignLibraryElementNode.d.ts +2 -2
  644. package/lib/components/BKJSelect/utils/getDesignLibraryElementNode.js +1 -1
  645. package/lib/components/BKJSelect/utils/mergeRefs.d.ts +1 -1
  646. package/lib/components/BKJSelect/utils/mergeRefs.js +12 -12
  647. package/lib/components/BKJSelectSearch/BKJSelectSearch.d.ts +9 -9
  648. package/lib/components/BKJSelectSearch/BKJSelectSearch.js +7 -7
  649. package/lib/components/BKJSelectSearch/BKJSelectSearch.styled.d.ts +3 -3
  650. package/lib/components/BKJSelectSearch/BKJSelectSearch.styled.js +38 -38
  651. package/lib/components/BKJSelectSearch/BKJSelectSearchControls.d.ts +9 -9
  652. package/lib/components/BKJSelectSearch/BKJSelectSearchControls.js +22 -22
  653. package/lib/components/BKJSelectSearch/BKJSelectSearchControls.js.map +1 -1
  654. package/lib/components/BKJSelectSearch/BKJSelectSearchControls.styled.d.ts +3 -3
  655. package/lib/components/BKJSelectSearch/BKJSelectSearchControls.styled.js +35 -35
  656. package/lib/components/BKJSelectSearch/index.d.ts +2 -2
  657. package/lib/components/BKJSelectSearch/index.js +2 -2
  658. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.d.ts +5 -5
  659. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.js +3 -3
  660. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.stories.d.ts +9 -9
  661. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.stories.js +12 -12
  662. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.styled.d.ts +2 -2
  663. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.styled.js +12 -12
  664. package/lib/components/BKJTableMainHeader/index.d.ts +2 -2
  665. package/lib/components/BKJTableMainHeader/index.js +2 -2
  666. package/lib/components/BKJTextArea/BKJTextArea.d.ts +3 -3
  667. package/lib/components/BKJTextArea/BKJTextArea.js +19 -19
  668. package/lib/components/BKJTextArea/BKJTextArea.stories.d.ts +37 -37
  669. package/lib/components/BKJTextArea/BKJTextArea.stories.js +43 -43
  670. package/lib/components/BKJTextArea/BKJTextArea.styled.d.ts +12 -12
  671. package/lib/components/BKJTextArea/BKJTextArea.styled.js +38 -38
  672. package/lib/components/BKJTextArea/BKJTextArea.types.d.ts +14 -14
  673. package/lib/components/BKJTextArea/BKJTextArea.types.js +1 -1
  674. package/lib/components/BKJTextArea/index.d.ts +2 -2
  675. package/lib/components/BKJTextArea/index.js +2 -2
  676. package/lib/components/BKJTextInput/BKJTextInput.css.styled.d.ts +1 -1
  677. package/lib/components/BKJTextInput/BKJTextInput.css.styled.js +21 -21
  678. package/lib/components/BKJTextInput/BKJTextInput.d.ts +3 -3
  679. package/lib/components/BKJTextInput/BKJTextInput.d.ts.map +1 -1
  680. package/lib/components/BKJTextInput/BKJTextInput.js +85 -82
  681. package/lib/components/BKJTextInput/BKJTextInput.js.map +1 -1
  682. package/lib/components/BKJTextInput/BKJTextInput.stories.d.ts +73 -73
  683. package/lib/components/BKJTextInput/BKJTextInput.stories.js +123 -123
  684. package/lib/components/BKJTextInput/BKJTextInput.styled.d.ts +14 -14
  685. package/lib/components/BKJTextInput/BKJTextInput.styled.js +71 -71
  686. package/lib/components/BKJTextInput/BKJTextInput.theme.d.ts +9 -9
  687. package/lib/components/BKJTextInput/BKJTextInput.theme.js +44 -44
  688. package/lib/components/BKJTextInput/BKJTextInput.types.d.ts +87 -87
  689. package/lib/components/BKJTextInput/BKJTextInput.types.js +1 -1
  690. package/lib/components/BKJTextInput/BKJTextInput.utils.d.ts +2 -2
  691. package/lib/components/BKJTextInput/BKJTextInput.utils.js +124 -124
  692. package/lib/components/BKJTextInput/index.d.ts +1 -1
  693. package/lib/components/BKJTextInput/index.js +1 -1
  694. package/lib/components/BKJToastMessage/BKJToastContainer.d.ts +2 -2
  695. package/lib/components/BKJToastMessage/BKJToastContainer.js +4 -4
  696. package/lib/components/BKJToastMessage/BKJToastMessage.d.ts +3 -3
  697. package/lib/components/BKJToastMessage/BKJToastMessage.js +13 -13
  698. package/lib/components/BKJToastMessage/BKJToastMessage.stories.d.ts +27 -27
  699. package/lib/components/BKJToastMessage/BKJToastMessage.stories.d.ts.map +1 -1
  700. package/lib/components/BKJToastMessage/BKJToastMessage.stories.js +32 -35
  701. package/lib/components/BKJToastMessage/BKJToastMessage.stories.js.map +1 -1
  702. package/lib/components/BKJToastMessage/BKJToastMessage.styled.d.ts +15 -15
  703. package/lib/components/BKJToastMessage/BKJToastMessage.styled.d.ts.map +1 -1
  704. package/lib/components/BKJToastMessage/BKJToastMessage.styled.js +121 -117
  705. package/lib/components/BKJToastMessage/BKJToastMessage.styled.js.map +1 -1
  706. package/lib/components/BKJToastMessage/BKJToastMessage.theme.d.ts +2 -2
  707. package/lib/components/BKJToastMessage/BKJToastMessage.theme.js +12 -12
  708. package/lib/components/BKJToastMessage/BKJToastMessage.types.d.ts +12 -12
  709. package/lib/components/BKJToastMessage/BKJToastMessage.types.js +1 -1
  710. package/lib/components/BKJToastMessage/BKJToastMessage.utils.d.ts +6 -6
  711. package/lib/components/BKJToastMessage/BKJToastMessage.utils.js +16 -16
  712. package/lib/components/BKJToastMessage/ToastErrorIcon.d.ts +3 -3
  713. package/lib/components/BKJToastMessage/ToastErrorIcon.js +11 -11
  714. package/lib/components/BKJToastMessage/ToastSuccessIcon.d.ts +3 -3
  715. package/lib/components/BKJToastMessage/ToastSuccessIcon.js +6 -6
  716. package/lib/components/BKJToastMessage/ToastWarnIcon.d.ts +3 -3
  717. package/lib/components/BKJToastMessage/ToastWarnIcon.js +7 -7
  718. package/lib/components/BKJToastMessage/index.d.ts +2 -2
  719. package/lib/components/BKJToastMessage/index.js +2 -2
  720. package/lib/components/BKJToggleInput/BKJToggleInput.constants.d.ts +3 -3
  721. package/lib/components/BKJToggleInput/BKJToggleInput.constants.js +58 -58
  722. package/lib/components/BKJToggleInput/BKJToggleInput.d.ts +3 -3
  723. package/lib/components/BKJToggleInput/BKJToggleInput.js +6 -6
  724. package/lib/components/BKJToggleInput/BKJToggleInput.stories.d.ts +58 -58
  725. package/lib/components/BKJToggleInput/BKJToggleInput.stories.js +74 -74
  726. package/lib/components/BKJToggleInput/BKJToggleInput.styled.d.ts +22 -22
  727. package/lib/components/BKJToggleInput/BKJToggleInput.styled.js +101 -101
  728. package/lib/components/BKJToggleInput/BKJToggleInput.theme.d.ts +2 -2
  729. package/lib/components/BKJToggleInput/BKJToggleInput.theme.js +8 -8
  730. package/lib/components/BKJToggleInput/BKJToggleInput.types.d.ts +22 -22
  731. package/lib/components/BKJToggleInput/BKJToggleInput.types.js +1 -1
  732. package/lib/components/BKJToggleInput/index.d.ts +2 -2
  733. package/lib/components/BKJToggleInput/index.js +2 -2
  734. package/lib/components/BKJTooltipWrapper/BKJTooltip.d.ts +6 -6
  735. package/lib/components/BKJTooltipWrapper/BKJTooltip.js +32 -32
  736. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.context.d.ts +4 -4
  737. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.context.js +21 -21
  738. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.d.ts +3 -3
  739. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.js +15 -15
  740. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.stories.d.ts +18 -18
  741. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.stories.js +31 -31
  742. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.styled.d.ts +10 -10
  743. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.styled.js +57 -57
  744. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.types.d.ts +12 -12
  745. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.types.js +1 -1
  746. package/lib/components/BKJTooltipWrapper/index.d.ts +1 -1
  747. package/lib/components/BKJTooltipWrapper/index.js +1 -1
  748. package/lib/components/BKJTypography/BKJTypography.d.ts +3 -3
  749. package/lib/components/BKJTypography/BKJTypography.js +6 -6
  750. package/lib/components/BKJTypography/BKJTypography.stories.d.ts +23 -23
  751. package/lib/components/BKJTypography/BKJTypography.stories.js +37 -37
  752. package/lib/components/BKJTypography/BKJTypography.styled.d.ts +10 -10
  753. package/lib/components/BKJTypography/BKJTypography.styled.js +24 -24
  754. package/lib/components/BKJTypography/BKJTypography.theme.d.ts +2 -2
  755. package/lib/components/BKJTypography/BKJTypography.theme.js +58 -58
  756. package/lib/components/BKJTypography/BKJTypography.types.d.ts +25 -25
  757. package/lib/components/BKJTypography/BKJTypography.types.js +1 -1
  758. package/lib/components/BKJTypography/index.d.ts +2 -2
  759. package/lib/components/BKJTypography/index.js +2 -2
  760. package/lib/components/ErrorBoundary/ErrorBoundary.d.ts +26 -26
  761. package/lib/components/ErrorBoundary/ErrorBoundary.js +25 -25
  762. package/lib/components/ErrorBoundary/index.d.ts +1 -1
  763. package/lib/components/ErrorBoundary/index.js +1 -1
  764. package/lib/components/Flex/Flex.d.ts +3 -3
  765. package/lib/components/Flex/Flex.js +7 -7
  766. package/lib/components/Flex/Flex.styled.d.ts +2 -2
  767. package/lib/components/Flex/Flex.styled.js +228 -228
  768. package/lib/components/Flex/Flex.types.d.ts +76 -76
  769. package/lib/components/Flex/Flex.types.js +1 -1
  770. package/lib/components/Flex/index.d.ts +2 -2
  771. package/lib/components/Flex/index.js +2 -2
  772. package/lib/components/GenericErrorMessage/GenericErrorMessage.d.ts +14 -14
  773. package/lib/components/GenericErrorMessage/GenericErrorMessage.js +26 -26
  774. package/lib/components/GenericErrorMessage/GenericErrorMessage.styled.d.ts +14 -14
  775. package/lib/components/GenericErrorMessage/GenericErrorMessage.styled.js +139 -139
  776. package/lib/components/GenericErrorMessage/index.d.ts +1 -1
  777. package/lib/components/GenericErrorMessage/index.js +1 -1
  778. package/lib/components/InfiniteScrollLoading/InfiniteScrollLoading.d.ts +7 -7
  779. package/lib/components/InfiniteScrollLoading/InfiniteScrollLoading.js +11 -11
  780. package/lib/components/InfiniteScrollLoading/InfiniteScrollLoading.styled.d.ts +1 -1
  781. package/lib/components/InfiniteScrollLoading/InfiniteScrollLoading.styled.js +2 -2
  782. package/lib/components/InfiniteScrollLoading/index.d.ts +1 -1
  783. package/lib/components/InfiniteScrollLoading/index.js +1 -1
  784. package/lib/components/MobileBKJDropdownMenu/MobileBKJDropdownMenu.d.ts +7 -0
  785. package/lib/components/MobileBKJDropdownMenu/MobileBKJDropdownMenu.d.ts.map +1 -0
  786. package/lib/components/MobileBKJDropdownMenu/MobileBKJDropdownMenu.js +80 -0
  787. package/lib/components/MobileBKJDropdownMenu/MobileBKJDropdownMenu.js.map +1 -0
  788. package/lib/components/MobileBKJDropdownMenu/MobileBKJDropdownMenu.stories.d.ts +10 -0
  789. package/lib/components/MobileBKJDropdownMenu/MobileBKJDropdownMenu.stories.d.ts.map +1 -0
  790. package/lib/components/MobileBKJDropdownMenu/MobileBKJDropdownMenu.stories.js +16 -0
  791. package/lib/components/MobileBKJDropdownMenu/MobileBKJDropdownMenu.stories.js.map +1 -0
  792. package/lib/components/MobileBKJDropdownMenu/index.d.ts +2 -0
  793. package/lib/components/MobileBKJDropdownMenu/index.d.ts.map +1 -0
  794. package/lib/components/MobileBKJDropdownMenu/index.js +2 -0
  795. package/lib/components/MobileBKJDropdownMenu/index.js.map +1 -0
  796. package/lib/components/Portal/Portal.d.ts +9 -9
  797. package/lib/components/Portal/Portal.js +27 -27
  798. package/lib/components/Portal/Portal.types.d.ts +3 -3
  799. package/lib/components/Portal/Portal.types.js +1 -1
  800. package/lib/components/common/InputBaseCSS/index.d.ts +11 -11
  801. package/lib/components/common/InputBaseCSS/index.js +82 -82
  802. package/lib/components/common/ListItemBaseCSS/index.d.ts +5 -5
  803. package/lib/components/common/ListItemBaseCSS/index.js +83 -83
  804. package/lib/components/common/index.d.ts +1 -1
  805. package/lib/components/common/index.js +1 -1
  806. package/lib/components/index.d.ts +44 -43
  807. package/lib/components/index.d.ts.map +1 -1
  808. package/lib/components/index.js +44 -43
  809. package/lib/components/index.js.map +1 -1
  810. package/lib/hooks/index.d.ts +5 -5
  811. package/lib/hooks/index.js +5 -5
  812. package/lib/hooks/useClickOutside.d.ts +1 -1
  813. package/lib/hooks/useClickOutside.js +20 -20
  814. package/lib/hooks/useDebouncedCallback/index.d.ts +1 -1
  815. package/lib/hooks/useDebouncedCallback/index.js +1 -1
  816. package/lib/hooks/useDebouncedCallback/useDebouncedCallback.d.ts +2 -2
  817. package/lib/hooks/useDebouncedCallback/useDebouncedCallback.js +9 -9
  818. package/lib/hooks/useDimensionsRef/index.d.ts +1 -1
  819. package/lib/hooks/useDimensionsRef/index.js +1 -1
  820. package/lib/hooks/useDimensionsRef/useDimensionRef.types.d.ts +8 -8
  821. package/lib/hooks/useDimensionsRef/useDimensionRef.types.js +1 -1
  822. package/lib/hooks/useDimensionsRef/useDimensionsRef.d.ts +2 -2
  823. package/lib/hooks/useDimensionsRef/useDimensionsRef.js +26 -26
  824. package/lib/hooks/useFormBehaviors/index.d.ts +2 -2
  825. package/lib/hooks/useFormBehaviors/index.js +2 -2
  826. package/lib/hooks/useFormBehaviors/useFormBehaviors.constants.d.ts +1 -1
  827. package/lib/hooks/useFormBehaviors/useFormBehaviors.constants.js +1 -1
  828. package/lib/hooks/useFormBehaviors/useFormBehaviors.d.ts +6 -6
  829. package/lib/hooks/useFormBehaviors/useFormBehaviors.js +198 -198
  830. package/lib/hooks/useFormBehaviors/useFormBehaviors.types.d.ts +45 -45
  831. package/lib/hooks/useFormBehaviors/useFormBehaviors.types.js +8 -8
  832. package/lib/hooks/useFormBehaviors/useFormBehaviors.utils.d.ts +5 -5
  833. package/lib/hooks/useFormBehaviors/useFormBehaviors.utils.js +19 -19
  834. package/lib/hooks/useIntersectionObserver/index.d.ts +1 -1
  835. package/lib/hooks/useIntersectionObserver/index.js +1 -1
  836. package/lib/hooks/useIntersectionObserver/useIntersectionObserver.d.ts +2 -2
  837. package/lib/hooks/useIntersectionObserver/useIntersectionObserver.js +26 -26
  838. package/lib/hooks/useMouseOutside.d.ts +1 -1
  839. package/lib/hooks/useMouseOutside.js +20 -20
  840. package/lib/hooks/usePersistentState/index.d.ts +1 -1
  841. package/lib/hooks/usePersistentState/index.js +1 -1
  842. package/lib/hooks/usePersistentState/usePersistentState.d.ts +2 -2
  843. package/lib/hooks/usePersistentState/usePersistentState.js +29 -29
  844. package/lib/hooks/usePortalTargetElement.d.ts +2 -2
  845. package/lib/hooks/usePortalTargetElement.js +14 -14
  846. package/lib/hooks/useScrollIntoView.d.ts +2 -2
  847. package/lib/hooks/useScrollIntoView.js +9 -9
  848. package/lib/index.d.ts +3 -2
  849. package/lib/index.d.ts.map +1 -1
  850. package/lib/index.js +3 -2
  851. package/lib/index.js.map +1 -1
  852. package/lib/locales/en/en_US.json +7 -0
  853. package/lib/locales/fr/fr-CA.json +7 -0
  854. package/lib/locales/locales.types.d.ts +3 -0
  855. package/lib/locales/locales.types.d.ts.map +1 -0
  856. package/lib/locales/locales.types.js +2 -0
  857. package/lib/locales/locales.types.js.map +1 -0
  858. package/lib/providers/BKJThemeProvider/BKJColors.d.ts +56 -56
  859. package/lib/providers/BKJThemeProvider/BKJColors.js +56 -56
  860. package/lib/providers/BKJThemeProvider/BKJThemeProvider.d.ts +3 -3
  861. package/lib/providers/BKJThemeProvider/BKJThemeProvider.js +6 -6
  862. package/lib/providers/BKJThemeProvider/BKJThemeProvider.styled.d.ts +2 -2
  863. package/lib/providers/BKJThemeProvider/BKJThemeProvider.styled.js +148 -148
  864. package/lib/providers/BKJThemeProvider/BKJThemeProvider.theme.d.ts +10 -10
  865. package/lib/providers/BKJThemeProvider/BKJThemeProvider.theme.js +220 -220
  866. package/lib/providers/BKJThemeProvider/BKJThemeProvider.types.d.ts +223 -223
  867. package/lib/providers/BKJThemeProvider/BKJThemeProvider.types.js +9 -9
  868. package/lib/providers/BKJThemeProvider/index.d.ts +3 -3
  869. package/lib/providers/BKJThemeProvider/index.js +3 -3
  870. package/lib/providers/I18NextProvider.d.ts +3 -0
  871. package/lib/providers/I18NextProvider.d.ts.map +1 -0
  872. package/lib/providers/I18NextProvider.js +28 -0
  873. package/lib/providers/I18NextProvider.js.map +1 -0
  874. package/lib/providers/index.d.ts +1 -1
  875. package/lib/providers/index.js +1 -1
  876. package/lib/utils/deepEquals.d.ts +1 -1
  877. package/lib/utils/deepEquals.js +2 -2
  878. package/lib/utils/findValueByKey.d.ts +1 -1
  879. package/lib/utils/findValueByKey.js +8 -8
  880. package/lib/utils/isEmpty.d.ts +1 -1
  881. package/lib/utils/isEmpty.js +8 -8
  882. package/lib/utils/maskFloat.d.ts +1 -1
  883. package/lib/utils/maskFloat.js +8 -8
  884. package/lib/utils/serialize.d.ts +2 -2
  885. package/lib/utils/serialize.js +2 -2
  886. package/lib/utils/withMemo.d.ts +1 -1
  887. package/lib/utils/withMemo.js +5 -5
  888. package/package.json +193 -191
  889. /package/{LICENSE → LICENSE.txt} +0 -0
@@ -1,27 +1,27 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Fragment } from 'react';
3
- import { SadJaneIcon } from '../../assets/SadJaneIcon.js';
4
- import { GenericErrorMessageText, GenericErrorMessageWrapper } from './GenericErrorMessage.styled.js';
5
- export const isEnvDevelopment = [
6
- 'development',
7
- 'sandbox1',
8
- 'e2etest',
9
- 'sandbox2',
10
- 'sandbox3',
11
- 'sandbox4',
12
- 'sandbox5',
13
- 'sandbox6',
14
- 'sandbox7',
15
- 'sandbox8',
16
- 'sandbox9',
17
- 'tobox',
18
- 'tobox2',
19
- 'tobox3',
20
- ].includes(process.env['REACT_APP_BKJ_ENVIRONMENT'] || 'default');
21
- export function GenericErrorMessage({ errorMessage, size = 'Small', width = '100%', height = '100%', direction = 'column', suppressMessage = false, isStyled = false, showLogo = true, ...rest }) {
22
- return (_jsx(GenericErrorMessageWrapper, Object.assign({ isStyled: isStyled, size: size, width: width, height: height, direction: direction }, rest, { children: !suppressMessage && (_jsxs(Fragment, { children: [showLogo && _jsx(SadJaneIcon, { size: size, direction: direction }, void 0),
23
- (process.env.NODE_ENV === 'development' || isEnvDevelopment) && errorMessage && (_jsx(GenericErrorMessageText, Object.assign({ size: size, direction: direction }, { children: errorMessage }), void 0)),
24
- process.env.NODE_ENV === 'production' && errorMessage && (_jsxs(Fragment, { children: [_jsx(GenericErrorMessageText, Object.assign({ size: size, direction: direction }, { children: "Oops! Something went wrong" }), void 0),
25
- _jsx(GenericErrorMessageText, Object.assign({ size: size, direction: direction }, { children: "Try refreshing the browser" }), void 0)] }, void 0))] }, void 0)) }), void 0));
26
- }
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Fragment } from 'react';
3
+ import { SadJaneIcon } from '../../assets/SadJaneIcon.js';
4
+ import { GenericErrorMessageText, GenericErrorMessageWrapper } from './GenericErrorMessage.styled.js';
5
+ export const isEnvDevelopment = [
6
+ 'development',
7
+ 'sandbox1',
8
+ 'e2etest',
9
+ 'sandbox2',
10
+ 'sandbox3',
11
+ 'sandbox4',
12
+ 'sandbox5',
13
+ 'sandbox6',
14
+ 'sandbox7',
15
+ 'sandbox8',
16
+ 'sandbox9',
17
+ 'tobox',
18
+ 'tobox2',
19
+ 'tobox3',
20
+ ].includes(process.env['REACT_APP_BKJ_ENVIRONMENT'] || 'default');
21
+ export function GenericErrorMessage({ errorMessage, size = 'Small', width = '100%', height = '100%', direction = 'column', suppressMessage = false, isStyled = false, showLogo = true, ...rest }) {
22
+ return (_jsx(GenericErrorMessageWrapper, Object.assign({ isStyled: isStyled, size: size, width: width, height: height, direction: direction }, rest, { children: !suppressMessage && (_jsxs(Fragment, { children: [showLogo && _jsx(SadJaneIcon, { size: size, direction: direction }, void 0),
23
+ (process.env.NODE_ENV === 'development' || isEnvDevelopment) && errorMessage && (_jsx(GenericErrorMessageText, Object.assign({ size: size, direction: direction }, { children: errorMessage }), void 0)),
24
+ process.env.NODE_ENV === 'production' && errorMessage && (_jsxs(Fragment, { children: [_jsx(GenericErrorMessageText, Object.assign({ size: size, direction: direction }, { children: "Oops! Something went wrong" }), void 0),
25
+ _jsx(GenericErrorMessageText, Object.assign({ size: size, direction: direction }, { children: "Try refreshing the browser" }), void 0)] }, void 0))] }, void 0)) }), void 0));
26
+ }
27
27
  //# sourceMappingURL=GenericErrorMessage.js.map
@@ -1,15 +1,15 @@
1
- interface IMessageTextProps {
2
- size: 'Small' | 'Medium' | 'Large';
3
- direction: 'column' | 'row';
4
- }
5
- export declare const GenericErrorMessageText: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, IMessageTextProps, never>;
6
- interface IMessageProps {
7
- height?: string;
8
- width?: string;
9
- size: 'Small' | 'Medium' | 'Large';
10
- direction: 'column' | 'row';
11
- isStyled: boolean;
12
- }
13
- export declare const GenericErrorMessageWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IMessageProps, never>;
14
- export {};
1
+ interface IMessageTextProps {
2
+ size: 'Small' | 'Medium' | 'Large';
3
+ direction: 'column' | 'row';
4
+ }
5
+ export declare const GenericErrorMessageText: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, IMessageTextProps, never>;
6
+ interface IMessageProps {
7
+ height?: string;
8
+ width?: string;
9
+ size: 'Small' | 'Medium' | 'Large';
10
+ direction: 'column' | 'row';
11
+ isStyled: boolean;
12
+ }
13
+ export declare const GenericErrorMessageWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IMessageProps, never>;
14
+ export {};
15
15
  //# sourceMappingURL=GenericErrorMessage.styled.d.ts.map
@@ -1,140 +1,140 @@
1
- import styled, { css } from 'styled-components';
2
- export const GenericErrorMessageText = styled.span `
3
- text-align: center;
4
- overflow: hidden;
5
- width: 100%;
6
- ${({ theme }) => theme.common.Ellipsis};
7
- ${({ size, direction }) => {
8
- if (direction === 'column') {
9
- switch (size) {
10
- case 'Small':
11
- return css `
12
- padding: 0px 20px 15px;
13
- `;
14
- case 'Medium':
15
- return css `
16
- padding: 0px 25px 15px;
17
- `;
18
- case 'Large':
19
- default:
20
- return css `
21
- padding: 0px 25px 15px;
22
- `;
23
- }
24
- }
25
- else if (direction === 'row') {
26
- switch (size) {
27
- case 'Small':
28
- return css ``;
29
- case 'Medium':
30
- return css ``;
31
- case 'Large':
32
- default:
33
- return css `
34
- text-align: left;
35
- position: absolute;
36
- top: 50%;
37
- left: 50%;
38
- padding-left: 40px;
39
- transform: translate(-50%, -50%);
40
- `;
41
- }
42
- }
43
- return '';
44
- }}
45
-
46
- ${({ direction }) => direction === 'column' &&
47
- css `
48
- justify-content: center;
49
- text-align: center;
50
- `}
51
- `;
52
- export const GenericErrorMessageWrapper = styled.div `
53
- position: relative;
54
- overflow: hidden;
55
- display: flex;
56
- align-items: center;
57
- border-radius: 8px;
58
-
59
- ${({ theme }) => theme.fonts.PoppinsText};
60
-
61
- ${({ isStyled }) => isStyled &&
62
- css `
63
- background-color: ${({ theme }) => theme.colors.OtherDraftHover};
64
- color: ${({ theme }) => theme.colors.TextHighlight1};
65
- border: 1px solid ${({ theme }) => theme.colors.TextHighlight2};
66
- `}
67
- ${({ direction }) => direction === 'column' &&
68
- css `
69
- justify-content: center;
70
- `}
71
- ${({ theme }) => theme.common.Ellipsis};
72
- ${({ size, direction }) => {
73
- if (direction === 'row') {
74
- switch (size) {
75
- case 'Small':
76
- return css `
77
- padding: 10px 14px 10px 10px;
78
- font-size: 12px;
79
- line-height: 16px;
80
- `;
81
- case 'Medium':
82
- return css `
83
- padding: 10px 20px 10px 10px;
84
- font-size: 14px;
85
- line-height: 22px;
86
- `;
87
- case 'Large':
88
- default:
89
- return css `
90
- padding: 10px 20px 10px 10px;
91
- font-size: 16px;
92
- line-height: 24px;
93
- `;
94
- }
95
- }
96
- else if (direction === 'column') {
97
- switch (size) {
98
- case 'Small':
99
- return css `
100
- padding: 10px 14px 10px 10px;
101
- font-size: 12px;
102
- line-height: 20px;
103
- `;
104
- case 'Medium':
105
- return css `
106
- padding: 10px 14px 10px 10px;
107
- font-size: 14px;
108
- line-height: 22px;
109
- `;
110
- case 'Large':
111
- default:
112
- return css `
113
- padding: 10px 14px 10px 10px;
114
- font-size: 16px;
115
- line-height: 24px;
116
- `;
117
- }
118
- }
119
- return '';
120
- }};
121
-
122
- ${({ height }) => height &&
123
- css `
124
- height: ${height};
125
- max-height: ${height};
126
- min-height: ${height};
127
- `};
128
-
129
- ${({ width }) => width &&
130
- css `
131
- width: ${width};
132
- max-width: ${width};
133
- min-width: ${width};
134
- `};
135
- ${({ direction }) => direction &&
136
- css `
137
- flex-direction: ${direction};
138
- `};
139
- `;
1
+ import styled, { css } from 'styled-components';
2
+ export const GenericErrorMessageText = styled.span `
3
+ text-align: center;
4
+ overflow: hidden;
5
+ width: 100%;
6
+ ${({ theme }) => theme.common.Ellipsis};
7
+ ${({ size, direction }) => {
8
+ if (direction === 'column') {
9
+ switch (size) {
10
+ case 'Small':
11
+ return css `
12
+ padding: 0px 20px 15px;
13
+ `;
14
+ case 'Medium':
15
+ return css `
16
+ padding: 0px 25px 15px;
17
+ `;
18
+ case 'Large':
19
+ default:
20
+ return css `
21
+ padding: 0px 25px 15px;
22
+ `;
23
+ }
24
+ }
25
+ else if (direction === 'row') {
26
+ switch (size) {
27
+ case 'Small':
28
+ return css ``;
29
+ case 'Medium':
30
+ return css ``;
31
+ case 'Large':
32
+ default:
33
+ return css `
34
+ text-align: left;
35
+ position: absolute;
36
+ top: 50%;
37
+ left: 50%;
38
+ padding-left: 40px;
39
+ transform: translate(-50%, -50%);
40
+ `;
41
+ }
42
+ }
43
+ return '';
44
+ }}
45
+
46
+ ${({ direction }) => direction === 'column' &&
47
+ css `
48
+ justify-content: center;
49
+ text-align: center;
50
+ `}
51
+ `;
52
+ export const GenericErrorMessageWrapper = styled.div `
53
+ position: relative;
54
+ overflow: hidden;
55
+ display: flex;
56
+ align-items: center;
57
+ border-radius: 8px;
58
+
59
+ ${({ theme }) => theme.fonts.PoppinsText};
60
+
61
+ ${({ isStyled }) => isStyled &&
62
+ css `
63
+ background-color: ${({ theme }) => theme.colors.OtherDraftHover};
64
+ color: ${({ theme }) => theme.colors.TextHighlight1};
65
+ border: 1px solid ${({ theme }) => theme.colors.TextHighlight2};
66
+ `}
67
+ ${({ direction }) => direction === 'column' &&
68
+ css `
69
+ justify-content: center;
70
+ `}
71
+ ${({ theme }) => theme.common.Ellipsis};
72
+ ${({ size, direction }) => {
73
+ if (direction === 'row') {
74
+ switch (size) {
75
+ case 'Small':
76
+ return css `
77
+ padding: 10px 14px 10px 10px;
78
+ font-size: 12px;
79
+ line-height: 16px;
80
+ `;
81
+ case 'Medium':
82
+ return css `
83
+ padding: 10px 20px 10px 10px;
84
+ font-size: 14px;
85
+ line-height: 22px;
86
+ `;
87
+ case 'Large':
88
+ default:
89
+ return css `
90
+ padding: 10px 20px 10px 10px;
91
+ font-size: 16px;
92
+ line-height: 24px;
93
+ `;
94
+ }
95
+ }
96
+ else if (direction === 'column') {
97
+ switch (size) {
98
+ case 'Small':
99
+ return css `
100
+ padding: 10px 14px 10px 10px;
101
+ font-size: 12px;
102
+ line-height: 20px;
103
+ `;
104
+ case 'Medium':
105
+ return css `
106
+ padding: 10px 14px 10px 10px;
107
+ font-size: 14px;
108
+ line-height: 22px;
109
+ `;
110
+ case 'Large':
111
+ default:
112
+ return css `
113
+ padding: 10px 14px 10px 10px;
114
+ font-size: 16px;
115
+ line-height: 24px;
116
+ `;
117
+ }
118
+ }
119
+ return '';
120
+ }};
121
+
122
+ ${({ height }) => height &&
123
+ css `
124
+ height: ${height};
125
+ max-height: ${height};
126
+ min-height: ${height};
127
+ `};
128
+
129
+ ${({ width }) => width &&
130
+ css `
131
+ width: ${width};
132
+ max-width: ${width};
133
+ min-width: ${width};
134
+ `};
135
+ ${({ direction }) => direction &&
136
+ css `
137
+ flex-direction: ${direction};
138
+ `};
139
+ `;
140
140
  //# sourceMappingURL=GenericErrorMessage.styled.js.map
@@ -1,2 +1,2 @@
1
- export * from './GenericErrorMessage.js';
1
+ export * from './GenericErrorMessage.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export * from './GenericErrorMessage.js';
1
+ export * from './GenericErrorMessage.js';
2
2
  //# sourceMappingURL=index.js.map
@@ -1,8 +1,8 @@
1
- import { HTMLAttributes } from 'react';
2
- import { IBKJComboBoxAsyncOption } from '../BKJComboBoxAsync/BKJComboBoxAsync.types.js';
3
- interface IInfiniteScrollLoading extends IBKJComboBoxAsyncOption, Omit<HTMLAttributes<HTMLDivElement>, 'id'> {
4
- onViewportEnter: () => void;
5
- }
6
- export declare const InfiniteScrollLoading: import("react").ForwardRefExoticComponent<IInfiniteScrollLoading & import("react").RefAttributes<HTMLElement>>;
7
- export {};
1
+ import { HTMLAttributes } from 'react';
2
+ import { IBKJComboBoxAsyncOption } from '../BKJComboBoxAsync/BKJComboBoxAsync.types.js';
3
+ interface IInfiniteScrollLoading extends IBKJComboBoxAsyncOption, Omit<HTMLAttributes<HTMLDivElement>, 'id'> {
4
+ onViewportEnter: () => void;
5
+ }
6
+ export declare const InfiniteScrollLoading: import("react").ForwardRefExoticComponent<IInfiniteScrollLoading & import("react").RefAttributes<HTMLElement>>;
7
+ export {};
8
8
  //# sourceMappingURL=InfiniteScrollLoading.d.ts.map
@@ -1,12 +1,12 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { forwardRef } from 'react';
3
- import { useIntersectionObserver } from '../../hooks/useIntersectionObserver/index.js';
4
- import { BKJLoadingSpinner } from '../BKJLoadingSpinner/index.js';
5
- import { mergeRefs } from '../BKJSelect/utils/mergeRefs.js';
6
- import { InfiniteScrollLoadingWrapper } from './InfiniteScrollLoading.styled.js';
7
- export const InfiniteScrollLoading = forwardRef((props, forwardedRef) => {
8
- const { onViewportEnter, id, ...rest } = props;
9
- const ref = useIntersectionObserver(onViewportEnter);
10
- return (_jsx(InfiniteScrollLoadingWrapper, Object.assign({}, rest, { id: String(id), ref: mergeRefs([ref, forwardedRef]) }, { children: _jsx(BKJLoadingSpinner, { variant: "Small" }, void 0) }), void 0));
11
- });
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { forwardRef } from 'react';
3
+ import { useIntersectionObserver } from '../../hooks/useIntersectionObserver/index.js';
4
+ import { BKJLoadingSpinner } from '../BKJLoadingSpinner/index.js';
5
+ import { mergeRefs } from '../BKJSelect/utils/mergeRefs.js';
6
+ import { InfiniteScrollLoadingWrapper } from './InfiniteScrollLoading.styled.js';
7
+ export const InfiniteScrollLoading = forwardRef((props, forwardedRef) => {
8
+ const { onViewportEnter, id, ...rest } = props;
9
+ const ref = useIntersectionObserver(onViewportEnter);
10
+ return (_jsx(InfiniteScrollLoadingWrapper, Object.assign({}, rest, { id: String(id), ref: mergeRefs([ref, forwardedRef]) }, { children: _jsx(BKJLoadingSpinner, { variant: "Small" }, void 0) }), void 0));
11
+ });
12
12
  //# sourceMappingURL=InfiniteScrollLoading.js.map
@@ -1,2 +1,2 @@
1
- export declare const InfiniteScrollLoadingWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
1
+ export declare const InfiniteScrollLoadingWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
2
  //# sourceMappingURL=InfiniteScrollLoading.styled.d.ts.map
@@ -1,4 +1,4 @@
1
- import styled from 'styled-components';
1
+ import styled from 'styled-components';
2
2
  export const InfiniteScrollLoadingWrapper = styled.div `
3
3
  color: ${({ theme }) => theme.colors.PrimaryDefault};
4
4
  background: none;
@@ -8,5 +8,5 @@ export const InfiniteScrollLoadingWrapper = styled.div `
8
8
  display: flex;
9
9
  justify-content: center;
10
10
  align-items: center;
11
- `;
11
+ `;
12
12
  //# sourceMappingURL=InfiniteScrollLoading.styled.js.map
@@ -1,2 +1,2 @@
1
- export * from './InfiniteScrollLoading.js';
1
+ export * from './InfiniteScrollLoading.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export * from './InfiniteScrollLoading.js';
1
+ export * from './InfiniteScrollLoading.js';
2
2
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ import { IBKJButtonProps } from '../BKJButton/BKJButton.types.js';
2
+ import { FC } from 'react';
3
+ export declare type IBKJDropdownMenuProps = IBKJButtonProps & {
4
+ label: string;
5
+ };
6
+ export declare const MobileBKJDropdownMenu: FC<IBKJDropdownMenuProps>;
7
+ //# sourceMappingURL=MobileBKJDropdownMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MobileBKJDropdownMenu.d.ts","sourceRoot":"","sources":["../../../src/components/MobileBKJDropdownMenu/MobileBKJDropdownMenu.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAKvE,OAAO,EAAE,EAAE,EAA+D,MAAM,OAAO,CAAC;AAKxF,oBAAY,qBAAqB,GAAG,eAAe,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAExE,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,qBAAqB,CA8G3D,CAAC"}
@@ -0,0 +1,80 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { BKJButton } from '../BKJButton/index.js';
3
+ import { getDesignLibraryElementNode } from '../BKJSelect/utils/getDesignLibraryElementNode.js';
4
+ import { mergeRefs } from '../BKJSelect/utils/mergeRefs.js';
5
+ import { Portal } from '../Portal/Portal.js';
6
+ import { useClickOutside } from '../../hooks/index.js';
7
+ import { Fragment, useCallback, useEffect, useMemo, useRef, useState } from 'react';
8
+ import { usePopper } from 'react-popper';
9
+ import { BKJIcon } from '../index.js';
10
+ import { BKJDropdownMenuWrapper } from '../BKJDropdownMenu/BKJDropdownMenu.styled.js';
11
+ export const MobileBKJDropdownMenu = ({ children, label, ...buttonProps }) => {
12
+ const [isOpen, setOpen] = useState(false);
13
+ const buttonRef = useRef();
14
+ const dropdownRef = useRef();
15
+ const [buttonElement, setButtonElement] = useState();
16
+ const [dropdownElement, setDropdownElement] = useState();
17
+ const [targetElement, setTargetElement] = useState(getDesignLibraryElementNode('dropdown-root'));
18
+ const handleClose = useCallback((event) => {
19
+ if (buttonRef?.current && !buttonRef?.current.contains(event.target)) {
20
+ if (dropdownRef?.current && !dropdownRef?.current.contains(event.target)) {
21
+ setOpen(false);
22
+ }
23
+ }
24
+ }, []);
25
+ useClickOutside([buttonRef && buttonRef.current, dropdownRef && dropdownRef.current, dropdownElement], handleClose);
26
+ useEffect(() => {
27
+ if (!targetElement) {
28
+ const element = document.createElement('div');
29
+ element.setAttribute('id', 'dropdown-root');
30
+ document.body.prepend(element);
31
+ setTargetElement(element);
32
+ }
33
+ // eslint-disable-next-line react-hooks/exhaustive-deps
34
+ }, []);
35
+ const modifiers = useMemo(() => {
36
+ return [
37
+ {
38
+ name: 'offset',
39
+ options: {
40
+ offset: () => [0, 0],
41
+ },
42
+ },
43
+ {
44
+ name: 'sameWidth',
45
+ enabled: !buttonProps.width,
46
+ phase: 'beforeWrite',
47
+ requires: ['computeStyles'],
48
+ fn({ state }) {
49
+ if (buttonProps.width)
50
+ return void 0;
51
+ state.styles.popper.minWidth = `${state.rects.reference.width}px`;
52
+ state.styles.popper.maxWidth = `${state.rects.reference.width}px`;
53
+ },
54
+ effect({ state }) {
55
+ if (buttonProps.width)
56
+ return void 0;
57
+ state.elements.popper.style.minWidth = `${state.elements.reference.offsetWidth}px`;
58
+ state.elements.popper.style.maxWidth = `${state.elements.reference.offsetWidth}px`;
59
+ },
60
+ },
61
+ ];
62
+ }, []); // eslint-disable-line
63
+ const { styles, attributes } = usePopper(buttonElement, dropdownElement, {
64
+ modifiers,
65
+ });
66
+ const popperStyles = useMemo(() => ({
67
+ ...styles['popper'],
68
+ maxHeight: 'auto',
69
+ height: 'auto',
70
+ minHeight: 'auto',
71
+ }), [styles]);
72
+ const popperProps = useMemo(() => ({
73
+ style: popperStyles,
74
+ ...attributes['popper'],
75
+ }), [attributes, popperStyles]);
76
+ return (_jsxs(Fragment, { children: [_jsxs(BKJButton, Object.assign({}, buttonProps, { ref: mergeRefs([buttonRef, setButtonElement]), onClick: () => setOpen(!isOpen) }, { children: [_jsx("div", { children: label }, void 0),
77
+ _jsx(BKJIcon, { color: "White", iconName: isOpen ? 'ArrowUp' : 'ArrowDown' }, void 0)] }), void 0),
78
+ isOpen && targetElement && (_jsx(Portal, Object.assign({ targetElement: targetElement }, { children: _jsx(BKJDropdownMenuWrapper, Object.assign({}, popperProps, { ref: mergeRefs([dropdownRef, setDropdownElement]), onClick: () => setOpen(false) }, { children: children }), void 0) }), void 0))] }, void 0));
79
+ };
80
+ //# sourceMappingURL=MobileBKJDropdownMenu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MobileBKJDropdownMenu.js","sourceRoot":"","sources":["../../../src/components/MobileBKJDropdownMenu/MobileBKJDropdownMenu.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,EAAE,2BAA2B,EAAE,MAAM,wDAAwD,CAAC;AACrG,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAM,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxF,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAI3F,MAAM,CAAC,MAAM,qBAAqB,GAA8B,CAAC,EAC/D,QAAQ,EACR,KAAK,EACL,GAAG,WAAW,EACf,EAAE,EAAE;IACH,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAU,KAAK,CAAC,CAAC;IAEnD,MAAM,SAAS,GAAG,MAAM,EAAO,CAAC;IAChC,MAAM,WAAW,GAAG,MAAM,EAAO,CAAC;IAClC,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,QAAQ,EAAO,CAAC;IAC1D,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,EAAO,CAAC;IAC9D,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,QAAQ,CAChD,2BAA2B,CAAC,eAAe,CAAC,CAC7C,CAAC;IAEF,MAAM,WAAW,GAAG,WAAW,CAAC,CAAC,KAAU,EAAQ,EAAE;QACnD,IAAI,SAAS,EAAE,OAAO,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;YACpE,IAAI,WAAW,EAAE,OAAO,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;gBACxE,OAAO,CAAC,KAAK,CAAC,CAAC;aAChB;SACF;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,eAAe,CACb,CAAC,SAAS,IAAI,SAAS,CAAC,OAAO,EAAE,WAAW,IAAI,WAAW,CAAC,OAAO,EAAE,eAAe,CAAC,EACrF,WAAW,CACZ,CAAC;IAEF,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,CAAC,aAAa,EAAE;YAClB,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;YAC9C,OAAO,CAAC,YAAY,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC;YAC5C,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YAC/B,gBAAgB,CAAC,OAAO,CAAC,CAAC;SAC3B;QACD,uDAAuD;IACzD,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,EAAE;QAC7B,OAAO;YACL;gBACE,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE;oBACP,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;iBACrB;aACF;YACD;gBACE,IAAI,EAAE,WAAW;gBACjB,OAAO,EAAE,CAAC,WAAW,CAAC,KAAK;gBAC3B,KAAK,EAAE,aAA+B;gBACtC,QAAQ,EAAE,CAAC,eAAe,CAAC;gBAC3B,EAAE,CAAC,EAAE,KAAK,EAAO;oBACf,IAAI,WAAW,CAAC,KAAK;wBAAE,OAAO,KAAK,CAAC,CAAC;oBACrC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,GAAG,GAAG,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC;oBAClE,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,GAAG,GAAG,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC;gBACpE,CAAC;gBACD,MAAM,CAAC,EAAE,KAAK,EAAO;oBACnB,IAAI,WAAW,CAAC,KAAK;wBAAE,OAAO,KAAK,CAAC,CAAC;oBACrC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,GAAG,GAAG,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW,IAAI,CAAC;oBACnF,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,GAAG,GAAG,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW,IAAI,CAAC;gBACrF,CAAC;aACF;SACF,CAAC;IACJ,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,sBAAsB;IAE9B,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,SAAS,CAAC,aAAa,EAAE,eAAe,EAAE;QACvE,SAAS;KACV,CAAC,CAAC;IAEH,MAAM,YAAY,GAAG,OAAO,CAC1B,GAAG,EAAE,CAAC,CAAC;QACL,GAAG,MAAM,CAAC,QAAQ,CAAC;QACnB,SAAS,EAAE,MAAM;QACjB,MAAM,EAAE,MAAM;QACd,SAAS,EAAE,MAAM;KAClB,CAAC,EACF,CAAC,MAAM,CAAC,CACT,CAAC;IAEF,MAAM,WAAW,GAAG,OAAO,CACzB,GAAG,EAAE,CAAC,CAAC;QACL,KAAK,EAAE,YAAY;QACnB,GAAI,UAAU,CAAC,QAAQ,CAAS;KACjC,CAAC,EACF,CAAC,UAAU,EAAE,YAAY,CAAC,CAC3B,CAAC;IAEF,OAAO,CACL,MAAC,QAAQ,eACP,MAAC,SAAS,oBACJ,WAAW,IACf,GAAG,EAAE,SAAS,CAAC,CAAC,SAAS,EAAE,gBAAgB,CAAC,CAAC,EAC7C,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,iBAE/B,wBAAM,KAAK,WAAO;oBAClB,KAAC,OAAO,IAAC,KAAK,EAAC,OAAO,EAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,WAAI,aAC3D;YACX,MAAM,IAAI,aAAa,IAAI,CAC1B,KAAC,MAAM,kBAAC,aAAa,EAAE,aAAa,gBAClC,KAAC,sBAAsB,oBACjB,WAAW,IACf,GAAG,EAAE,SAAS,CAAC,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAAC,EACjD,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,gBAE5B,QAAQ,YACc,YAClB,CACV,YACQ,CACZ,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import { Story } from '@storybook/react';
3
+ import { IBKJDropdownMenuProps } from './MobileBKJDropdownMenu.js';
4
+ declare const _default: {
5
+ title: string;
6
+ component: import("react").FC<IBKJDropdownMenuProps>;
7
+ };
8
+ export default _default;
9
+ export declare const Default: Story<IBKJDropdownMenuProps>;
10
+ //# sourceMappingURL=MobileBKJDropdownMenu.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MobileBKJDropdownMenu.stories.d.ts","sourceRoot":"","sources":["../../../src/components/MobileBKJDropdownMenu/MobileBKJDropdownMenu.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEzC,OAAO,EAAyB,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;;;;;AAEvF,wBAGE;AA6EF,eAAO,MAAM,OAAO,8BAAyC,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { BKJMenuItem, Flex } from '../index.js';
3
+ import { MobileBKJDropdownMenu } from './MobileBKJDropdownMenu.js';
4
+ export default {
5
+ title: 'Basic Elements/MobileBKJDropdownMenu',
6
+ component: MobileBKJDropdownMenu,
7
+ };
8
+ const MobileBKJDropdownMenuTemplate = () => (_jsxs(Flex, Object.assign({ height: "500px", flexDirection: "column" }, { children: [_jsxs(MobileBKJDropdownMenu, Object.assign({ width: "207px", variant: "PurpleSolid", label: "Invite Members" }, { children: [_jsx(BKJMenuItem, Object.assign({ borderRadius: "14px 14px 0 0", width: "207px", onClick: () => console.log('Invite via Text Message') }, { children: "Invite via Text Message" }), void 0),
9
+ _jsx(BKJMenuItem, Object.assign({ width: "207px", onClick: () => console.log('Invite via Email') }, { children: "Invite via Email" }), void 0),
10
+ _jsx(BKJMenuItem, Object.assign({ borderRadius: "0 0 14px 14px", width: "207px", onClick: () => console.log('Import via Spreadsheet') }, { children: "Import via Spreadsheet" }), void 0)] }), void 0),
11
+ _jsx("div", { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent efficitur efficitur leo ac dignissim. Nunc dapibus egestas mauris. Sed condimentum ullamcorper ultrices. Ut nulla erat, lacinia porttitor enim ac, molestie laoreet ex. Nullam molestie vitae sapien eu ornare. Sed ultricies tincidunt nibh, vel molestie nulla. Curabitur dapibus at turpis vitae congue. Quisque euismod, metus a pharetra ultricies, magna augue porta nulla, a aliquam lacus nisi sit amet ligula. Nam tincidunt, ex et vehicula vehicula, dui magna viverra libero, ac ornare tellus mi et lacus. Cras quis mauris id sapien ultricies blandit. Aliquam ac cursus urna. Ut feugiat fermentum urna, quis sodales mi viverra nec. Nunc lobortis dignissim elit, nec finibus magna ultrices ut. Vestibulum faucibus velit a urna eleifend varius. Sed ut metus venenatis, porttitor ligula a, porta lectus. Quisque ac nunc commodo, ultrices tellus id, egestas dolor. Proin nec tincidunt quam, eu euismod lacus. Morbi et mi ac nunc maximus efficitur. Nulla mattis ipsum nunc. Donec mollis, velit ut cursus convallis, nisi nisl porttitor nunc, sed semper elit libero a odio. Vestibulum sollicitudin, nunc non tempus ultrices, lacus ante consequat ex, a sollicitudin nibh neque et velit. Nullam elementum condimentum tellus a tristique. Integer dignissim, quam facilisis ultrices lacinia, tellus metus accumsan mauris, in maximus orci risus quis felis. Nunc euismod eros est, eget varius quam lobortis vel. Praesent posuere vel diam quis tincidunt. Cras elementum ligula at magna elementum dictum. Suspendisse tempor nisl id lorem dignissim fermentum non et nisl. Fusce suscipit libero sit amet lorem sagittis, ut tincidunt risus aliquam. Etiam euismod mattis enim a cursus. Quisque a massa eu augue finibus congue vel id justo. Mauris interdum lectus laoreet erat volutpat, id molestie erat fermentum. Aenean pharetra sapien nunc, at egestas lectus vulputate a. Donec dignissim arcu nec arcu lacinia convallis. Integer iaculis, tortor eget tempor maximus, orci tellus ornare felis, at consequat justo dui nec sem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Vestibulum erat nisl, tempus eget porttitor at, tincidunt id justo. Nunc ultrices, lorem vel finibus ullamcorper, urna orci condimentum nibh, eget fringilla risus orci id nisl. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Duis nec nulla eget sem sollicitudin tristique ut a turpis. Quisque vestibulum blandit lectus vitae accumsan. In maximus, urna eu vestibulum hendrerit, nibh elit accumsan nisl, quis rutrum arcu tellus vitae lorem. Phasellus eget facilisis erat. In sit amet risus tincidunt, cursus ante sit amet, sollicitudin eros. Integer in dolor eget nulla viverra volutpat commodo at enim. Donec sed consequat turpis. In tincidunt turpis quis tellus sagittis porttitor. Etiam tincidunt urna nec varius auctor. In condimentum turpis eget neque condimentum fermentum. Phasellus vel sagittis ipsum. Mauris id aliquet turpis. Vivamus vitae arcu lorem. Fusce nec quam sed libero rutrum varius. Suspendisse facilisis finibus malesuada. Sed quis scelerisque arcu, sed blandit justo. Suspendisse potenti. Quisque id ex tempor, feugiat quam quis, suscipit nibh. Morbi sodales, turpis et efficitur luctus, tellus nisl scelerisque nunc, eget sollicitudin dui nisi at dolor. Cras rhoncus venenatis eleifend. Praesent quis euismod leo, sed venenatis lacus. Nullam nec luctus eros." }, void 0),
12
+ _jsxs(MobileBKJDropdownMenu, Object.assign({ width: "207px", variant: "PurpleSolid", label: "Invite Members" }, { children: [_jsx(BKJMenuItem, Object.assign({ borderRadius: "14px 14px 0 0", width: "207px" }, { children: "Invite via Text Message" }), void 0),
13
+ _jsx(BKJMenuItem, Object.assign({ width: "207px" }, { children: "Invite via Email" }), void 0),
14
+ _jsx(BKJMenuItem, Object.assign({ borderRadius: "0 0 14px 14px", width: "207px" }, { children: "Import via Spreadsheet" }), void 0)] }), void 0)] }), void 0));
15
+ export const Default = MobileBKJDropdownMenuTemplate.bind({});
16
+ //# sourceMappingURL=MobileBKJDropdownMenu.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MobileBKJDropdownMenu.stories.js","sourceRoot":"","sources":["../../../src/components/MobileBKJDropdownMenu/MobileBKJDropdownMenu.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAyB,MAAM,yBAAyB,CAAC;AAEvF,eAAe;IACb,KAAK,EAAE,sCAAsC;IAC7C,SAAS,EAAE,qBAAqB;CACjC,CAAC;AAEF,MAAM,6BAA6B,GAAiC,GAAG,EAAE,CAAC,CACxE,MAAC,IAAI,kBAAC,MAAM,EAAC,OAAO,EAAC,aAAa,EAAC,QAAQ,iBACzC,MAAC,qBAAqB,kBAAC,KAAK,EAAC,OAAO,EAAC,OAAO,EAAC,aAAa,EAAC,KAAK,EAAC,gBAAgB,iBAC/E,KAAC,WAAW,kBACV,YAAY,EAAC,eAAe,EAC5B,KAAK,EAAC,OAAO,EACb,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,qDAGzC;gBACd,KAAC,WAAW,kBAAC,KAAK,EAAC,OAAO,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC,8CAE3D;gBACd,KAAC,WAAW,kBACV,YAAY,EAAC,eAAe,EAC5B,KAAK,EAAC,OAAO,EACb,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,oDAGxC,aACQ;QAExB,g8GAuCM;QAEN,MAAC,qBAAqB,kBAAC,KAAK,EAAC,OAAO,EAAC,OAAO,EAAC,aAAa,EAAC,KAAK,EAAC,gBAAgB,iBAC/E,KAAC,WAAW,kBAAC,YAAY,EAAC,eAAe,EAAC,KAAK,EAAC,OAAO,qDAEzC;gBACd,KAAC,WAAW,kBAAC,KAAK,EAAC,OAAO,8CAA+B;gBACzD,KAAC,WAAW,kBAAC,YAAY,EAAC,eAAe,EAAC,KAAK,EAAC,OAAO,oDAEzC,aACQ,aACnB,CACR,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,6BAA6B,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { MobileBKJDropdownMenu } from './MobileBKJDropdownMenu.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/MobileBKJDropdownMenu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { MobileBKJDropdownMenu } from './MobileBKJDropdownMenu.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/MobileBKJDropdownMenu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -1,10 +1,10 @@
1
- import React from 'react';
2
- import { IPortalProps } from './Portal.types.js';
3
- export declare class Portal extends React.Component<IPortalProps> {
4
- el: HTMLDivElement;
5
- constructor(props: IPortalProps);
6
- componentDidMount(): void;
7
- componentWillUnmount(): void;
8
- render(): JSX.Element;
9
- }
1
+ import React from 'react';
2
+ import { IPortalProps } from './Portal.types.js';
3
+ export declare class Portal extends React.Component<IPortalProps> {
4
+ el: HTMLDivElement;
5
+ constructor(props: IPortalProps);
6
+ componentDidMount(): void;
7
+ componentWillUnmount(): void;
8
+ render(): JSX.Element;
9
+ }
10
10
  //# sourceMappingURL=Portal.d.ts.map