@bookjane2/bookjane-design-library 7.3.2 → 7.3.3-5.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 (891) 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.d.ts.map +1 -1
  131. package/lib/components/BKJComboBox/src/BKJComboBox.context.hooks.d.ts +13 -13
  132. package/lib/components/BKJComboBox/src/BKJComboBox.context.hooks.js +9 -9
  133. package/lib/components/BKJComboBox/src/BKJComboBox.context.js +200 -198
  134. package/lib/components/BKJComboBox/src/BKJComboBox.context.js.map +1 -1
  135. package/lib/components/BKJComboBox/src/BKJComboBoxInput.d.ts +7 -7
  136. package/lib/components/BKJComboBox/src/BKJComboBoxInput.js +22 -22
  137. package/lib/components/BKJComboBox/src/BKJComboBoxItem.d.ts +3 -3
  138. package/lib/components/BKJComboBox/src/BKJComboBoxItem.js +27 -27
  139. package/lib/components/BKJComboBox/src/BKJComboBoxOptions.d.ts +8 -8
  140. package/lib/components/BKJComboBox/src/BKJComboBoxOptions.js +33 -33
  141. package/lib/components/BKJComboBox/src/BKJComboBoxOptionsMapper.d.ts +5 -5
  142. package/lib/components/BKJComboBox/src/BKJComboBoxOptionsMapper.d.ts.map +1 -1
  143. package/lib/components/BKJComboBox/src/BKJComboBoxOptionsMapper.js +21 -19
  144. package/lib/components/BKJComboBox/src/BKJComboBoxOptionsMapper.js.map +1 -1
  145. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.d.ts +7 -7
  146. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.js +18 -18
  147. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.d.ts +10 -10
  148. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.d.ts.map +1 -1
  149. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.js +93 -92
  150. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.js.map +1 -1
  151. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.types.d.ts +124 -122
  152. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.types.d.ts.map +1 -1
  153. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.types.js +1 -1
  154. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.utils.d.ts +11 -11
  155. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.utils.js +80 -80
  156. package/lib/components/BKJComboBoxAsync/fortune-500-company-list.json +3509 -3509
  157. package/lib/components/BKJComboBoxAsync/index.d.ts +1 -1
  158. package/lib/components/BKJComboBoxAsync/index.js +1 -1
  159. package/lib/components/BKJComboBoxAsync/opts.d.ts +6 -6
  160. package/lib/components/BKJComboBoxAsync/opts.js +482 -482
  161. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.d.ts +5 -5
  162. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.d.ts.map +1 -1
  163. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.hooks.d.ts +11 -11
  164. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.hooks.js +8 -8
  165. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.js +190 -185
  166. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.js.map +1 -1
  167. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncInput.d.ts +8 -8
  168. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncInput.d.ts.map +1 -1
  169. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncInput.js +30 -30
  170. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncInput.js.map +1 -1
  171. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncItem.d.ts +3 -3
  172. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncItem.d.ts.map +1 -1
  173. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncItem.js +21 -21
  174. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncItem.js.map +1 -1
  175. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptions.d.ts +7 -5
  176. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptions.d.ts.map +1 -1
  177. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptions.js +25 -25
  178. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptions.js.map +1 -1
  179. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptionsMapper.d.ts +5 -5
  180. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptionsMapper.d.ts.map +1 -1
  181. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptionsMapper.js +60 -59
  182. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptionsMapper.js.map +1 -1
  183. package/lib/components/BKJDialog/BKJDialog.d.ts +3 -3
  184. package/lib/components/BKJDialog/BKJDialog.js +30 -30
  185. package/lib/components/BKJDialog/BKJDialog.stories.d.ts +34 -34
  186. package/lib/components/BKJDialog/BKJDialog.stories.js +42 -42
  187. package/lib/components/BKJDialog/BKJDialog.styled.d.ts +8 -8
  188. package/lib/components/BKJDialog/BKJDialog.styled.js +66 -66
  189. package/lib/components/BKJDialog/BKJDialog.theme.d.ts +2 -2
  190. package/lib/components/BKJDialog/BKJDialog.theme.js +5 -5
  191. package/lib/components/BKJDialog/BKJDialog.types.d.ts +18 -18
  192. package/lib/components/BKJDialog/BKJDialog.types.js +1 -1
  193. package/lib/components/BKJDialog/index.d.ts +1 -1
  194. package/lib/components/BKJDialog/index.js +1 -1
  195. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.d.ts +3 -3
  196. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.js +36 -36
  197. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.stories.d.ts +37 -37
  198. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.stories.js +51 -51
  199. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.styled.d.ts +13 -13
  200. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.styled.js +36 -36
  201. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.types.d.ts +14 -14
  202. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.types.js +1 -1
  203. package/lib/components/BKJDollarTextInput/index.d.ts +2 -2
  204. package/lib/components/BKJDollarTextInput/index.js +2 -2
  205. package/lib/components/BKJDropdown/BKJDropdown.d.ts +12 -12
  206. package/lib/components/BKJDropdown/BKJDropdown.js +71 -71
  207. package/lib/components/BKJDropdown/BKJDropdown.theme.d.ts +2 -2
  208. package/lib/components/BKJDropdown/BKJDropdown.theme.js +31 -31
  209. package/lib/components/BKJDropdown/BKJDropdown.types.d.ts +5 -5
  210. package/lib/components/BKJDropdown/BKJDropdown.types.js +1 -1
  211. package/lib/components/BKJDropdown/index.d.ts +1 -1
  212. package/lib/components/BKJDropdown/index.js +1 -1
  213. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.d.ts +6 -6
  214. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.d.ts.map +1 -1
  215. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.js +83 -82
  216. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.js.map +1 -1
  217. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.stories.d.ts +9 -9
  218. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.stories.d.ts.map +1 -1
  219. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.stories.js +17 -15
  220. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.stories.js.map +1 -1
  221. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.styled.d.ts +1 -1
  222. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.styled.js +8 -8
  223. package/lib/components/BKJDropdownMenu/index.d.ts +1 -1
  224. package/lib/components/BKJDropdownMenu/index.js +1 -1
  225. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.context.d.ts +8 -8
  226. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.context.js +33 -33
  227. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.d.ts +3 -3
  228. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.js +16 -16
  229. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.stories.d.ts +10 -10
  230. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.stories.js +15 -15
  231. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.styled.d.ts +3 -3
  232. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.styled.js +13 -13
  233. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.types.d.ts +12 -12
  234. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.types.js +1 -1
  235. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenuDropdown.d.ts +3 -3
  236. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenuDropdown.js +27 -27
  237. package/lib/components/BKJEllipsisMenu/index.d.ts +2 -2
  238. package/lib/components/BKJEllipsisMenu/index.js +2 -2
  239. package/lib/components/BKJFileInput/BKJFileInput.d.ts +3 -3
  240. package/lib/components/BKJFileInput/BKJFileInput.d.ts.map +1 -1
  241. package/lib/components/BKJFileInput/BKJFileInput.js +33 -26
  242. package/lib/components/BKJFileInput/BKJFileInput.js.map +1 -1
  243. package/lib/components/BKJFileInput/BKJFileInput.stories.d.ts +14 -14
  244. package/lib/components/BKJFileInput/BKJFileInput.stories.d.ts.map +1 -1
  245. package/lib/components/BKJFileInput/BKJFileInput.stories.js +22 -23
  246. package/lib/components/BKJFileInput/BKJFileInput.stories.js.map +1 -1
  247. package/lib/components/BKJFileInput/BKJFileInput.styled.d.ts +16 -16
  248. package/lib/components/BKJFileInput/BKJFileInput.styled.js +57 -57
  249. package/lib/components/BKJFileInput/BKJFileInput.types.d.ts +14 -14
  250. package/lib/components/BKJFileInput/BKJFileInput.types.js +1 -1
  251. package/lib/components/BKJFileInput/index.d.ts +1 -1
  252. package/lib/components/BKJFileInput/index.js +1 -1
  253. package/lib/components/BKJHorizontalRule/BKJHorizontalRule.d.ts +2 -2
  254. package/lib/components/BKJHorizontalRule/BKJHorizontalRule.js +8 -8
  255. package/lib/components/BKJHorizontalRule/BKJHorizontalRule.types.d.ts +12 -12
  256. package/lib/components/BKJHorizontalRule/BKJHorizontalRule.types.js +15 -15
  257. package/lib/components/BKJHorizontalRule/index.d.ts +1 -1
  258. package/lib/components/BKJHorizontalRule/index.js +1 -1
  259. package/lib/components/BKJIcon/BKJIcon.d.ts +3 -3
  260. package/lib/components/BKJIcon/BKJIcon.js +12 -12
  261. package/lib/components/BKJIcon/BKJIcon.stories.d.ts +34 -34
  262. package/lib/components/BKJIcon/BKJIcon.stories.js +47 -47
  263. package/lib/components/BKJIcon/BKJIcon.stories.styled.d.ts +6 -6
  264. package/lib/components/BKJIcon/BKJIcon.stories.styled.js +31 -31
  265. package/lib/components/BKJIcon/BKJIcon.types.d.ts +28 -28
  266. package/lib/components/BKJIcon/BKJIcon.types.d.ts.map +1 -1
  267. package/lib/components/BKJIcon/BKJIcon.types.js +113 -113
  268. package/lib/components/BKJIcon/BKJIcon.types.js.map +1 -1
  269. package/lib/components/BKJIcon/index.d.ts +2 -2
  270. package/lib/components/BKJIcon/index.js +2 -2
  271. package/lib/components/BKJIcon/src/avatars/Avatar.d.ts +3 -3
  272. package/lib/components/BKJIcon/src/avatars/Avatar.js +13 -13
  273. package/lib/components/BKJIcon/src/avatars/AvatarFill.d.ts +3 -3
  274. package/lib/components/BKJIcon/src/avatars/AvatarFill.js +12 -12
  275. package/lib/components/BKJIcon/src/avatars/MobileAvatarFill.d.ts +4 -0
  276. package/lib/components/BKJIcon/src/avatars/MobileAvatarFill.d.ts.map +1 -0
  277. package/lib/components/BKJIcon/src/avatars/MobileAvatarFill.js +13 -0
  278. package/lib/components/BKJIcon/src/avatars/MobileAvatarFill.js.map +1 -0
  279. package/lib/components/BKJIcon/src/functions/Add.d.ts +3 -3
  280. package/lib/components/BKJIcon/src/functions/Add.js +11 -11
  281. package/lib/components/BKJIcon/src/functions/Delete.d.ts +3 -3
  282. package/lib/components/BKJIcon/src/functions/Delete.js +11 -11
  283. package/lib/components/BKJIcon/src/functions/Download.d.ts +3 -3
  284. package/lib/components/BKJIcon/src/functions/Download.js +10 -10
  285. package/lib/components/BKJIcon/src/functions/Filters.d.ts +3 -3
  286. package/lib/components/BKJIcon/src/functions/Filters.js +9 -9
  287. package/lib/components/BKJIcon/src/functions/HamburgerExpand.d.ts +3 -3
  288. package/lib/components/BKJIcon/src/functions/HamburgerExpand.js +17 -17
  289. package/lib/components/BKJIcon/src/functions/HamburgerTablet.d.ts +3 -3
  290. package/lib/components/BKJIcon/src/functions/HamburgerTablet.js +9 -9
  291. package/lib/components/BKJIcon/src/functions/Minus.d.ts +3 -3
  292. package/lib/components/BKJIcon/src/functions/Minus.js +12 -12
  293. package/lib/components/BKJIcon/src/functions/Plus.d.ts +3 -3
  294. package/lib/components/BKJIcon/src/functions/Plus.js +9 -9
  295. package/lib/components/BKJIcon/src/functions/Sort.d.ts +3 -3
  296. package/lib/components/BKJIcon/src/functions/Sort.js +9 -9
  297. package/lib/components/BKJIcon/src/functions/Templates.d.ts +3 -3
  298. package/lib/components/BKJIcon/src/functions/Templates.js +9 -9
  299. package/lib/components/BKJIcon/src/functions/Trash.d.ts +3 -3
  300. package/lib/components/BKJIcon/src/functions/Trash.js +9 -9
  301. package/lib/components/BKJIcon/src/general/Client.d.ts +3 -3
  302. package/lib/components/BKJIcon/src/general/Client.js +12 -12
  303. package/lib/components/BKJIcon/src/general/ClientPreferences.d.ts +3 -3
  304. package/lib/components/BKJIcon/src/general/ClientPreferences.js +9 -9
  305. package/lib/components/BKJIcon/src/general/Copy.d.ts +3 -3
  306. package/lib/components/BKJIcon/src/general/Copy.js +9 -9
  307. package/lib/components/BKJIcon/src/general/DevNotes.d.ts +3 -3
  308. package/lib/components/BKJIcon/src/general/DevNotes.js +13 -13
  309. package/lib/components/BKJIcon/src/general/Document.d.ts +3 -3
  310. package/lib/components/BKJIcon/src/general/Document.js +9 -9
  311. package/lib/components/BKJIcon/src/general/Edit.d.ts +3 -3
  312. package/lib/components/BKJIcon/src/general/Edit.js +9 -9
  313. package/lib/components/BKJIcon/src/general/Ellipsis.d.ts +3 -3
  314. package/lib/components/BKJIcon/src/general/Ellipsis.js +11 -11
  315. package/lib/components/BKJIcon/src/general/EllipsisInCircle.d.ts +3 -3
  316. package/lib/components/BKJIcon/src/general/EllipsisInCircle.js +13 -13
  317. package/lib/components/BKJIcon/src/general/Eye.d.ts +7 -7
  318. package/lib/components/BKJIcon/src/general/Eye.js +10 -10
  319. package/lib/components/BKJIcon/src/general/Group.d.ts +3 -3
  320. package/lib/components/BKJIcon/src/general/Group.js +10 -10
  321. package/lib/components/BKJIcon/src/general/Info.d.ts +3 -3
  322. package/lib/components/BKJIcon/src/general/Info.js +11 -11
  323. package/lib/components/BKJIcon/src/general/Location.d.ts +3 -3
  324. package/lib/components/BKJIcon/src/general/Location.js +12 -12
  325. package/lib/components/BKJIcon/src/general/Location1.d.ts +3 -3
  326. package/lib/components/BKJIcon/src/general/Location1.js +12 -12
  327. package/lib/components/BKJIcon/src/general/Notes1.d.ts +3 -3
  328. package/lib/components/BKJIcon/src/general/Notes1.js +12 -12
  329. package/lib/components/BKJIcon/src/general/Paste.d.ts +3 -3
  330. package/lib/components/BKJIcon/src/general/Paste.js +9 -9
  331. package/lib/components/BKJIcon/src/general/Payment.d.ts +3 -3
  332. package/lib/components/BKJIcon/src/general/Payment.js +10 -10
  333. package/lib/components/BKJIcon/src/general/PendingSignup.d.ts +3 -3
  334. package/lib/components/BKJIcon/src/general/PendingSignup.js +12 -12
  335. package/lib/components/BKJIcon/src/general/Phone.d.ts +3 -3
  336. package/lib/components/BKJIcon/src/general/Phone.js +9 -9
  337. package/lib/components/BKJIcon/src/general/Position.d.ts +3 -3
  338. package/lib/components/BKJIcon/src/general/Position.js +10 -10
  339. package/lib/components/BKJIcon/src/general/Reply.d.ts +3 -3
  340. package/lib/components/BKJIcon/src/general/Reply.js +9 -9
  341. package/lib/components/BKJIcon/src/general/RoomType.d.ts +3 -3
  342. package/lib/components/BKJIcon/src/general/RoomType.js +12 -12
  343. package/lib/components/BKJIcon/src/general/Search.d.ts +3 -3
  344. package/lib/components/BKJIcon/src/general/Search.js +9 -9
  345. package/lib/components/BKJIcon/src/general/Time.d.ts +3 -3
  346. package/lib/components/BKJIcon/src/general/Time.js +12 -12
  347. package/lib/components/BKJIcon/src/general/Video.d.ts +3 -3
  348. package/lib/components/BKJIcon/src/general/Video.js +9 -9
  349. package/lib/components/BKJIcon/src/general/Warning.d.ts +3 -3
  350. package/lib/components/BKJIcon/src/general/Warning.js +10 -10
  351. package/lib/components/BKJIcon/src/index.d.ts +99 -98
  352. package/lib/components/BKJIcon/src/index.d.ts.map +1 -1
  353. package/lib/components/BKJIcon/src/index.js +99 -98
  354. package/lib/components/BKJIcon/src/index.js.map +1 -1
  355. package/lib/components/BKJIcon/src/indicators/Checkmark.d.ts +3 -3
  356. package/lib/components/BKJIcon/src/indicators/Checkmark.js +9 -9
  357. package/lib/components/BKJIcon/src/indicators/Dedicated.d.ts +3 -3
  358. package/lib/components/BKJIcon/src/indicators/Dedicated.js +9 -9
  359. package/lib/components/BKJIcon/src/indicators/DefaultOutline.d.ts +3 -3
  360. package/lib/components/BKJIcon/src/indicators/DefaultOutline.js +9 -9
  361. package/lib/components/BKJIcon/src/indicators/Error.d.ts +3 -3
  362. package/lib/components/BKJIcon/src/indicators/Error.js +11 -11
  363. package/lib/components/BKJIcon/src/indicators/ErrorDot.d.ts +3 -3
  364. package/lib/components/BKJIcon/src/indicators/ErrorDot.js +9 -9
  365. package/lib/components/BKJIcon/src/indicators/ErrorLarge.d.ts +3 -3
  366. package/lib/components/BKJIcon/src/indicators/ErrorLarge.js +9 -9
  367. package/lib/components/BKJIcon/src/indicators/Locked.d.ts +3 -3
  368. package/lib/components/BKJIcon/src/indicators/Locked.js +9 -9
  369. package/lib/components/BKJIcon/src/indicators/Pause.d.ts +3 -3
  370. package/lib/components/BKJIcon/src/indicators/Pause.js +12 -12
  371. package/lib/components/BKJIcon/src/indicators/Recurring.d.ts +3 -3
  372. package/lib/components/BKJIcon/src/indicators/Recurring.js +9 -9
  373. package/lib/components/BKJIcon/src/indicators/Star.d.ts +3 -3
  374. package/lib/components/BKJIcon/src/indicators/Star.js +9 -9
  375. package/lib/components/BKJIcon/src/indicators/StepCheck.d.ts +4 -4
  376. package/lib/components/BKJIcon/src/indicators/StepCheck.js +11 -11
  377. package/lib/components/BKJIcon/src/indicators/StepcountNumber.d.ts +3 -3
  378. package/lib/components/BKJIcon/src/indicators/StepcountNumber.js +11 -11
  379. package/lib/components/BKJIcon/src/indicators/SuccessDot.d.ts +3 -3
  380. package/lib/components/BKJIcon/src/indicators/SuccessDot.js +9 -9
  381. package/lib/components/BKJIcon/src/indicators/Warning.d.ts +3 -3
  382. package/lib/components/BKJIcon/src/indicators/Warning.js +11 -11
  383. package/lib/components/BKJIcon/src/indicators/WarningDot.d.ts +3 -3
  384. package/lib/components/BKJIcon/src/indicators/WarningDot.js +9 -9
  385. package/lib/components/BKJIcon/src/navigation/ArrowDown.d.ts +3 -3
  386. package/lib/components/BKJIcon/src/navigation/ArrowDown.js +10 -10
  387. package/lib/components/BKJIcon/src/navigation/ArrowLeft.d.ts +3 -3
  388. package/lib/components/BKJIcon/src/navigation/ArrowLeft.js +9 -9
  389. package/lib/components/BKJIcon/src/navigation/ArrowRight.d.ts +3 -3
  390. package/lib/components/BKJIcon/src/navigation/ArrowRight.js +9 -9
  391. package/lib/components/BKJIcon/src/navigation/ArrowUp.d.ts +3 -3
  392. package/lib/components/BKJIcon/src/navigation/ArrowUp.js +9 -9
  393. package/lib/components/BKJIcon/src/navigation/BackArrow.d.ts +3 -3
  394. package/lib/components/BKJIcon/src/navigation/BackArrow.js +9 -9
  395. package/lib/components/BKJIcon/src/navigation/ChevronDoubleLeft.d.ts +3 -3
  396. package/lib/components/BKJIcon/src/navigation/ChevronDoubleLeft.js +10 -10
  397. package/lib/components/BKJIcon/src/navigation/ChevronDoubleRight.d.ts +3 -3
  398. package/lib/components/BKJIcon/src/navigation/ChevronDoubleRight.js +10 -10
  399. package/lib/components/BKJIcon/src/navigation/ChevronDown.d.ts +3 -3
  400. package/lib/components/BKJIcon/src/navigation/ChevronDown.js +9 -9
  401. package/lib/components/BKJIcon/src/navigation/ChevronLeft.d.ts +3 -3
  402. package/lib/components/BKJIcon/src/navigation/ChevronLeft.js +9 -9
  403. package/lib/components/BKJIcon/src/navigation/ChevronLeftInCircle.d.ts +3 -3
  404. package/lib/components/BKJIcon/src/navigation/ChevronLeftInCircle.js +18 -18
  405. package/lib/components/BKJIcon/src/navigation/ChevronLeftLarge.d.ts +3 -3
  406. package/lib/components/BKJIcon/src/navigation/ChevronLeftLarge.js +11 -11
  407. package/lib/components/BKJIcon/src/navigation/ChevronRight.d.ts +3 -3
  408. package/lib/components/BKJIcon/src/navigation/ChevronRight.js +9 -9
  409. package/lib/components/BKJIcon/src/navigation/ChevronRightInCircle.d.ts +3 -3
  410. package/lib/components/BKJIcon/src/navigation/ChevronRightInCircle.js +18 -18
  411. package/lib/components/BKJIcon/src/navigation/ChevronUp.d.ts +3 -3
  412. package/lib/components/BKJIcon/src/navigation/ChevronUp.js +9 -9
  413. package/lib/components/BKJIcon/src/navigation/CloseBold.d.ts +3 -3
  414. package/lib/components/BKJIcon/src/navigation/CloseBold.js +9 -9
  415. package/lib/components/BKJIcon/src/navigation/CombinedChevronDefault.d.ts +3 -3
  416. package/lib/components/BKJIcon/src/navigation/CombinedChevronDefault.js +9 -9
  417. package/lib/components/BKJIcon/src/navigation/CombinedChevronDown.d.ts +3 -3
  418. package/lib/components/BKJIcon/src/navigation/CombinedChevronDown.js +10 -10
  419. package/lib/components/BKJIcon/src/navigation/CombinedChevronUp.d.ts +3 -3
  420. package/lib/components/BKJIcon/src/navigation/CombinedChevronUp.js +10 -10
  421. package/lib/components/BKJIcon/src/navigation/MouseIndicator.d.ts +3 -3
  422. package/lib/components/BKJIcon/src/navigation/MouseIndicator.js +11 -11
  423. package/lib/components/BKJIcon/src/shifts/Client.d.ts +3 -3
  424. package/lib/components/BKJIcon/src/shifts/Client.js +10 -10
  425. package/lib/components/BKJIcon/src/shifts/Date.d.ts +3 -3
  426. package/lib/components/BKJIcon/src/shifts/Date.js +10 -10
  427. package/lib/components/BKJIcon/src/shifts/Deal.d.ts +3 -3
  428. package/lib/components/BKJIcon/src/shifts/Deal.js +10 -10
  429. package/lib/components/BKJIcon/src/shifts/Location.d.ts +3 -3
  430. package/lib/components/BKJIcon/src/shifts/Location.js +10 -10
  431. package/lib/components/BKJIcon/src/shifts/Notes.d.ts +3 -3
  432. package/lib/components/BKJIcon/src/shifts/Notes.js +10 -10
  433. package/lib/components/BKJIcon/src/shifts/Price.d.ts +3 -3
  434. package/lib/components/BKJIcon/src/shifts/Price.js +12 -12
  435. package/lib/components/BKJIcon/src/shifts/Quantity.d.ts +3 -3
  436. package/lib/components/BKJIcon/src/shifts/Quantity.js +10 -10
  437. package/lib/components/BKJIcon/src/shifts/Tasks.d.ts +3 -3
  438. package/lib/components/BKJIcon/src/shifts/Tasks.js +10 -10
  439. package/lib/components/BKJIcon/src/shifts/Time.d.ts +3 -3
  440. package/lib/components/BKJIcon/src/shifts/Time.js +10 -10
  441. package/lib/components/BKJIcon/src/shifts/TrainingOutline.d.ts +3 -3
  442. package/lib/components/BKJIcon/src/shifts/TrainingOutline.js +10 -10
  443. package/lib/components/BKJIcon/src/shifts/UnpaidBreak.d.ts +3 -3
  444. package/lib/components/BKJIcon/src/shifts/UnpaidBreak.js +10 -10
  445. package/lib/components/BKJIcon/src/sidenav/AgencyMembers.d.ts +3 -3
  446. package/lib/components/BKJIcon/src/sidenav/AgencyMembers.js +15 -15
  447. package/lib/components/BKJIcon/src/sidenav/Analytics.d.ts +3 -3
  448. package/lib/components/BKJIcon/src/sidenav/Analytics.js +10 -10
  449. package/lib/components/BKJIcon/src/sidenav/Clients.d.ts +3 -3
  450. package/lib/components/BKJIcon/src/sidenav/Clients.js +9 -9
  451. package/lib/components/BKJIcon/src/sidenav/Communications.d.ts +3 -3
  452. package/lib/components/BKJIcon/src/sidenav/Communications.js +9 -9
  453. package/lib/components/BKJIcon/src/sidenav/Dashboard.d.ts +3 -3
  454. package/lib/components/BKJIcon/src/sidenav/Dashboard.js +9 -9
  455. package/lib/components/BKJIcon/src/sidenav/Explore.d.ts +3 -3
  456. package/lib/components/BKJIcon/src/sidenav/Explore.js +11 -11
  457. package/lib/components/BKJIcon/src/sidenav/Logout.d.ts +3 -3
  458. package/lib/components/BKJIcon/src/sidenav/Logout.js +9 -9
  459. package/lib/components/BKJIcon/src/sidenav/NewBooking.d.ts +3 -3
  460. package/lib/components/BKJIcon/src/sidenav/NewBooking.js +10 -10
  461. package/lib/components/BKJIcon/src/sidenav/Question.d.ts +3 -3
  462. package/lib/components/BKJIcon/src/sidenav/Question.js +10 -10
  463. package/lib/components/BKJIcon/src/sidenav/Schedule.d.ts +3 -3
  464. package/lib/components/BKJIcon/src/sidenav/Schedule.js +12 -12
  465. package/lib/components/BKJIcon/src/sidenav/Settings.d.ts +3 -3
  466. package/lib/components/BKJIcon/src/sidenav/Settings.js +9 -9
  467. package/lib/components/BKJIcon/src/sidenav/Shifts.d.ts +3 -3
  468. package/lib/components/BKJIcon/src/sidenav/Shifts.js +9 -9
  469. package/lib/components/BKJIcon/src/sidenav/TeamMembers.d.ts +3 -3
  470. package/lib/components/BKJIcon/src/sidenav/TeamMembers.js +9 -9
  471. package/lib/components/BKJIcon/src/sidenav/Timesheets.d.ts +3 -3
  472. package/lib/components/BKJIcon/src/sidenav/Timesheets.js +9 -9
  473. package/lib/components/BKJIconTooltip/BKJIconTooltip.d.ts +3 -3
  474. package/lib/components/BKJIconTooltip/BKJIconTooltip.js +7 -7
  475. package/lib/components/BKJIconTooltip/BKJIconTooltip.stories.d.ts +25 -25
  476. package/lib/components/BKJIconTooltip/BKJIconTooltip.stories.js +39 -39
  477. package/lib/components/BKJIconTooltip/BKJIconTooltip.types.d.ts +8 -8
  478. package/lib/components/BKJIconTooltip/BKJIconTooltip.types.js +1 -1
  479. package/lib/components/BKJIconTooltip/index.d.ts +1 -1
  480. package/lib/components/BKJIconTooltip/index.js +1 -1
  481. package/lib/components/BKJImage/BKJImage.d.ts +3 -3
  482. package/lib/components/BKJImage/BKJImage.js +18 -18
  483. package/lib/components/BKJImage/BKJImage.styled.d.ts +10 -10
  484. package/lib/components/BKJImage/BKJImage.styled.js +29 -29
  485. package/lib/components/BKJImage/BKJImage.types.d.ts +10 -10
  486. package/lib/components/BKJImage/BKJImage.types.js +1 -1
  487. package/lib/components/BKJImage/index.d.ts +1 -1
  488. package/lib/components/BKJImage/index.js +1 -1
  489. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.context.d.ts +4 -4
  490. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.context.js +100 -100
  491. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.d.ts +3 -3
  492. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.js +50 -50
  493. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.stories.d.ts +38 -38
  494. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.stories.js +116 -116
  495. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.types.d.ts +85 -85
  496. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.types.js +10 -10
  497. package/lib/components/BKJInteractiveMap/index.d.ts +1 -1
  498. package/lib/components/BKJInteractiveMap/index.js +1 -1
  499. package/lib/components/BKJListItem/BKJListItem.d.ts +3 -3
  500. package/lib/components/BKJListItem/BKJListItem.js +18 -18
  501. package/lib/components/BKJListItem/BKJListItem.stories.d.ts +9 -9
  502. package/lib/components/BKJListItem/BKJListItem.stories.js +8 -8
  503. package/lib/components/BKJListItem/BKJListItem.styled.d.ts +3 -3
  504. package/lib/components/BKJListItem/BKJListItem.styled.js +54 -54
  505. package/lib/components/BKJListItem/BKJListItem.theme.d.ts +2 -2
  506. package/lib/components/BKJListItem/BKJListItem.theme.js +46 -46
  507. package/lib/components/BKJListItem/BKJListItem.types.d.ts +57 -57
  508. package/lib/components/BKJListItem/BKJListItem.types.js +1 -1
  509. package/lib/components/BKJListItem/index.d.ts +2 -2
  510. package/lib/components/BKJListItem/index.js +2 -2
  511. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.d.ts +3 -3
  512. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.js +9 -9
  513. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.stories.d.ts +18 -18
  514. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.stories.js +19 -19
  515. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.styled.d.ts +1 -1
  516. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.styled.js +6 -6
  517. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.theme.d.ts +2 -2
  518. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.theme.js +14 -14
  519. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.types.d.ts +14 -14
  520. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.types.js +1 -1
  521. package/lib/components/BKJLoadingSpinner/index.d.ts +2 -2
  522. package/lib/components/BKJLoadingSpinner/index.js +2 -2
  523. package/lib/components/BKJLogo/BKJLogo.d.ts +3 -3
  524. package/lib/components/BKJLogo/BKJLogo.js +7 -7
  525. package/lib/components/BKJLogo/BKJLogo.stories.d.ts +31 -31
  526. package/lib/components/BKJLogo/BKJLogo.stories.js +34 -34
  527. package/lib/components/BKJLogo/BKJLogo.types.d.ts +10 -10
  528. package/lib/components/BKJLogo/BKJLogo.types.js +6 -6
  529. package/lib/components/BKJLogo/index.d.ts +2 -2
  530. package/lib/components/BKJLogo/index.js +2 -2
  531. package/lib/components/BKJLogo/src/Agency.d.ts +3 -3
  532. package/lib/components/BKJLogo/src/Agency.js +10 -10
  533. package/lib/components/BKJLogo/src/General.d.ts +3 -3
  534. package/lib/components/BKJLogo/src/General.js +9 -9
  535. package/lib/components/BKJLogo/src/Premium.d.ts +3 -3
  536. package/lib/components/BKJLogo/src/Premium.js +10 -10
  537. package/lib/components/BKJLogo/src/index.d.ts +4 -4
  538. package/lib/components/BKJLogo/src/index.js +4 -4
  539. package/lib/components/BKJMenu/BKJMenu.d.ts +3 -3
  540. package/lib/components/BKJMenu/BKJMenu.js +19 -19
  541. package/lib/components/BKJMenu/BKJMenu.stories.d.ts +20 -20
  542. package/lib/components/BKJMenu/BKJMenu.stories.js +30 -30
  543. package/lib/components/BKJMenu/BKJMenu.styled.d.ts +6 -6
  544. package/lib/components/BKJMenu/BKJMenu.styled.js +44 -44
  545. package/lib/components/BKJMenu/BKJMenu.types.d.ts +10 -10
  546. package/lib/components/BKJMenu/BKJMenu.types.js +1 -1
  547. package/lib/components/BKJMenu/index.d.ts +2 -2
  548. package/lib/components/BKJMenu/index.js +2 -2
  549. package/lib/components/BKJMenuItem/BKJMenuItem.d.ts +3 -3
  550. package/lib/components/BKJMenuItem/BKJMenuItem.js +5 -5
  551. package/lib/components/BKJMenuItem/BKJMenuItem.stories.d.ts +9 -9
  552. package/lib/components/BKJMenuItem/BKJMenuItem.stories.js +14 -14
  553. package/lib/components/BKJMenuItem/BKJMenuItem.styled.d.ts +3 -3
  554. package/lib/components/BKJMenuItem/BKJMenuItem.styled.js +44 -44
  555. package/lib/components/BKJMenuItem/BKJMenuItem.types.d.ts +7 -7
  556. package/lib/components/BKJMenuItem/BKJMenuItem.types.js +1 -1
  557. package/lib/components/BKJMenuItem/index.d.ts +2 -2
  558. package/lib/components/BKJMenuItem/index.js +2 -2
  559. package/lib/components/BKJPagination/BKJPagination.d.ts +3 -3
  560. package/lib/components/BKJPagination/BKJPagination.js +10 -10
  561. package/lib/components/BKJPagination/BKJPagination.stories.d.ts +16 -16
  562. package/lib/components/BKJPagination/BKJPagination.stories.js +21 -21
  563. package/lib/components/BKJPagination/BKJPagination.styled.d.ts +6 -6
  564. package/lib/components/BKJPagination/BKJPagination.styled.js +47 -47
  565. package/lib/components/BKJPagination/BKJPagination.types.d.ts +9 -9
  566. package/lib/components/BKJPagination/BKJPagination.types.js +1 -1
  567. package/lib/components/BKJPagination/index.d.ts +2 -2
  568. package/lib/components/BKJPagination/index.js +2 -2
  569. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.d.ts +3 -3
  570. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.d.ts.map +1 -1
  571. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.js +33 -20
  572. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.js.map +1 -1
  573. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.stories.d.ts +34 -34
  574. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.stories.d.ts.map +1 -1
  575. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.stories.js +48 -48
  576. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.stories.js.map +1 -1
  577. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.styled.d.ts +13 -13
  578. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.styled.js +35 -35
  579. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.types.d.ts +13 -13
  580. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.types.js +1 -1
  581. package/lib/components/BKJPhoneNumberInput/index.d.ts +2 -2
  582. package/lib/components/BKJPhoneNumberInput/index.js +2 -2
  583. package/lib/components/BKJPillDropdown/BKJPillDropdown.context.d.ts +4 -4
  584. package/lib/components/BKJPillDropdown/BKJPillDropdown.context.js +73 -73
  585. package/lib/components/BKJPillDropdown/BKJPillDropdown.d.ts +3 -3
  586. package/lib/components/BKJPillDropdown/BKJPillDropdown.js +28 -28
  587. package/lib/components/BKJPillDropdown/BKJPillDropdown.stories.d.ts +35 -35
  588. package/lib/components/BKJPillDropdown/BKJPillDropdown.stories.d.ts.map +1 -1
  589. package/lib/components/BKJPillDropdown/BKJPillDropdown.stories.js +72 -71
  590. package/lib/components/BKJPillDropdown/BKJPillDropdown.stories.js.map +1 -1
  591. package/lib/components/BKJPillDropdown/BKJPillDropdown.styled.d.ts +17 -17
  592. package/lib/components/BKJPillDropdown/BKJPillDropdown.styled.js +79 -79
  593. package/lib/components/BKJPillDropdown/BKJPillDropdown.types.d.ts +47 -47
  594. package/lib/components/BKJPillDropdown/BKJPillDropdown.types.js +1 -1
  595. package/lib/components/BKJPillDropdown/index.d.ts +1 -1
  596. package/lib/components/BKJPillDropdown/index.js +1 -1
  597. package/lib/components/BKJPillSelect/BKJPillSelect.context.d.ts +4 -4
  598. package/lib/components/BKJPillSelect/BKJPillSelect.context.js +74 -74
  599. package/lib/components/BKJPillSelect/BKJPillSelect.d.ts +3 -3
  600. package/lib/components/BKJPillSelect/BKJPillSelect.js +35 -35
  601. package/lib/components/BKJPillSelect/BKJPillSelect.stories.d.ts +35 -35
  602. package/lib/components/BKJPillSelect/BKJPillSelect.stories.js +76 -76
  603. package/lib/components/BKJPillSelect/BKJPillSelect.styled.d.ts +16 -16
  604. package/lib/components/BKJPillSelect/BKJPillSelect.styled.js +80 -80
  605. package/lib/components/BKJPillSelect/BKJPillSelect.types.d.ts +47 -47
  606. package/lib/components/BKJPillSelect/BKJPillSelect.types.js +1 -1
  607. package/lib/components/BKJPillSelect/index.d.ts +1 -1
  608. package/lib/components/BKJPillSelect/index.js +1 -1
  609. package/lib/components/BKJPillTextArea/BKJPillTextArea.context.d.ts +4 -4
  610. package/lib/components/BKJPillTextArea/BKJPillTextArea.context.js +195 -195
  611. package/lib/components/BKJPillTextArea/BKJPillTextArea.d.ts +3 -3
  612. package/lib/components/BKJPillTextArea/BKJPillTextArea.js +37 -37
  613. package/lib/components/BKJPillTextArea/BKJPillTextArea.stories.d.ts +35 -35
  614. package/lib/components/BKJPillTextArea/BKJPillTextArea.stories.js +74 -74
  615. package/lib/components/BKJPillTextArea/BKJPillTextArea.styled.d.ts +18 -18
  616. package/lib/components/BKJPillTextArea/BKJPillTextArea.styled.js +69 -69
  617. package/lib/components/BKJPillTextArea/BKJPillTextArea.types.d.ts +51 -51
  618. package/lib/components/BKJPillTextArea/BKJPillTextArea.types.js +1 -1
  619. package/lib/components/BKJPillTextArea/index.d.ts +1 -1
  620. package/lib/components/BKJPillTextArea/index.js +1 -1
  621. package/lib/components/BKJSelect/BKJSelect.constants.d.ts +1 -1
  622. package/lib/components/BKJSelect/BKJSelect.constants.js +1 -1
  623. package/lib/components/BKJSelect/BKJSelect.d.ts +7 -7
  624. package/lib/components/BKJSelect/BKJSelect.d.ts.map +1 -1
  625. package/lib/components/BKJSelect/BKJSelect.js +176 -171
  626. package/lib/components/BKJSelect/BKJSelect.js.map +1 -1
  627. package/lib/components/BKJSelect/BKJSelect.stories.d.ts +10 -10
  628. package/lib/components/BKJSelect/BKJSelect.stories.d.ts.map +1 -1
  629. package/lib/components/BKJSelect/BKJSelect.stories.js +122 -125
  630. package/lib/components/BKJSelect/BKJSelect.stories.js.map +1 -1
  631. package/lib/components/BKJSelect/BKJSelect.styled.d.ts +25 -25
  632. package/lib/components/BKJSelect/BKJSelect.styled.d.ts.map +1 -1
  633. package/lib/components/BKJSelect/BKJSelect.styled.js +96 -95
  634. package/lib/components/BKJSelect/BKJSelect.styled.js.map +1 -1
  635. package/lib/components/BKJSelect/BKJSelect.theme.d.ts +2 -2
  636. package/lib/components/BKJSelect/BKJSelect.theme.js +232 -232
  637. package/lib/components/BKJSelect/BKJSelect.types.d.ts +134 -134
  638. package/lib/components/BKJSelect/BKJSelect.types.js +1 -1
  639. package/lib/components/BKJSelect/BKJSelect.utils.d.ts +26 -26
  640. package/lib/components/BKJSelect/BKJSelect.utils.js +40 -40
  641. package/lib/components/BKJSelect/index.d.ts +2 -2
  642. package/lib/components/BKJSelect/index.js +2 -2
  643. package/lib/components/BKJSelect/utils/deepEquals.d.ts +1 -1
  644. package/lib/components/BKJSelect/utils/deepEquals.js +2 -2
  645. package/lib/components/BKJSelect/utils/getDesignLibraryElementNode.d.ts +2 -2
  646. package/lib/components/BKJSelect/utils/getDesignLibraryElementNode.js +1 -1
  647. package/lib/components/BKJSelect/utils/mergeRefs.d.ts +1 -1
  648. package/lib/components/BKJSelect/utils/mergeRefs.js +12 -12
  649. package/lib/components/BKJSelectSearch/BKJSelectSearch.d.ts +9 -9
  650. package/lib/components/BKJSelectSearch/BKJSelectSearch.js +7 -7
  651. package/lib/components/BKJSelectSearch/BKJSelectSearch.styled.d.ts +3 -3
  652. package/lib/components/BKJSelectSearch/BKJSelectSearch.styled.js +38 -38
  653. package/lib/components/BKJSelectSearch/BKJSelectSearchControls.d.ts +9 -9
  654. package/lib/components/BKJSelectSearch/BKJSelectSearchControls.js +22 -22
  655. package/lib/components/BKJSelectSearch/BKJSelectSearchControls.js.map +1 -1
  656. package/lib/components/BKJSelectSearch/BKJSelectSearchControls.styled.d.ts +3 -3
  657. package/lib/components/BKJSelectSearch/BKJSelectSearchControls.styled.js +35 -35
  658. package/lib/components/BKJSelectSearch/index.d.ts +2 -2
  659. package/lib/components/BKJSelectSearch/index.js +2 -2
  660. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.d.ts +5 -5
  661. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.js +3 -3
  662. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.stories.d.ts +9 -9
  663. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.stories.js +12 -12
  664. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.styled.d.ts +2 -2
  665. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.styled.js +12 -12
  666. package/lib/components/BKJTableMainHeader/index.d.ts +2 -2
  667. package/lib/components/BKJTableMainHeader/index.js +2 -2
  668. package/lib/components/BKJTextArea/BKJTextArea.d.ts +3 -3
  669. package/lib/components/BKJTextArea/BKJTextArea.js +19 -19
  670. package/lib/components/BKJTextArea/BKJTextArea.stories.d.ts +37 -37
  671. package/lib/components/BKJTextArea/BKJTextArea.stories.js +43 -43
  672. package/lib/components/BKJTextArea/BKJTextArea.styled.d.ts +12 -12
  673. package/lib/components/BKJTextArea/BKJTextArea.styled.js +38 -38
  674. package/lib/components/BKJTextArea/BKJTextArea.types.d.ts +14 -14
  675. package/lib/components/BKJTextArea/BKJTextArea.types.js +1 -1
  676. package/lib/components/BKJTextArea/index.d.ts +2 -2
  677. package/lib/components/BKJTextArea/index.js +2 -2
  678. package/lib/components/BKJTextInput/BKJTextInput.css.styled.d.ts +1 -1
  679. package/lib/components/BKJTextInput/BKJTextInput.css.styled.js +21 -21
  680. package/lib/components/BKJTextInput/BKJTextInput.d.ts +3 -3
  681. package/lib/components/BKJTextInput/BKJTextInput.d.ts.map +1 -1
  682. package/lib/components/BKJTextInput/BKJTextInput.js +85 -82
  683. package/lib/components/BKJTextInput/BKJTextInput.js.map +1 -1
  684. package/lib/components/BKJTextInput/BKJTextInput.stories.d.ts +73 -73
  685. package/lib/components/BKJTextInput/BKJTextInput.stories.js +123 -123
  686. package/lib/components/BKJTextInput/BKJTextInput.styled.d.ts +14 -14
  687. package/lib/components/BKJTextInput/BKJTextInput.styled.js +71 -71
  688. package/lib/components/BKJTextInput/BKJTextInput.theme.d.ts +9 -9
  689. package/lib/components/BKJTextInput/BKJTextInput.theme.js +44 -44
  690. package/lib/components/BKJTextInput/BKJTextInput.types.d.ts +87 -87
  691. package/lib/components/BKJTextInput/BKJTextInput.types.js +1 -1
  692. package/lib/components/BKJTextInput/BKJTextInput.utils.d.ts +2 -2
  693. package/lib/components/BKJTextInput/BKJTextInput.utils.js +124 -124
  694. package/lib/components/BKJTextInput/index.d.ts +1 -1
  695. package/lib/components/BKJTextInput/index.js +1 -1
  696. package/lib/components/BKJToastMessage/BKJToastContainer.d.ts +2 -2
  697. package/lib/components/BKJToastMessage/BKJToastContainer.js +4 -4
  698. package/lib/components/BKJToastMessage/BKJToastMessage.d.ts +3 -3
  699. package/lib/components/BKJToastMessage/BKJToastMessage.js +13 -13
  700. package/lib/components/BKJToastMessage/BKJToastMessage.stories.d.ts +27 -27
  701. package/lib/components/BKJToastMessage/BKJToastMessage.stories.d.ts.map +1 -1
  702. package/lib/components/BKJToastMessage/BKJToastMessage.stories.js +32 -35
  703. package/lib/components/BKJToastMessage/BKJToastMessage.stories.js.map +1 -1
  704. package/lib/components/BKJToastMessage/BKJToastMessage.styled.d.ts +15 -15
  705. package/lib/components/BKJToastMessage/BKJToastMessage.styled.d.ts.map +1 -1
  706. package/lib/components/BKJToastMessage/BKJToastMessage.styled.js +121 -117
  707. package/lib/components/BKJToastMessage/BKJToastMessage.styled.js.map +1 -1
  708. package/lib/components/BKJToastMessage/BKJToastMessage.theme.d.ts +2 -2
  709. package/lib/components/BKJToastMessage/BKJToastMessage.theme.js +12 -12
  710. package/lib/components/BKJToastMessage/BKJToastMessage.types.d.ts +12 -12
  711. package/lib/components/BKJToastMessage/BKJToastMessage.types.js +1 -1
  712. package/lib/components/BKJToastMessage/BKJToastMessage.utils.d.ts +6 -6
  713. package/lib/components/BKJToastMessage/BKJToastMessage.utils.js +16 -16
  714. package/lib/components/BKJToastMessage/ToastErrorIcon.d.ts +3 -3
  715. package/lib/components/BKJToastMessage/ToastErrorIcon.js +11 -11
  716. package/lib/components/BKJToastMessage/ToastSuccessIcon.d.ts +3 -3
  717. package/lib/components/BKJToastMessage/ToastSuccessIcon.js +6 -6
  718. package/lib/components/BKJToastMessage/ToastWarnIcon.d.ts +3 -3
  719. package/lib/components/BKJToastMessage/ToastWarnIcon.js +7 -7
  720. package/lib/components/BKJToastMessage/index.d.ts +2 -2
  721. package/lib/components/BKJToastMessage/index.js +2 -2
  722. package/lib/components/BKJToggleInput/BKJToggleInput.constants.d.ts +3 -3
  723. package/lib/components/BKJToggleInput/BKJToggleInput.constants.js +58 -58
  724. package/lib/components/BKJToggleInput/BKJToggleInput.d.ts +3 -3
  725. package/lib/components/BKJToggleInput/BKJToggleInput.js +6 -6
  726. package/lib/components/BKJToggleInput/BKJToggleInput.stories.d.ts +58 -58
  727. package/lib/components/BKJToggleInput/BKJToggleInput.stories.js +74 -74
  728. package/lib/components/BKJToggleInput/BKJToggleInput.styled.d.ts +22 -22
  729. package/lib/components/BKJToggleInput/BKJToggleInput.styled.js +101 -101
  730. package/lib/components/BKJToggleInput/BKJToggleInput.theme.d.ts +2 -2
  731. package/lib/components/BKJToggleInput/BKJToggleInput.theme.js +8 -8
  732. package/lib/components/BKJToggleInput/BKJToggleInput.types.d.ts +22 -22
  733. package/lib/components/BKJToggleInput/BKJToggleInput.types.js +1 -1
  734. package/lib/components/BKJToggleInput/index.d.ts +2 -2
  735. package/lib/components/BKJToggleInput/index.js +2 -2
  736. package/lib/components/BKJTooltipWrapper/BKJTooltip.d.ts +6 -6
  737. package/lib/components/BKJTooltipWrapper/BKJTooltip.js +32 -32
  738. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.context.d.ts +4 -4
  739. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.context.js +21 -21
  740. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.d.ts +3 -3
  741. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.js +15 -15
  742. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.stories.d.ts +18 -18
  743. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.stories.js +31 -31
  744. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.styled.d.ts +10 -10
  745. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.styled.js +57 -57
  746. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.types.d.ts +12 -12
  747. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.types.js +1 -1
  748. package/lib/components/BKJTooltipWrapper/index.d.ts +1 -1
  749. package/lib/components/BKJTooltipWrapper/index.js +1 -1
  750. package/lib/components/BKJTypography/BKJTypography.d.ts +3 -3
  751. package/lib/components/BKJTypography/BKJTypography.js +6 -6
  752. package/lib/components/BKJTypography/BKJTypography.stories.d.ts +23 -23
  753. package/lib/components/BKJTypography/BKJTypography.stories.js +37 -37
  754. package/lib/components/BKJTypography/BKJTypography.styled.d.ts +10 -10
  755. package/lib/components/BKJTypography/BKJTypography.styled.js +24 -24
  756. package/lib/components/BKJTypography/BKJTypography.theme.d.ts +2 -2
  757. package/lib/components/BKJTypography/BKJTypography.theme.js +58 -58
  758. package/lib/components/BKJTypography/BKJTypography.types.d.ts +25 -25
  759. package/lib/components/BKJTypography/BKJTypography.types.js +1 -1
  760. package/lib/components/BKJTypography/index.d.ts +2 -2
  761. package/lib/components/BKJTypography/index.js +2 -2
  762. package/lib/components/ErrorBoundary/ErrorBoundary.d.ts +26 -26
  763. package/lib/components/ErrorBoundary/ErrorBoundary.js +25 -25
  764. package/lib/components/ErrorBoundary/index.d.ts +1 -1
  765. package/lib/components/ErrorBoundary/index.js +1 -1
  766. package/lib/components/Flex/Flex.d.ts +3 -3
  767. package/lib/components/Flex/Flex.js +7 -7
  768. package/lib/components/Flex/Flex.styled.d.ts +2 -2
  769. package/lib/components/Flex/Flex.styled.js +228 -228
  770. package/lib/components/Flex/Flex.types.d.ts +76 -76
  771. package/lib/components/Flex/Flex.types.js +1 -1
  772. package/lib/components/Flex/index.d.ts +2 -2
  773. package/lib/components/Flex/index.js +2 -2
  774. package/lib/components/GenericErrorMessage/GenericErrorMessage.d.ts +14 -14
  775. package/lib/components/GenericErrorMessage/GenericErrorMessage.js +26 -26
  776. package/lib/components/GenericErrorMessage/GenericErrorMessage.styled.d.ts +14 -14
  777. package/lib/components/GenericErrorMessage/GenericErrorMessage.styled.js +139 -139
  778. package/lib/components/GenericErrorMessage/index.d.ts +1 -1
  779. package/lib/components/GenericErrorMessage/index.js +1 -1
  780. package/lib/components/InfiniteScrollLoading/InfiniteScrollLoading.d.ts +7 -7
  781. package/lib/components/InfiniteScrollLoading/InfiniteScrollLoading.js +11 -11
  782. package/lib/components/InfiniteScrollLoading/InfiniteScrollLoading.styled.d.ts +1 -1
  783. package/lib/components/InfiniteScrollLoading/InfiniteScrollLoading.styled.js +2 -2
  784. package/lib/components/InfiniteScrollLoading/index.d.ts +1 -1
  785. package/lib/components/InfiniteScrollLoading/index.js +1 -1
  786. package/lib/components/MobileBKJDropdownMenu/MobileBKJDropdownMenu.d.ts +7 -0
  787. package/lib/components/MobileBKJDropdownMenu/MobileBKJDropdownMenu.d.ts.map +1 -0
  788. package/lib/components/MobileBKJDropdownMenu/MobileBKJDropdownMenu.js +80 -0
  789. package/lib/components/MobileBKJDropdownMenu/MobileBKJDropdownMenu.js.map +1 -0
  790. package/lib/components/MobileBKJDropdownMenu/MobileBKJDropdownMenu.stories.d.ts +10 -0
  791. package/lib/components/MobileBKJDropdownMenu/MobileBKJDropdownMenu.stories.d.ts.map +1 -0
  792. package/lib/components/MobileBKJDropdownMenu/MobileBKJDropdownMenu.stories.js +16 -0
  793. package/lib/components/MobileBKJDropdownMenu/MobileBKJDropdownMenu.stories.js.map +1 -0
  794. package/lib/components/MobileBKJDropdownMenu/index.d.ts +2 -0
  795. package/lib/components/MobileBKJDropdownMenu/index.d.ts.map +1 -0
  796. package/lib/components/MobileBKJDropdownMenu/index.js +2 -0
  797. package/lib/components/MobileBKJDropdownMenu/index.js.map +1 -0
  798. package/lib/components/Portal/Portal.d.ts +9 -9
  799. package/lib/components/Portal/Portal.js +27 -27
  800. package/lib/components/Portal/Portal.types.d.ts +3 -3
  801. package/lib/components/Portal/Portal.types.js +1 -1
  802. package/lib/components/common/InputBaseCSS/index.d.ts +11 -11
  803. package/lib/components/common/InputBaseCSS/index.js +82 -82
  804. package/lib/components/common/ListItemBaseCSS/index.d.ts +5 -5
  805. package/lib/components/common/ListItemBaseCSS/index.js +83 -83
  806. package/lib/components/common/index.d.ts +1 -1
  807. package/lib/components/common/index.js +1 -1
  808. package/lib/components/index.d.ts +44 -43
  809. package/lib/components/index.d.ts.map +1 -1
  810. package/lib/components/index.js +44 -43
  811. package/lib/components/index.js.map +1 -1
  812. package/lib/hooks/index.d.ts +5 -5
  813. package/lib/hooks/index.js +5 -5
  814. package/lib/hooks/useClickOutside.d.ts +1 -1
  815. package/lib/hooks/useClickOutside.js +20 -20
  816. package/lib/hooks/useDebouncedCallback/index.d.ts +1 -1
  817. package/lib/hooks/useDebouncedCallback/index.js +1 -1
  818. package/lib/hooks/useDebouncedCallback/useDebouncedCallback.d.ts +2 -2
  819. package/lib/hooks/useDebouncedCallback/useDebouncedCallback.js +9 -9
  820. package/lib/hooks/useDimensionsRef/index.d.ts +1 -1
  821. package/lib/hooks/useDimensionsRef/index.js +1 -1
  822. package/lib/hooks/useDimensionsRef/useDimensionRef.types.d.ts +8 -8
  823. package/lib/hooks/useDimensionsRef/useDimensionRef.types.js +1 -1
  824. package/lib/hooks/useDimensionsRef/useDimensionsRef.d.ts +2 -2
  825. package/lib/hooks/useDimensionsRef/useDimensionsRef.js +26 -26
  826. package/lib/hooks/useFormBehaviors/index.d.ts +2 -2
  827. package/lib/hooks/useFormBehaviors/index.js +2 -2
  828. package/lib/hooks/useFormBehaviors/useFormBehaviors.constants.d.ts +1 -1
  829. package/lib/hooks/useFormBehaviors/useFormBehaviors.constants.js +1 -1
  830. package/lib/hooks/useFormBehaviors/useFormBehaviors.d.ts +6 -6
  831. package/lib/hooks/useFormBehaviors/useFormBehaviors.js +198 -198
  832. package/lib/hooks/useFormBehaviors/useFormBehaviors.types.d.ts +45 -45
  833. package/lib/hooks/useFormBehaviors/useFormBehaviors.types.js +8 -8
  834. package/lib/hooks/useFormBehaviors/useFormBehaviors.utils.d.ts +5 -5
  835. package/lib/hooks/useFormBehaviors/useFormBehaviors.utils.js +19 -19
  836. package/lib/hooks/useIntersectionObserver/index.d.ts +1 -1
  837. package/lib/hooks/useIntersectionObserver/index.js +1 -1
  838. package/lib/hooks/useIntersectionObserver/useIntersectionObserver.d.ts +2 -2
  839. package/lib/hooks/useIntersectionObserver/useIntersectionObserver.js +26 -26
  840. package/lib/hooks/useMouseOutside.d.ts +1 -1
  841. package/lib/hooks/useMouseOutside.js +20 -20
  842. package/lib/hooks/usePersistentState/index.d.ts +1 -1
  843. package/lib/hooks/usePersistentState/index.js +1 -1
  844. package/lib/hooks/usePersistentState/usePersistentState.d.ts +2 -2
  845. package/lib/hooks/usePersistentState/usePersistentState.js +29 -29
  846. package/lib/hooks/usePortalTargetElement.d.ts +2 -2
  847. package/lib/hooks/usePortalTargetElement.js +14 -14
  848. package/lib/hooks/useScrollIntoView.d.ts +2 -2
  849. package/lib/hooks/useScrollIntoView.js +9 -9
  850. package/lib/index.d.ts +3 -2
  851. package/lib/index.d.ts.map +1 -1
  852. package/lib/index.js +3 -2
  853. package/lib/index.js.map +1 -1
  854. package/lib/locales/en/en_US.json +7 -0
  855. package/lib/locales/fr/fr-CA.json +7 -0
  856. package/lib/locales/locales.types.d.ts +3 -0
  857. package/lib/locales/locales.types.d.ts.map +1 -0
  858. package/lib/locales/locales.types.js +2 -0
  859. package/lib/locales/locales.types.js.map +1 -0
  860. package/lib/providers/BKJThemeProvider/BKJColors.d.ts +56 -56
  861. package/lib/providers/BKJThemeProvider/BKJColors.js +56 -56
  862. package/lib/providers/BKJThemeProvider/BKJThemeProvider.d.ts +3 -3
  863. package/lib/providers/BKJThemeProvider/BKJThemeProvider.js +6 -6
  864. package/lib/providers/BKJThemeProvider/BKJThemeProvider.styled.d.ts +2 -2
  865. package/lib/providers/BKJThemeProvider/BKJThemeProvider.styled.js +148 -148
  866. package/lib/providers/BKJThemeProvider/BKJThemeProvider.theme.d.ts +10 -10
  867. package/lib/providers/BKJThemeProvider/BKJThemeProvider.theme.js +220 -220
  868. package/lib/providers/BKJThemeProvider/BKJThemeProvider.types.d.ts +223 -223
  869. package/lib/providers/BKJThemeProvider/BKJThemeProvider.types.js +9 -9
  870. package/lib/providers/BKJThemeProvider/index.d.ts +3 -3
  871. package/lib/providers/BKJThemeProvider/index.js +3 -3
  872. package/lib/providers/I18NextProvider.d.ts +3 -0
  873. package/lib/providers/I18NextProvider.d.ts.map +1 -0
  874. package/lib/providers/I18NextProvider.js +28 -0
  875. package/lib/providers/I18NextProvider.js.map +1 -0
  876. package/lib/providers/index.d.ts +1 -1
  877. package/lib/providers/index.js +1 -1
  878. package/lib/utils/deepEquals.d.ts +1 -1
  879. package/lib/utils/deepEquals.js +2 -2
  880. package/lib/utils/findValueByKey.d.ts +1 -1
  881. package/lib/utils/findValueByKey.js +8 -8
  882. package/lib/utils/isEmpty.d.ts +1 -1
  883. package/lib/utils/isEmpty.js +8 -8
  884. package/lib/utils/maskFloat.d.ts +1 -1
  885. package/lib/utils/maskFloat.js +8 -8
  886. package/lib/utils/serialize.d.ts +2 -2
  887. package/lib/utils/serialize.js +2 -2
  888. package/lib/utils/withMemo.d.ts +1 -1
  889. package/lib/utils/withMemo.js +5 -5
  890. package/package.json +193 -191
  891. /package/{LICENSE → LICENSE.txt} +0 -0
@@ -1,22 +1,22 @@
1
- import { createElement as _createElement } from "react";
2
- import { forwardRef } from 'react';
3
- import { BKJListItem } from '../../BKJListItem/index.js';
4
- import { useBKJComboBoxAsyncContext } from './BKJComboBoxAsync.context.js';
5
- export const BKJComboBoxAsyncItem = forwardRef((props, ref) => {
6
- const { value, index, label, style, disabled, type } = props;
7
- const { getItemProps, selectedItem, highlightedIndex, name } = useBKJComboBoxAsyncContext();
8
- const itemProps = getItemProps({
9
- item: props,
10
- isSelected: selectedItem?.value === value,
11
- index,
12
- value,
13
- label,
14
- checked: selectedItem?.value === value,
15
- disabled,
16
- style,
17
- name,
18
- ref,
19
- });
20
- return (_createElement(BKJListItem, Object.assign({ variant: "SpaceBetween", isTargeted: highlightedIndex === index }, itemProps, { selected: [selectedItem?.value], ref: ref, key: `${value}`, type: type })));
21
- });
1
+ import { createElement as _createElement } from "react";
2
+ import { forwardRef } from 'react';
3
+ import { BKJListItem } from '../../BKJListItem/index.js';
4
+ import { useBKJComboBoxAsyncContext } from './BKJComboBoxAsync.context.js';
5
+ export const BKJComboBoxAsyncItem = forwardRef((props, ref) => {
6
+ const { value, index, label, style, disabled, type } = props;
7
+ const { getItemProps, selectedItem, highlightedIndex, name } = useBKJComboBoxAsyncContext();
8
+ const itemProps = getItemProps({
9
+ item: props,
10
+ isSelected: selectedItem?.value === value,
11
+ index,
12
+ value,
13
+ label,
14
+ checked: selectedItem?.value === value,
15
+ disabled,
16
+ style,
17
+ name,
18
+ ref,
19
+ });
20
+ return (_createElement(BKJListItem, Object.assign({ variant: "SpaceBetween", isTargeted: highlightedIndex === index }, itemProps, { selected: [selectedItem?.value], ref: ref, key: `${value}`, subLabel: props?.subLabel, type: type })));
21
+ });
22
22
  //# sourceMappingURL=BKJComboBoxAsyncItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BKJComboBoxAsyncItem.js","sourceRoot":"","sources":["../../../../src/components/BKJComboBoxAsync/src/BKJComboBoxAsyncItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAExE,MAAM,CAAC,MAAM,oBAAoB,GAAG,UAAU,CAC5C,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IACb,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAC7D,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,IAAI,EAAE,GAAG,0BAA0B,EAAE,CAAC;IAC5F,MAAM,SAAS,GAAG,YAAY,CAAC;QAC7B,IAAI,EAAE,KAAK;QACX,UAAU,EAAE,YAAY,EAAE,KAAK,KAAK,KAAK;QACzC,KAAK;QACL,KAAK;QACL,KAAK;QACL,OAAO,EAAE,YAAY,EAAE,KAAK,KAAK,KAAK;QACtC,QAAQ;QACR,KAAK;QACL,IAAI;QACJ,GAAG;KACJ,CAAC,CAAC;IACH,OAAO,CACL,eAAC,WAAW,kBACV,OAAO,EAAC,cAAc,EACtB,UAAU,EAAE,gBAAgB,KAAK,KAAK,IAClC,SAAS,IACb,QAAQ,EAAE,CAAC,YAAY,EAAE,KAAK,CAAC,EAC/B,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,GAAG,KAAK,EAAE,EACf,IAAI,EAAE,IAAI,IACV,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"BKJComboBoxAsyncItem.js","sourceRoot":"","sources":["../../../../src/components/BKJComboBoxAsync/src/BKJComboBoxAsyncItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAExE,MAAM,CAAC,MAAM,oBAAoB,GAAG,UAAU,CAC5C,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IACb,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAC7D,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,IAAI,EAAE,GAAG,0BAA0B,EAAE,CAAC;IAC5F,MAAM,SAAS,GAAG,YAAY,CAAC;QAC7B,IAAI,EAAE,KAAK;QACX,UAAU,EAAE,YAAY,EAAE,KAAK,KAAK,KAAK;QACzC,KAAK;QACL,KAAK;QACL,KAAK;QACL,OAAO,EAAE,YAAY,EAAE,KAAK,KAAK,KAAK;QACtC,QAAQ;QACR,KAAK;QACL,IAAI;QACJ,GAAG;KACJ,CAAC,CAAC;IACH,OAAO,CACL,eAAC,WAAW,kBACV,OAAO,EAAC,cAAc,EACtB,UAAU,EAAE,gBAAgB,KAAK,KAAK,IAClC,SAAS,IACb,QAAQ,EAAE,CAAC,YAAY,EAAE,KAAK,CAAC,EAC/B,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,GAAG,KAAK,EAAE,EACf,QAAQ,EAAE,KAAK,EAAE,QAAQ,EACzB,IAAI,EAAE,IAAI,IACV,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,6 +1,8 @@
1
- import { FC } from 'react';
2
- import { IBKJComboBoxAsyncProps } from '../BKJComboBoxAsync.types.js';
3
- export declare const BKJComboBoxOptions: FC<{
4
- overrides: IBKJComboBoxAsyncProps['overrides'];
5
- }>;
1
+ import { FC } from 'react';
2
+ import { IBKJComboBoxAsyncProps } from '../BKJComboBoxAsync.types.js';
3
+ import { Placement } from '@popperjs/core';
4
+ export declare const BKJComboBoxOptions: FC<{
5
+ overrides: IBKJComboBoxAsyncProps['overrides'];
6
+ allowedAutoPlacements?: Placement[];
7
+ }>;
6
8
  //# sourceMappingURL=BKJComboBoxAsyncOptions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BKJComboBoxAsyncOptions.d.ts","sourceRoot":"","sources":["../../../../src/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAqB,MAAM,OAAO,CAAC;AAM9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AASnE,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC;IAAE,SAAS,EAAE,sBAAsB,CAAC,WAAW,CAAC,CAAA;CAAE,CAkCrF,CAAC"}
1
+ {"version":3,"file":"BKJComboBoxAsyncOptions.d.ts","sourceRoot":"","sources":["../../../../src/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAqB,MAAM,OAAO,CAAC;AAM9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAInE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAM3C,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC;IAClC,SAAS,EAAE,sBAAsB,CAAC,WAAW,CAAC,CAAC;IAC/C,qBAAqB,CAAC,EAAE,SAAS,EAAE,CAAC;CACrC,CAkCA,CAAC"}
@@ -1,26 +1,26 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Fragment, useMemo } from 'react';
3
- import { usePopper } from 'react-popper';
4
- import { BKJDropdown } from '../../BKJDropdown/index.js';
5
- import { mergeRefs } from '../../BKJSelect/utils/mergeRefs.js';
6
- import { Portal } from '../../Portal/Portal.js';
7
- import { getPopperOptions, optionsVariant } from '../BKJComboBoxAsync.utils.js';
8
- import { useBKJComboBoxAsyncContext } from './BKJComboBoxAsync.context.js';
9
- import { BKJComboBoxAsyncOptionsMapper } from './BKJComboBoxAsyncOptionsMapper.js';
10
- const variantMap = {
11
- Search: 'SeamlessRounded',
12
- };
13
- export const BKJComboBoxOptions = ({ overrides = [], }) => {
14
- const { error, isOpen, parentRef, getMenuProps, anchorElement, dropdownElement, setDropdownElement, portalTargetElement, searchValue, } = useBKJComboBoxAsyncContext();
15
- const popperOpts = useMemo(getPopperOptions, []);
16
- const { styles } = usePopper(anchorElement, dropdownElement, popperOpts);
17
- if (overrides.includes('NoInitialResults')) {
18
- if (typeof searchValue === 'string' && searchValue === '')
19
- return _jsx(Fragment, {}, void 0);
20
- }
21
- return (_jsx(Portal, Object.assign({ targetElement: portalTargetElement }, { children: _jsx(BKJDropdown, Object.assign({ "$isOpen": isOpen, "$dropdownVariant": variantMap[optionsVariant], error: error }, getMenuProps({
22
- ref: mergeRefs([parentRef, setDropdownElement]),
23
- style: styles['popper'],
24
- }), { children: isOpen && _jsx(BKJComboBoxAsyncOptionsMapper, { overrides: overrides }, void 0) }), void 0) }), void 0));
25
- };
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Fragment, useMemo } from 'react';
3
+ import { usePopper } from 'react-popper';
4
+ import { BKJDropdown } from '../../BKJDropdown/index.js';
5
+ import { mergeRefs } from '../../BKJSelect/utils/mergeRefs.js';
6
+ import { Portal } from '../../Portal/Portal.js';
7
+ import { getPopperOptions, optionsVariant } from '../BKJComboBoxAsync.utils.js';
8
+ import { useBKJComboBoxAsyncContext } from './BKJComboBoxAsync.context.js';
9
+ import { BKJComboBoxAsyncOptionsMapper } from './BKJComboBoxAsyncOptionsMapper.js';
10
+ const variantMap = {
11
+ Search: 'SeamlessRounded',
12
+ };
13
+ export const BKJComboBoxOptions = ({ overrides = [] }) => {
14
+ const { error, isOpen, parentRef, getMenuProps, anchorElement, dropdownElement, setDropdownElement, portalTargetElement, searchValue, isDropdownReverse, } = useBKJComboBoxAsyncContext();
15
+ const popperOpts = useMemo(getPopperOptions, []);
16
+ const { styles } = usePopper(anchorElement, dropdownElement, popperOpts);
17
+ if (overrides.includes('NoInitialResults')) {
18
+ if (typeof searchValue === 'string' && searchValue === '')
19
+ return _jsx(Fragment, {}, void 0);
20
+ }
21
+ return (_jsx(Portal, Object.assign({ targetElement: portalTargetElement }, { children: _jsx(BKJDropdown, Object.assign({ "$isOpen": isOpen, "$dropdownVariant": variantMap[optionsVariant], error: error }, getMenuProps({
22
+ ref: mergeRefs([parentRef, setDropdownElement]),
23
+ style: styles['popper'],
24
+ }), { openBorderLocation: isDropdownReverse ? 'bottom' : 'top' }, { children: isOpen && _jsx(BKJComboBoxAsyncOptionsMapper, { overrides: overrides }, void 0) }), void 0) }), void 0));
25
+ };
26
26
  //# sourceMappingURL=BKJComboBoxAsyncOptions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BKJComboBoxAsyncOptions.js","sourceRoot":"","sources":["../../../../src/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptions.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAM,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAEhF,MAAM,UAAU,GAAgD;IAC9D,MAAM,EAAE,iBAAiB;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAA2D,CAAC,EACzF,SAAS,GAAG,EAAE,GACf,EAAE,EAAE;IACH,MAAM,EACJ,KAAK,EACL,MAAM,EACN,SAAS,EACT,YAAY,EACZ,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,WAAW,GACZ,GAAG,0BAA0B,EAAE,CAAC;IACjC,MAAM,UAAU,GAAG,OAAO,CAAC,gBAAgB,EAAE,EAAE,CAAC,CAAC;IACjD,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC,aAAa,EAAE,eAAe,EAAE,UAAU,CAAC,CAAC;IACzE,IAAI,SAAS,CAAC,QAAQ,CAAC,kBAAkB,CAAC,EAAE;QAC1C,IAAI,OAAO,WAAW,KAAK,QAAQ,IAAI,WAAW,KAAK,EAAE;YAAE,OAAO,KAAC,QAAQ,aAAG,CAAC;KAChF;IACD,OAAO,CACL,KAAC,MAAM,kBAAC,aAAa,EAAE,mBAAmB,gBACxC,KAAC,WAAW,6BACD,MAAM,sBACG,UAAU,CAAC,cAAc,CAAC,EAC5C,KAAK,EAAE,KAAK,IACR,YAAY,CAAC;YACf,GAAG,EAAE,SAAS,CAAC,CAAC,SAAS,EAAE,kBAAkB,CAAC,CAAC;YAC/C,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC;SACxB,CAAC,cAED,MAAM,IAAI,KAAC,6BAA6B,IAAC,SAAS,EAAE,SAAS,WAAI,YACtD,YACP,CACV,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"BKJComboBoxAsyncOptions.js","sourceRoot":"","sources":["../../../../src/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptions.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAM,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAGhF,MAAM,UAAU,GAAgD;IAC9D,MAAM,EAAE,iBAAiB;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAG1B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,EAAE,EAAE;IAC1B,MAAM,EACJ,KAAK,EACL,MAAM,EACN,SAAS,EACT,YAAY,EACZ,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,WAAW,EACX,iBAAiB,GAClB,GAAG,0BAA0B,EAAE,CAAC;IACjC,MAAM,UAAU,GAAG,OAAO,CAAC,gBAAgB,EAAE,EAAE,CAAC,CAAC;IACjD,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC,aAAa,EAAE,eAAe,EAAE,UAAU,CAAC,CAAC;IACzE,IAAI,SAAS,CAAC,QAAQ,CAAC,kBAAkB,CAAC,EAAE;QAC1C,IAAI,OAAO,WAAW,KAAK,QAAQ,IAAI,WAAW,KAAK,EAAE;YAAE,OAAO,KAAC,QAAQ,aAAG,CAAC;KAChF;IACD,OAAO,CACL,KAAC,MAAM,kBAAC,aAAa,EAAE,mBAAmB,gBACxC,KAAC,WAAW,6BACD,MAAM,sBACG,UAAU,CAAC,cAAc,CAAC,EAC5C,KAAK,EAAE,KAAK,IACR,YAAY,CAAC;YACf,GAAG,EAAE,SAAS,CAAC,CAAC,SAAS,EAAE,kBAAkB,CAAC,CAAC;YAC/C,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC;SACxB,CAAC,IACF,kBAAkB,EAAE,iBAAiB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,gBAEvD,MAAM,IAAI,KAAC,6BAA6B,IAAC,SAAS,EAAE,SAAS,WAAI,YACtD,YACP,CACV,CAAC;AACJ,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
- import { FC } from 'react';
2
- import { IBKJComboBoxAsyncProps } from '../BKJComboBoxAsync.types.js';
3
- export declare const BKJComboBoxAsyncOptionsMapper: FC<{
4
- overrides?: IBKJComboBoxAsyncProps['overrides'];
5
- }>;
1
+ import { FC } from 'react';
2
+ import { IBKJComboBoxAsyncProps } from '../BKJComboBoxAsync.types.js';
3
+ export declare const BKJComboBoxAsyncOptionsMapper: FC<{
4
+ overrides?: IBKJComboBoxAsyncProps['overrides'];
5
+ }>;
6
6
  //# sourceMappingURL=BKJComboBoxAsyncOptionsMapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BKJComboBoxAsyncOptionsMapper.d.ts","sourceRoot":"","sources":["../../../../src/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptionsMapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAwB,MAAM,OAAO,CAAC;AAGjD,OAAO,EAA2B,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAI5F,eAAO,MAAM,6BAA6B,EAAE,EAAE,CAAC;IAC7C,SAAS,CAAC,EAAE,sBAAsB,CAAC,WAAW,CAAC,CAAC;CACjD,CAwFA,CAAC"}
1
+ {"version":3,"file":"BKJComboBoxAsyncOptionsMapper.d.ts","sourceRoot":"","sources":["../../../../src/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptionsMapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAwB,MAAM,OAAO,CAAC;AAGjD,OAAO,EAA2B,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAI5F,eAAO,MAAM,6BAA6B,EAAE,EAAE,CAAC;IAC7C,SAAS,CAAC,EAAE,sBAAsB,CAAC,WAAW,CAAC,CAAC;CACjD,CAiGA,CAAC"}
@@ -1,60 +1,61 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Fragment, useContext } from 'react';
3
- import { BKJListItem } from '../../BKJListItem/index.js';
4
- import { InfiniteScrollLoading } from '../../InfiniteScrollLoading/index.js';
5
- import { useBKJComboBoxAsyncContext } from './BKJComboBoxAsync.context.js';
6
- import { BKJComboBoxAsyncItem } from './BKJComboBoxAsyncItem.js';
7
- export const BKJComboBoxAsyncOptionsMapper = ({ overrides = [] }) => {
8
- const { options, rowVirtualizer, context, name } = useBKJComboBoxAsyncContext();
9
- const { loadMore, status } = useContext(context);
10
- const hasGroupedOptions = options.some((opt) => opt.type === 'Group');
11
- switch (status) {
12
- case 'ERROR':
13
- return (_jsx(Fragment, { children: _jsx(BKJListItem, { variant: "SpaceBetween", label: "Error: Something went wrong", value: "ERROR", name: "ERROR", onChange: () => null, selected: [] }, "ERROR") }, void 0));
14
- case 'LOADING':
15
- case 'READY':
16
- default: {
17
- return (_jsxs(Fragment, { children: [_jsx("div", { style: {
18
- height: rowVirtualizer.totalSize,
19
- } }, "total-size"),
20
- rowVirtualizer.virtualItems.map((virtualRow) => {
21
- const { id, label, disabled, value, style, type } = options[virtualRow.index];
22
- const commonProps = {
23
- id: id,
24
- label: label,
25
- disabled: !!disabled,
26
- value: value,
27
- index: virtualRow.index,
28
- name: name,
29
- style: {
30
- ...style,
31
- position: 'absolute',
32
- top: 0,
33
- left: 0,
34
- width: '100%',
35
- transform: `translateY(${virtualRow.start}px)`,
36
- },
37
- key: id,
38
- ref: virtualRow.measureRef,
39
- };
40
- switch (type) {
41
- case 'Group':
42
- return _jsx(BKJComboBoxAsyncItem, Object.assign({}, commonProps, { type: "Group" }), void 0);
43
- case 'Loader':
44
- return (_jsx(InfiniteScrollLoading, Object.assign({}, commonProps, { onViewportEnter: loadMore, type: "Loader" }), void 0));
45
- case 'NoResults': {
46
- if (overrides.includes('NoInitialResults')) {
47
- if (status !== 'LOADING')
48
- return _jsx(BKJComboBoxAsyncItem, Object.assign({}, commonProps, { type: "NoResults" }), void 0);
49
- }
50
- return _jsx(BKJComboBoxAsyncItem, Object.assign({}, commonProps, { type: "NoResults" }), void 0);
51
- }
52
- case 'Standard':
53
- default:
54
- return (_jsx(BKJComboBoxAsyncItem, Object.assign({}, commonProps, { type: hasGroupedOptions ? 'Indented' : 'Standard' }), void 0));
55
- }
56
- })] }, void 0));
57
- }
58
- }
59
- };
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Fragment, useContext } from 'react';
3
+ import { BKJListItem } from '../../BKJListItem/index.js';
4
+ import { InfiniteScrollLoading } from '../../InfiniteScrollLoading/index.js';
5
+ import { useBKJComboBoxAsyncContext } from './BKJComboBoxAsync.context.js';
6
+ import { BKJComboBoxAsyncItem } from './BKJComboBoxAsyncItem.js';
7
+ export const BKJComboBoxAsyncOptionsMapper = ({ overrides = [] }) => {
8
+ const { options, rowVirtualizer, context, name } = useBKJComboBoxAsyncContext();
9
+ const { loadMore, status } = useContext(context);
10
+ const hasGroupedOptions = options.some((opt) => opt.type === 'Group');
11
+ switch (status) {
12
+ case 'ERROR':
13
+ return (_jsx(Fragment, { children: _jsx(BKJListItem, { variant: "SpaceBetween", label: "Error: Something went wrong", value: "ERROR", name: "ERROR", onChange: () => null, selected: [] }, "ERROR") }, void 0));
14
+ case 'LOADING':
15
+ case 'READY':
16
+ default: {
17
+ return (_jsxs(Fragment, { children: [_jsx("div", { style: {
18
+ height: rowVirtualizer.totalSize,
19
+ } }, "total-size"),
20
+ rowVirtualizer.virtualItems.map((virtualRow) => {
21
+ const { id, label, disabled, value, style, type, subLabel = '', } = options[virtualRow.index];
22
+ const commonProps = {
23
+ id: id,
24
+ label: label,
25
+ disabled: !!disabled,
26
+ value: value,
27
+ index: virtualRow.index,
28
+ name: name,
29
+ subLabel,
30
+ style: {
31
+ ...style,
32
+ position: 'absolute',
33
+ top: 0,
34
+ left: 0,
35
+ width: '100%',
36
+ transform: `translateY(${virtualRow.start}px)`,
37
+ },
38
+ key: id,
39
+ ref: virtualRow.measureRef,
40
+ };
41
+ switch (type) {
42
+ case 'Group':
43
+ return _jsx(BKJComboBoxAsyncItem, Object.assign({}, commonProps, { type: "Group" }), void 0);
44
+ case 'Loader':
45
+ return (_jsx(InfiniteScrollLoading, Object.assign({}, commonProps, { onViewportEnter: loadMore, type: "Loader" }), void 0));
46
+ case 'NoResults': {
47
+ if (overrides.includes('NoInitialResults')) {
48
+ if (status !== 'LOADING')
49
+ return _jsx(BKJComboBoxAsyncItem, Object.assign({}, commonProps, { type: "NoResults" }), void 0);
50
+ }
51
+ return _jsx(BKJComboBoxAsyncItem, Object.assign({}, commonProps, { type: "NoResults" }), void 0);
52
+ }
53
+ case 'Standard':
54
+ default:
55
+ return (_jsx(BKJComboBoxAsyncItem, Object.assign({}, commonProps, { type: hasGroupedOptions ? 'Indented' : 'Standard' }), void 0));
56
+ }
57
+ })] }, void 0));
58
+ }
59
+ }
60
+ };
60
61
  //# sourceMappingURL=BKJComboBoxAsyncOptionsMapper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BKJComboBoxAsyncOptionsMapper.js","sourceRoot":"","sources":["../../../../src/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptionsMapper.tsx"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"BKJComboBoxAsyncOptionsMapper.js","sourceRoot":"","sources":["../../../../src/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptionsMapper.tsx"],"names":[],"mappings":"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"}
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
2
- import { IBKJDialogProps } from './BKJDialog.types.js';
3
- export declare const BKJDialog: FC<IBKJDialogProps>;
1
+ import { FC } from 'react';
2
+ import { IBKJDialogProps } from './BKJDialog.types.js';
3
+ export declare const BKJDialog: FC<IBKJDialogProps>;
4
4
  //# sourceMappingURL=BKJDialog.d.ts.map
@@ -1,31 +1,31 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { forwardRef, useCallback, useEffect } from 'react';
3
- import { BKJButton } from '../BKJButton/index.js';
4
- import { BKJDialogWrapper, Title, Text, CloseIcon, ButtonGroup, TextWrapper, CloseIconWrapper, } from './BKJDialog.styled.js';
5
- const CancelVariantMap = {
6
- Danger: 'PurpleOutlined',
7
- Default: 'PurpleOutlined',
8
- };
9
- const ActionVariantMap = {
10
- Danger: 'RedSolid',
11
- Default: 'PurpleSolid',
12
- };
13
- export const BKJDialog = forwardRef(({ variant, title, text, cancelLabel, actionLabel, onAction, onCancel, onClose, ...rest }, ref) => {
14
- const handleKeyUp = useCallback((event) => {
15
- if (event.key === 'Escape') {
16
- onClose();
17
- }
18
- }, [onClose]);
19
- useEffect(() => {
20
- document.addEventListener('keyup', handleKeyUp);
21
- return () => {
22
- document.removeEventListener('keyup', handleKeyUp);
23
- };
24
- }, [handleKeyUp]);
25
- return (_jsxs(BKJDialogWrapper, Object.assign({}, rest, { variant: variant, ref: ref }, { children: [_jsx(CloseIconWrapper, Object.assign({ onClick: onClose, role: "button", tabIndex: 0 }, { children: _jsx(CloseIcon, { iconName: "CloseBold" }, void 0) }), void 0),
26
- _jsxs(TextWrapper, { children: [_jsx(Title, { children: title }, void 0),
27
- _jsx(Text, { children: text }, void 0)] }, void 0),
28
- _jsxs(ButtonGroup, { children: [_jsx(BKJButton, Object.assign({ variant: CancelVariantMap[variant], onClick: onCancel }, { children: cancelLabel }), void 0),
29
- _jsx(BKJButton, Object.assign({ variant: ActionVariantMap[variant], onClick: onAction }, { children: actionLabel }), void 0)] }, void 0)] }), void 0));
30
- });
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { forwardRef, useCallback, useEffect } from 'react';
3
+ import { BKJButton } from '../BKJButton/index.js';
4
+ import { BKJDialogWrapper, Title, Text, CloseIcon, ButtonGroup, TextWrapper, CloseIconWrapper, } from './BKJDialog.styled.js';
5
+ const CancelVariantMap = {
6
+ Danger: 'PurpleOutlined',
7
+ Default: 'PurpleOutlined',
8
+ };
9
+ const ActionVariantMap = {
10
+ Danger: 'RedSolid',
11
+ Default: 'PurpleSolid',
12
+ };
13
+ export const BKJDialog = forwardRef(({ variant, title, text, cancelLabel, actionLabel, onAction, onCancel, onClose, ...rest }, ref) => {
14
+ const handleKeyUp = useCallback((event) => {
15
+ if (event.key === 'Escape') {
16
+ onClose();
17
+ }
18
+ }, [onClose]);
19
+ useEffect(() => {
20
+ document.addEventListener('keyup', handleKeyUp);
21
+ return () => {
22
+ document.removeEventListener('keyup', handleKeyUp);
23
+ };
24
+ }, [handleKeyUp]);
25
+ return (_jsxs(BKJDialogWrapper, Object.assign({}, rest, { variant: variant, ref: ref }, { children: [_jsx(CloseIconWrapper, Object.assign({ onClick: onClose, role: "button", tabIndex: 0 }, { children: _jsx(CloseIcon, { iconName: "CloseBold" }, void 0) }), void 0),
26
+ _jsxs(TextWrapper, { children: [_jsx(Title, { children: title }, void 0),
27
+ _jsx(Text, { children: text }, void 0)] }, void 0),
28
+ _jsxs(ButtonGroup, { children: [_jsx(BKJButton, Object.assign({ variant: CancelVariantMap[variant], onClick: onCancel }, { children: cancelLabel }), void 0),
29
+ _jsx(BKJButton, Object.assign({ variant: ActionVariantMap[variant], onClick: onAction }, { children: actionLabel }), void 0)] }, void 0)] }), void 0));
30
+ });
31
31
  //# sourceMappingURL=BKJDialog.js.map
@@ -1,35 +1,35 @@
1
- /// <reference types="react" />
2
- import { Story } from '@storybook/react';
3
- import { IBKJDialogProps } from './BKJDialog.types.js';
4
- declare const _default: {
5
- title: string;
6
- component: import("react").FC<IBKJDialogProps>;
7
- argTypes: {
8
- variant: {
9
- name: string;
10
- control: {
11
- type: string;
12
- };
13
- option: string[];
14
- };
15
- title: {
16
- name: string;
17
- type: string;
18
- };
19
- text: {
20
- name: string;
21
- type: string;
22
- };
23
- cancelLabel: {
24
- name: string;
25
- type: string;
26
- };
27
- actionLabel: {
28
- name: string;
29
- type: string;
30
- };
31
- };
32
- };
33
- export default _default;
34
- export declare const Default: Story<IBKJDialogProps>;
1
+ /// <reference types="react" />
2
+ import { Story } from '@storybook/react';
3
+ import { IBKJDialogProps } from './BKJDialog.types.js';
4
+ declare const _default: {
5
+ title: string;
6
+ component: import("react").FC<IBKJDialogProps>;
7
+ argTypes: {
8
+ variant: {
9
+ name: string;
10
+ control: {
11
+ type: string;
12
+ };
13
+ option: string[];
14
+ };
15
+ title: {
16
+ name: string;
17
+ type: string;
18
+ };
19
+ text: {
20
+ name: string;
21
+ type: string;
22
+ };
23
+ cancelLabel: {
24
+ name: string;
25
+ type: string;
26
+ };
27
+ actionLabel: {
28
+ name: string;
29
+ type: string;
30
+ };
31
+ };
32
+ };
33
+ export default _default;
34
+ export declare const Default: Story<IBKJDialogProps>;
35
35
  //# sourceMappingURL=BKJDialog.stories.d.ts.map
@@ -1,43 +1,43 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { BKJDialog } from 'index.js';
3
- export default {
4
- title: 'Modals/BKJDialog',
5
- component: BKJDialog,
6
- argTypes: {
7
- variant: {
8
- name: 'Variation',
9
- control: {
10
- type: 'select',
11
- },
12
- option: ['Default', 'Danger'],
13
- },
14
- title: {
15
- name: 'Title',
16
- type: 'string',
17
- },
18
- text: {
19
- name: 'Text',
20
- type: 'string',
21
- },
22
- cancelLabel: {
23
- name: 'Cancel Label',
24
- type: 'string',
25
- },
26
- actionLabel: {
27
- name: 'Action Label',
28
- type: 'string',
29
- },
30
- },
31
- };
32
- const Template = (args) => (_jsx(BKJDialog, Object.assign({}, args, { onClose: () => {
33
- alert('close');
34
- } }), void 0));
35
- export const Default = Template.bind({});
36
- Default.args = {
37
- variant: 'Default',
38
- title: 'Edit shift details?',
39
- text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur in cursus risus, luctus posuere quam. Sed pharetra erat velit. Nullam fermentum ligula ut ultrices iaculis. Praesent bibendum commodo ligula a elementum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nam molestie est id laoreet scelerisque. Donec nec massa nisl. Donec vulputate elementum sagittis. Etiam accumsan imperdiet enim, aliquet suscipit nisl pharetra id. Pellentesque gravida pulvinar sapien, quis aliquet ligula sollicitudin id. Sed non erat varius ligula ultrices mattis. Phasellus ipsum nibh, scelerisque non vulputate vel, feugiat in magna. Duis accumsan auctor eleifend. Curabitur elementum metus eget laoreet ultricies. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.',
40
- cancelLabel: 'Cancel',
41
- actionLabel: 'Confirm',
42
- };
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { BKJDialog } from 'index.js';
3
+ export default {
4
+ title: 'Modals/BKJDialog',
5
+ component: BKJDialog,
6
+ argTypes: {
7
+ variant: {
8
+ name: 'Variation',
9
+ control: {
10
+ type: 'select',
11
+ },
12
+ option: ['Default', 'Danger'],
13
+ },
14
+ title: {
15
+ name: 'Title',
16
+ type: 'string',
17
+ },
18
+ text: {
19
+ name: 'Text',
20
+ type: 'string',
21
+ },
22
+ cancelLabel: {
23
+ name: 'Cancel Label',
24
+ type: 'string',
25
+ },
26
+ actionLabel: {
27
+ name: 'Action Label',
28
+ type: 'string',
29
+ },
30
+ },
31
+ };
32
+ const Template = (args) => (_jsx(BKJDialog, Object.assign({}, args, { onClose: () => {
33
+ alert('close');
34
+ } }), void 0));
35
+ export const Default = Template.bind({});
36
+ Default.args = {
37
+ variant: 'Default',
38
+ title: 'Edit shift details?',
39
+ text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur in cursus risus, luctus posuere quam. Sed pharetra erat velit. Nullam fermentum ligula ut ultrices iaculis. Praesent bibendum commodo ligula a elementum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nam molestie est id laoreet scelerisque. Donec nec massa nisl. Donec vulputate elementum sagittis. Etiam accumsan imperdiet enim, aliquet suscipit nisl pharetra id. Pellentesque gravida pulvinar sapien, quis aliquet ligula sollicitudin id. Sed non erat varius ligula ultrices mattis. Phasellus ipsum nibh, scelerisque non vulputate vel, feugiat in magna. Duis accumsan auctor eleifend. Curabitur elementum metus eget laoreet ultricies. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.',
40
+ cancelLabel: 'Cancel',
41
+ actionLabel: 'Confirm',
42
+ };
43
43
  //# sourceMappingURL=BKJDialog.stories.js.map
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
2
- export declare const BKJDialogWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, any, never>;
3
- export declare const CloseIconWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
- export declare const CloseIcon: import("styled-components").StyledComponent<import("react").FC<import("../BKJIcon/BKJIcon.types.js").IBKJIconProps>, import("styled-components").DefaultTheme, {}, never>;
5
- export declare const TextWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
6
- export declare const Title: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
7
- export declare const Text: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8
- export declare const ButtonGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
1
+ /// <reference types="react" />
2
+ export declare const BKJDialogWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, any, never>;
3
+ export declare const CloseIconWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
+ export declare const CloseIcon: import("styled-components").StyledComponent<import("react").FC<import("../BKJIcon/BKJIcon.types.js").IBKJIconProps>, import("styled-components").DefaultTheme, {}, never>;
5
+ export declare const TextWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
6
+ export declare const Title: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
7
+ export declare const Text: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8
+ export declare const ButtonGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
9
9
  //# sourceMappingURL=BKJDialog.styled.d.ts.map