@bookjane2/bookjane-design-library 7.3.0 → 7.3.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 (807) 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.js +49 -49
  43. package/lib/components/BKJBadge/BKJBadge.styled.d.ts +4 -4
  44. package/lib/components/BKJBadge/BKJBadge.styled.js +17 -17
  45. package/lib/components/BKJBadge/BKJBadge.theme.d.ts +2 -2
  46. package/lib/components/BKJBadge/BKJBadge.theme.js +121 -121
  47. package/lib/components/BKJBadge/BKJBadge.types.d.ts +33 -33
  48. package/lib/components/BKJBadge/BKJBadge.types.js +1 -1
  49. package/lib/components/BKJBadge/index.d.ts +2 -2
  50. package/lib/components/BKJBadge/index.js +2 -2
  51. package/lib/components/BKJButton/BKJButton.d.ts +3 -3
  52. package/lib/components/BKJButton/BKJButton.js +8 -8
  53. package/lib/components/BKJButton/BKJButton.stories.d.ts +48 -48
  54. package/lib/components/BKJButton/BKJButton.stories.js +65 -65
  55. package/lib/components/BKJButton/BKJButton.styled.d.ts +10 -10
  56. package/lib/components/BKJButton/BKJButton.styled.js +44 -44
  57. package/lib/components/BKJButton/BKJButton.theme.d.ts +2 -2
  58. package/lib/components/BKJButton/BKJButton.theme.js +416 -416
  59. package/lib/components/BKJButton/BKJButton.types.d.ts +28 -28
  60. package/lib/components/BKJButton/BKJButton.types.js +1 -1
  61. package/lib/components/BKJButton/index.d.ts +2 -2
  62. package/lib/components/BKJButton/index.js +2 -2
  63. package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.d.ts +3 -3
  64. package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.js +16 -16
  65. package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.stories.d.ts +46 -46
  66. package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.stories.js +53 -53
  67. package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.styled.d.ts +15 -15
  68. package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.styled.js +81 -81
  69. package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.types.d.ts +21 -21
  70. package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.types.js +1 -1
  71. package/lib/components/BKJButtonIconTextInput/index.d.ts +1 -1
  72. package/lib/components/BKJButtonIconTextInput/index.js +1 -1
  73. package/lib/components/BKJCheckbox/BKJCheckbox.d.ts +3 -3
  74. package/lib/components/BKJCheckbox/BKJCheckbox.js +26 -26
  75. package/lib/components/BKJCheckbox/BKJCheckbox.stories.d.ts +51 -51
  76. package/lib/components/BKJCheckbox/BKJCheckbox.stories.js +49 -49
  77. package/lib/components/BKJCheckbox/BKJCheckbox.styled.d.ts +11 -11
  78. package/lib/components/BKJCheckbox/BKJCheckbox.styled.js +58 -58
  79. package/lib/components/BKJCheckbox/BKJCheckbox.theme.d.ts +2 -2
  80. package/lib/components/BKJCheckbox/BKJCheckbox.theme.js +42 -42
  81. package/lib/components/BKJCheckbox/BKJCheckbox.types.d.ts +38 -38
  82. package/lib/components/BKJCheckbox/BKJCheckbox.types.js +1 -1
  83. package/lib/components/BKJCheckbox/index.d.ts +2 -2
  84. package/lib/components/BKJCheckbox/index.js +2 -2
  85. package/lib/components/BKJCheckbox/src/BKJCheck.d.ts +4 -4
  86. package/lib/components/BKJCheckbox/src/BKJCheck.js +13 -13
  87. package/lib/components/BKJCheckbox/src/BKJCheck.theme.d.ts +2 -2
  88. package/lib/components/BKJCheckbox/src/BKJCheck.theme.js +16 -16
  89. package/lib/components/BKJCheckbox/src/BKJCheck.types.d.ts +20 -20
  90. package/lib/components/BKJCheckbox/src/BKJCheck.types.js +1 -1
  91. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.d.ts +7 -7
  92. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.js +24 -24
  93. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.stories.d.ts +12 -12
  94. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.stories.js +19 -19
  95. package/lib/components/BKJCheckboxListItem/index.d.ts +2 -2
  96. package/lib/components/BKJCheckboxListItem/index.js +2 -2
  97. package/lib/components/BKJChip/BKJChip.d.ts +3 -3
  98. package/lib/components/BKJChip/BKJChip.js +5 -5
  99. package/lib/components/BKJChip/BKJChip.stories.d.ts +23 -23
  100. package/lib/components/BKJChip/BKJChip.stories.js +26 -26
  101. package/lib/components/BKJChip/BKJChip.styled.d.ts +6 -6
  102. package/lib/components/BKJChip/BKJChip.styled.js +26 -26
  103. package/lib/components/BKJChip/BKJChip.theme.d.ts +2 -2
  104. package/lib/components/BKJChip/BKJChip.theme.js +9 -9
  105. package/lib/components/BKJChip/BKJChip.types.d.ts +11 -11
  106. package/lib/components/BKJChip/BKJChip.types.js +1 -1
  107. package/lib/components/BKJChip/index.d.ts +2 -2
  108. package/lib/components/BKJChip/index.js +2 -2
  109. package/lib/components/BKJComboBox/BKJComboBox.d.ts +7 -7
  110. package/lib/components/BKJComboBox/BKJComboBox.js +18 -18
  111. package/lib/components/BKJComboBox/BKJComboBox.stories.d.ts +10 -10
  112. package/lib/components/BKJComboBox/BKJComboBox.stories.js +49 -49
  113. package/lib/components/BKJComboBox/BKJComboBox.types.d.ts +121 -121
  114. package/lib/components/BKJComboBox/BKJComboBox.types.js +1 -1
  115. package/lib/components/BKJComboBox/BKJComboBox.utils.d.ts +23 -23
  116. package/lib/components/BKJComboBox/BKJComboBox.utils.js +167 -167
  117. package/lib/components/BKJComboBox/fortune-500-company-list.json +3002 -3002
  118. package/lib/components/BKJComboBox/index.d.ts +1 -1
  119. package/lib/components/BKJComboBox/index.js +1 -1
  120. package/lib/components/BKJComboBox/opts.d.ts +6 -6
  121. package/lib/components/BKJComboBox/opts.js +482 -482
  122. package/lib/components/BKJComboBox/src/BKJComboBox.context.d.ts +5 -5
  123. package/lib/components/BKJComboBox/src/BKJComboBox.context.hooks.d.ts +13 -13
  124. package/lib/components/BKJComboBox/src/BKJComboBox.context.hooks.js +9 -9
  125. package/lib/components/BKJComboBox/src/BKJComboBox.context.js +198 -198
  126. package/lib/components/BKJComboBox/src/BKJComboBoxInput.d.ts +7 -7
  127. package/lib/components/BKJComboBox/src/BKJComboBoxInput.js +22 -22
  128. package/lib/components/BKJComboBox/src/BKJComboBoxItem.d.ts +3 -3
  129. package/lib/components/BKJComboBox/src/BKJComboBoxItem.js +27 -27
  130. package/lib/components/BKJComboBox/src/BKJComboBoxOptions.d.ts +8 -8
  131. package/lib/components/BKJComboBox/src/BKJComboBoxOptions.js +33 -33
  132. package/lib/components/BKJComboBox/src/BKJComboBoxOptionsMapper.d.ts +5 -5
  133. package/lib/components/BKJComboBox/src/BKJComboBoxOptionsMapper.js +19 -19
  134. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.d.ts +7 -7
  135. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.js +18 -18
  136. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.d.ts +10 -10
  137. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.js +92 -92
  138. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.types.d.ts +122 -122
  139. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.types.js +1 -1
  140. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.utils.d.ts +11 -11
  141. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.utils.js +80 -80
  142. package/lib/components/BKJComboBoxAsync/fortune-500-company-list.json +3509 -3509
  143. package/lib/components/BKJComboBoxAsync/index.d.ts +1 -1
  144. package/lib/components/BKJComboBoxAsync/index.js +1 -1
  145. package/lib/components/BKJComboBoxAsync/opts.d.ts +6 -6
  146. package/lib/components/BKJComboBoxAsync/opts.js +482 -482
  147. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.d.ts +5 -5
  148. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.hooks.d.ts +11 -11
  149. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.hooks.js +8 -8
  150. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.js +185 -185
  151. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncInput.d.ts +8 -8
  152. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncInput.js +30 -30
  153. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncItem.d.ts +3 -3
  154. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncItem.js +21 -21
  155. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptions.d.ts +5 -5
  156. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptions.js +25 -25
  157. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptionsMapper.d.ts +5 -5
  158. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptionsMapper.js +59 -59
  159. package/lib/components/BKJDialog/BKJDialog.d.ts +3 -3
  160. package/lib/components/BKJDialog/BKJDialog.js +30 -30
  161. package/lib/components/BKJDialog/BKJDialog.stories.d.ts +34 -34
  162. package/lib/components/BKJDialog/BKJDialog.stories.js +42 -42
  163. package/lib/components/BKJDialog/BKJDialog.styled.d.ts +8 -8
  164. package/lib/components/BKJDialog/BKJDialog.styled.js +66 -66
  165. package/lib/components/BKJDialog/BKJDialog.theme.d.ts +2 -2
  166. package/lib/components/BKJDialog/BKJDialog.theme.js +5 -5
  167. package/lib/components/BKJDialog/BKJDialog.types.d.ts +18 -18
  168. package/lib/components/BKJDialog/BKJDialog.types.js +1 -1
  169. package/lib/components/BKJDialog/index.d.ts +1 -1
  170. package/lib/components/BKJDialog/index.js +1 -1
  171. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.d.ts +3 -3
  172. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.js +36 -36
  173. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.stories.d.ts +37 -37
  174. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.stories.js +51 -51
  175. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.styled.d.ts +13 -13
  176. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.styled.js +36 -36
  177. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.types.d.ts +14 -14
  178. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.types.js +1 -1
  179. package/lib/components/BKJDollarTextInput/index.d.ts +2 -2
  180. package/lib/components/BKJDollarTextInput/index.js +2 -2
  181. package/lib/components/BKJDropdown/BKJDropdown.d.ts +12 -12
  182. package/lib/components/BKJDropdown/BKJDropdown.js +71 -71
  183. package/lib/components/BKJDropdown/BKJDropdown.theme.d.ts +2 -2
  184. package/lib/components/BKJDropdown/BKJDropdown.theme.js +31 -31
  185. package/lib/components/BKJDropdown/BKJDropdown.types.d.ts +5 -5
  186. package/lib/components/BKJDropdown/BKJDropdown.types.js +1 -1
  187. package/lib/components/BKJDropdown/index.d.ts +1 -1
  188. package/lib/components/BKJDropdown/index.js +1 -1
  189. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.d.ts +6 -6
  190. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.js +82 -82
  191. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.stories.d.ts +9 -9
  192. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.stories.js +15 -15
  193. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.styled.d.ts +1 -1
  194. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.styled.js +8 -8
  195. package/lib/components/BKJDropdownMenu/index.d.ts +1 -1
  196. package/lib/components/BKJDropdownMenu/index.js +1 -1
  197. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.context.d.ts +8 -8
  198. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.context.js +33 -33
  199. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.d.ts +3 -3
  200. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.js +16 -16
  201. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.stories.d.ts +10 -10
  202. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.stories.js +15 -15
  203. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.styled.d.ts +3 -3
  204. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.styled.js +13 -13
  205. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.types.d.ts +12 -12
  206. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.types.js +1 -1
  207. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenuDropdown.d.ts +3 -3
  208. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenuDropdown.js +27 -27
  209. package/lib/components/BKJEllipsisMenu/index.d.ts +2 -2
  210. package/lib/components/BKJEllipsisMenu/index.js +2 -2
  211. package/lib/components/BKJFileInput/BKJFileInput.d.ts +3 -3
  212. package/lib/components/BKJFileInput/BKJFileInput.js +26 -26
  213. package/lib/components/BKJFileInput/BKJFileInput.stories.d.ts +14 -14
  214. package/lib/components/BKJFileInput/BKJFileInput.stories.js +23 -23
  215. package/lib/components/BKJFileInput/BKJFileInput.styled.d.ts +16 -16
  216. package/lib/components/BKJFileInput/BKJFileInput.styled.js +57 -57
  217. package/lib/components/BKJFileInput/BKJFileInput.types.d.ts +14 -14
  218. package/lib/components/BKJFileInput/BKJFileInput.types.js +1 -1
  219. package/lib/components/BKJFileInput/index.d.ts +1 -1
  220. package/lib/components/BKJFileInput/index.js +1 -1
  221. package/lib/components/BKJHorizontalRule/BKJHorizontalRule.d.ts +2 -2
  222. package/lib/components/BKJHorizontalRule/BKJHorizontalRule.js +8 -8
  223. package/lib/components/BKJHorizontalRule/BKJHorizontalRule.types.d.ts +12 -12
  224. package/lib/components/BKJHorizontalRule/BKJHorizontalRule.types.js +15 -15
  225. package/lib/components/BKJHorizontalRule/index.d.ts +1 -1
  226. package/lib/components/BKJHorizontalRule/index.js +1 -1
  227. package/lib/components/BKJIcon/BKJIcon.d.ts +3 -3
  228. package/lib/components/BKJIcon/BKJIcon.js +12 -12
  229. package/lib/components/BKJIcon/BKJIcon.stories.d.ts +34 -34
  230. package/lib/components/BKJIcon/BKJIcon.stories.js +47 -47
  231. package/lib/components/BKJIcon/BKJIcon.stories.styled.d.ts +6 -6
  232. package/lib/components/BKJIcon/BKJIcon.stories.styled.js +31 -31
  233. package/lib/components/BKJIcon/BKJIcon.types.d.ts +28 -28
  234. package/lib/components/BKJIcon/BKJIcon.types.js +113 -113
  235. package/lib/components/BKJIcon/index.d.ts +2 -2
  236. package/lib/components/BKJIcon/index.js +2 -2
  237. package/lib/components/BKJIcon/src/avatars/Avatar.d.ts +3 -3
  238. package/lib/components/BKJIcon/src/avatars/Avatar.js +13 -13
  239. package/lib/components/BKJIcon/src/avatars/AvatarFill.d.ts +3 -3
  240. package/lib/components/BKJIcon/src/avatars/AvatarFill.js +12 -12
  241. package/lib/components/BKJIcon/src/functions/Add.d.ts +3 -3
  242. package/lib/components/BKJIcon/src/functions/Add.js +11 -11
  243. package/lib/components/BKJIcon/src/functions/Delete.d.ts +3 -3
  244. package/lib/components/BKJIcon/src/functions/Delete.js +11 -11
  245. package/lib/components/BKJIcon/src/functions/Download.d.ts +3 -3
  246. package/lib/components/BKJIcon/src/functions/Download.js +10 -10
  247. package/lib/components/BKJIcon/src/functions/Filters.d.ts +3 -3
  248. package/lib/components/BKJIcon/src/functions/Filters.js +9 -9
  249. package/lib/components/BKJIcon/src/functions/HamburgerExpand.d.ts +3 -3
  250. package/lib/components/BKJIcon/src/functions/HamburgerExpand.js +17 -17
  251. package/lib/components/BKJIcon/src/functions/HamburgerTablet.d.ts +3 -3
  252. package/lib/components/BKJIcon/src/functions/HamburgerTablet.js +9 -9
  253. package/lib/components/BKJIcon/src/functions/Minus.d.ts +3 -3
  254. package/lib/components/BKJIcon/src/functions/Minus.js +12 -12
  255. package/lib/components/BKJIcon/src/functions/Plus.d.ts +3 -3
  256. package/lib/components/BKJIcon/src/functions/Plus.js +9 -9
  257. package/lib/components/BKJIcon/src/functions/Sort.d.ts +3 -3
  258. package/lib/components/BKJIcon/src/functions/Sort.js +9 -9
  259. package/lib/components/BKJIcon/src/functions/Templates.d.ts +3 -3
  260. package/lib/components/BKJIcon/src/functions/Templates.js +9 -9
  261. package/lib/components/BKJIcon/src/functions/Trash.d.ts +3 -3
  262. package/lib/components/BKJIcon/src/functions/Trash.js +9 -9
  263. package/lib/components/BKJIcon/src/general/Client.d.ts +3 -3
  264. package/lib/components/BKJIcon/src/general/Client.js +12 -12
  265. package/lib/components/BKJIcon/src/general/ClientPreferences.d.ts +3 -3
  266. package/lib/components/BKJIcon/src/general/ClientPreferences.js +9 -9
  267. package/lib/components/BKJIcon/src/general/Copy.d.ts +3 -3
  268. package/lib/components/BKJIcon/src/general/Copy.js +9 -9
  269. package/lib/components/BKJIcon/src/general/DevNotes.d.ts +3 -3
  270. package/lib/components/BKJIcon/src/general/DevNotes.js +13 -13
  271. package/lib/components/BKJIcon/src/general/Document.d.ts +3 -3
  272. package/lib/components/BKJIcon/src/general/Document.js +9 -9
  273. package/lib/components/BKJIcon/src/general/Edit.d.ts +3 -3
  274. package/lib/components/BKJIcon/src/general/Edit.js +9 -9
  275. package/lib/components/BKJIcon/src/general/Ellipsis.d.ts +3 -3
  276. package/lib/components/BKJIcon/src/general/Ellipsis.js +11 -11
  277. package/lib/components/BKJIcon/src/general/EllipsisInCircle.d.ts +3 -3
  278. package/lib/components/BKJIcon/src/general/EllipsisInCircle.js +13 -13
  279. package/lib/components/BKJIcon/src/general/Eye.d.ts +7 -7
  280. package/lib/components/BKJIcon/src/general/Eye.js +10 -10
  281. package/lib/components/BKJIcon/src/general/Group.d.ts +3 -3
  282. package/lib/components/BKJIcon/src/general/Group.js +10 -10
  283. package/lib/components/BKJIcon/src/general/Info.d.ts +3 -3
  284. package/lib/components/BKJIcon/src/general/Info.js +11 -11
  285. package/lib/components/BKJIcon/src/general/Location.d.ts +3 -3
  286. package/lib/components/BKJIcon/src/general/Location.js +12 -12
  287. package/lib/components/BKJIcon/src/general/Location1.d.ts +3 -3
  288. package/lib/components/BKJIcon/src/general/Location1.js +12 -12
  289. package/lib/components/BKJIcon/src/general/Notes1.d.ts +3 -3
  290. package/lib/components/BKJIcon/src/general/Notes1.js +12 -12
  291. package/lib/components/BKJIcon/src/general/Paste.d.ts +3 -3
  292. package/lib/components/BKJIcon/src/general/Paste.js +9 -9
  293. package/lib/components/BKJIcon/src/general/Payment.d.ts +3 -3
  294. package/lib/components/BKJIcon/src/general/Payment.js +10 -10
  295. package/lib/components/BKJIcon/src/general/PendingSignup.d.ts +3 -3
  296. package/lib/components/BKJIcon/src/general/PendingSignup.js +12 -12
  297. package/lib/components/BKJIcon/src/general/Phone.d.ts +3 -3
  298. package/lib/components/BKJIcon/src/general/Phone.js +9 -9
  299. package/lib/components/BKJIcon/src/general/Position.d.ts +3 -3
  300. package/lib/components/BKJIcon/src/general/Position.js +10 -10
  301. package/lib/components/BKJIcon/src/general/Reply.d.ts +3 -3
  302. package/lib/components/BKJIcon/src/general/Reply.js +9 -9
  303. package/lib/components/BKJIcon/src/general/RoomType.d.ts +3 -3
  304. package/lib/components/BKJIcon/src/general/RoomType.js +12 -12
  305. package/lib/components/BKJIcon/src/general/Search.d.ts +3 -3
  306. package/lib/components/BKJIcon/src/general/Search.js +9 -9
  307. package/lib/components/BKJIcon/src/general/Time.d.ts +3 -3
  308. package/lib/components/BKJIcon/src/general/Time.js +12 -12
  309. package/lib/components/BKJIcon/src/general/Video.d.ts +3 -3
  310. package/lib/components/BKJIcon/src/general/Video.js +9 -9
  311. package/lib/components/BKJIcon/src/general/Warning.d.ts +3 -3
  312. package/lib/components/BKJIcon/src/general/Warning.js +10 -10
  313. package/lib/components/BKJIcon/src/index.d.ts +98 -98
  314. package/lib/components/BKJIcon/src/index.js +98 -98
  315. package/lib/components/BKJIcon/src/indicators/Checkmark.d.ts +3 -3
  316. package/lib/components/BKJIcon/src/indicators/Checkmark.js +9 -9
  317. package/lib/components/BKJIcon/src/indicators/Dedicated.d.ts +3 -3
  318. package/lib/components/BKJIcon/src/indicators/Dedicated.js +9 -9
  319. package/lib/components/BKJIcon/src/indicators/DefaultOutline.d.ts +3 -3
  320. package/lib/components/BKJIcon/src/indicators/DefaultOutline.js +9 -9
  321. package/lib/components/BKJIcon/src/indicators/Error.d.ts +3 -3
  322. package/lib/components/BKJIcon/src/indicators/Error.js +11 -11
  323. package/lib/components/BKJIcon/src/indicators/ErrorDot.d.ts +3 -3
  324. package/lib/components/BKJIcon/src/indicators/ErrorDot.js +9 -9
  325. package/lib/components/BKJIcon/src/indicators/ErrorLarge.d.ts +3 -3
  326. package/lib/components/BKJIcon/src/indicators/ErrorLarge.js +9 -9
  327. package/lib/components/BKJIcon/src/indicators/Locked.d.ts +3 -3
  328. package/lib/components/BKJIcon/src/indicators/Locked.js +9 -9
  329. package/lib/components/BKJIcon/src/indicators/Pause.d.ts +3 -3
  330. package/lib/components/BKJIcon/src/indicators/Pause.js +12 -12
  331. package/lib/components/BKJIcon/src/indicators/Recurring.d.ts +3 -3
  332. package/lib/components/BKJIcon/src/indicators/Recurring.js +9 -9
  333. package/lib/components/BKJIcon/src/indicators/Star.d.ts +3 -3
  334. package/lib/components/BKJIcon/src/indicators/Star.js +9 -9
  335. package/lib/components/BKJIcon/src/indicators/StepCheck.d.ts +4 -4
  336. package/lib/components/BKJIcon/src/indicators/StepCheck.js +11 -11
  337. package/lib/components/BKJIcon/src/indicators/StepcountNumber.d.ts +3 -3
  338. package/lib/components/BKJIcon/src/indicators/StepcountNumber.js +11 -11
  339. package/lib/components/BKJIcon/src/indicators/SuccessDot.d.ts +3 -3
  340. package/lib/components/BKJIcon/src/indicators/SuccessDot.js +9 -9
  341. package/lib/components/BKJIcon/src/indicators/Warning.d.ts +3 -3
  342. package/lib/components/BKJIcon/src/indicators/Warning.js +11 -11
  343. package/lib/components/BKJIcon/src/indicators/WarningDot.d.ts +3 -3
  344. package/lib/components/BKJIcon/src/indicators/WarningDot.js +9 -9
  345. package/lib/components/BKJIcon/src/navigation/ArrowDown.d.ts +3 -3
  346. package/lib/components/BKJIcon/src/navigation/ArrowDown.js +10 -10
  347. package/lib/components/BKJIcon/src/navigation/ArrowLeft.d.ts +3 -3
  348. package/lib/components/BKJIcon/src/navigation/ArrowLeft.js +9 -9
  349. package/lib/components/BKJIcon/src/navigation/ArrowRight.d.ts +3 -3
  350. package/lib/components/BKJIcon/src/navigation/ArrowRight.js +9 -9
  351. package/lib/components/BKJIcon/src/navigation/ArrowUp.d.ts +3 -3
  352. package/lib/components/BKJIcon/src/navigation/ArrowUp.js +9 -9
  353. package/lib/components/BKJIcon/src/navigation/BackArrow.d.ts +3 -3
  354. package/lib/components/BKJIcon/src/navigation/BackArrow.js +9 -9
  355. package/lib/components/BKJIcon/src/navigation/ChevronDoubleLeft.d.ts +3 -3
  356. package/lib/components/BKJIcon/src/navigation/ChevronDoubleLeft.js +10 -10
  357. package/lib/components/BKJIcon/src/navigation/ChevronDoubleRight.d.ts +3 -3
  358. package/lib/components/BKJIcon/src/navigation/ChevronDoubleRight.js +10 -10
  359. package/lib/components/BKJIcon/src/navigation/ChevronDown.d.ts +3 -3
  360. package/lib/components/BKJIcon/src/navigation/ChevronDown.js +9 -9
  361. package/lib/components/BKJIcon/src/navigation/ChevronLeft.d.ts +3 -3
  362. package/lib/components/BKJIcon/src/navigation/ChevronLeft.js +9 -9
  363. package/lib/components/BKJIcon/src/navigation/ChevronLeftInCircle.d.ts +3 -3
  364. package/lib/components/BKJIcon/src/navigation/ChevronLeftInCircle.js +18 -18
  365. package/lib/components/BKJIcon/src/navigation/ChevronLeftLarge.d.ts +3 -3
  366. package/lib/components/BKJIcon/src/navigation/ChevronLeftLarge.js +11 -11
  367. package/lib/components/BKJIcon/src/navigation/ChevronRight.d.ts +3 -3
  368. package/lib/components/BKJIcon/src/navigation/ChevronRight.js +9 -9
  369. package/lib/components/BKJIcon/src/navigation/ChevronRightInCircle.d.ts +3 -3
  370. package/lib/components/BKJIcon/src/navigation/ChevronRightInCircle.js +18 -18
  371. package/lib/components/BKJIcon/src/navigation/ChevronUp.d.ts +3 -3
  372. package/lib/components/BKJIcon/src/navigation/ChevronUp.js +9 -9
  373. package/lib/components/BKJIcon/src/navigation/CloseBold.d.ts +3 -3
  374. package/lib/components/BKJIcon/src/navigation/CloseBold.js +9 -9
  375. package/lib/components/BKJIcon/src/navigation/CombinedChevronDefault.d.ts +3 -3
  376. package/lib/components/BKJIcon/src/navigation/CombinedChevronDefault.js +9 -9
  377. package/lib/components/BKJIcon/src/navigation/CombinedChevronDown.d.ts +3 -3
  378. package/lib/components/BKJIcon/src/navigation/CombinedChevronDown.js +10 -10
  379. package/lib/components/BKJIcon/src/navigation/CombinedChevronUp.d.ts +3 -3
  380. package/lib/components/BKJIcon/src/navigation/CombinedChevronUp.js +10 -10
  381. package/lib/components/BKJIcon/src/navigation/MouseIndicator.d.ts +3 -3
  382. package/lib/components/BKJIcon/src/navigation/MouseIndicator.js +11 -11
  383. package/lib/components/BKJIcon/src/shifts/Client.d.ts +3 -3
  384. package/lib/components/BKJIcon/src/shifts/Client.js +10 -10
  385. package/lib/components/BKJIcon/src/shifts/Date.d.ts +3 -3
  386. package/lib/components/BKJIcon/src/shifts/Date.js +10 -10
  387. package/lib/components/BKJIcon/src/shifts/Deal.d.ts +3 -3
  388. package/lib/components/BKJIcon/src/shifts/Deal.js +10 -10
  389. package/lib/components/BKJIcon/src/shifts/Location.d.ts +3 -3
  390. package/lib/components/BKJIcon/src/shifts/Location.js +10 -10
  391. package/lib/components/BKJIcon/src/shifts/Notes.d.ts +3 -3
  392. package/lib/components/BKJIcon/src/shifts/Notes.js +10 -10
  393. package/lib/components/BKJIcon/src/shifts/Price.d.ts +3 -3
  394. package/lib/components/BKJIcon/src/shifts/Price.js +12 -12
  395. package/lib/components/BKJIcon/src/shifts/Quantity.d.ts +3 -3
  396. package/lib/components/BKJIcon/src/shifts/Quantity.js +10 -10
  397. package/lib/components/BKJIcon/src/shifts/Tasks.d.ts +3 -3
  398. package/lib/components/BKJIcon/src/shifts/Tasks.js +10 -10
  399. package/lib/components/BKJIcon/src/shifts/Time.d.ts +3 -3
  400. package/lib/components/BKJIcon/src/shifts/Time.js +10 -10
  401. package/lib/components/BKJIcon/src/shifts/TrainingOutline.d.ts +3 -3
  402. package/lib/components/BKJIcon/src/shifts/TrainingOutline.js +10 -10
  403. package/lib/components/BKJIcon/src/shifts/UnpaidBreak.d.ts +3 -3
  404. package/lib/components/BKJIcon/src/shifts/UnpaidBreak.js +10 -10
  405. package/lib/components/BKJIcon/src/sidenav/AgencyMembers.d.ts +3 -3
  406. package/lib/components/BKJIcon/src/sidenav/AgencyMembers.js +15 -15
  407. package/lib/components/BKJIcon/src/sidenav/Analytics.d.ts +3 -3
  408. package/lib/components/BKJIcon/src/sidenav/Analytics.js +10 -10
  409. package/lib/components/BKJIcon/src/sidenav/Clients.d.ts +3 -3
  410. package/lib/components/BKJIcon/src/sidenav/Clients.js +9 -9
  411. package/lib/components/BKJIcon/src/sidenav/Communications.d.ts +3 -3
  412. package/lib/components/BKJIcon/src/sidenav/Communications.js +9 -9
  413. package/lib/components/BKJIcon/src/sidenav/Dashboard.d.ts +3 -3
  414. package/lib/components/BKJIcon/src/sidenav/Dashboard.js +9 -9
  415. package/lib/components/BKJIcon/src/sidenav/Explore.d.ts +3 -3
  416. package/lib/components/BKJIcon/src/sidenav/Explore.js +11 -11
  417. package/lib/components/BKJIcon/src/sidenav/Logout.d.ts +3 -3
  418. package/lib/components/BKJIcon/src/sidenav/Logout.js +9 -9
  419. package/lib/components/BKJIcon/src/sidenav/NewBooking.d.ts +3 -3
  420. package/lib/components/BKJIcon/src/sidenav/NewBooking.js +10 -10
  421. package/lib/components/BKJIcon/src/sidenav/Question.d.ts +3 -3
  422. package/lib/components/BKJIcon/src/sidenav/Question.js +10 -10
  423. package/lib/components/BKJIcon/src/sidenav/Schedule.d.ts +3 -3
  424. package/lib/components/BKJIcon/src/sidenav/Schedule.js +12 -12
  425. package/lib/components/BKJIcon/src/sidenav/Settings.d.ts +3 -3
  426. package/lib/components/BKJIcon/src/sidenav/Settings.js +9 -9
  427. package/lib/components/BKJIcon/src/sidenav/Shifts.d.ts +3 -3
  428. package/lib/components/BKJIcon/src/sidenav/Shifts.js +9 -9
  429. package/lib/components/BKJIcon/src/sidenav/TeamMembers.d.ts +3 -3
  430. package/lib/components/BKJIcon/src/sidenav/TeamMembers.js +9 -9
  431. package/lib/components/BKJIcon/src/sidenav/Timesheets.d.ts +3 -3
  432. package/lib/components/BKJIcon/src/sidenav/Timesheets.js +9 -9
  433. package/lib/components/BKJIconTooltip/BKJIconTooltip.d.ts +3 -3
  434. package/lib/components/BKJIconTooltip/BKJIconTooltip.js +7 -7
  435. package/lib/components/BKJIconTooltip/BKJIconTooltip.stories.d.ts +25 -25
  436. package/lib/components/BKJIconTooltip/BKJIconTooltip.stories.js +39 -39
  437. package/lib/components/BKJIconTooltip/BKJIconTooltip.types.d.ts +8 -8
  438. package/lib/components/BKJIconTooltip/BKJIconTooltip.types.js +1 -1
  439. package/lib/components/BKJIconTooltip/index.d.ts +1 -1
  440. package/lib/components/BKJIconTooltip/index.js +1 -1
  441. package/lib/components/BKJImage/BKJImage.d.ts +3 -3
  442. package/lib/components/BKJImage/BKJImage.js +18 -18
  443. package/lib/components/BKJImage/BKJImage.styled.d.ts +10 -10
  444. package/lib/components/BKJImage/BKJImage.styled.js +29 -29
  445. package/lib/components/BKJImage/BKJImage.types.d.ts +10 -10
  446. package/lib/components/BKJImage/BKJImage.types.js +1 -1
  447. package/lib/components/BKJImage/index.d.ts +1 -1
  448. package/lib/components/BKJImage/index.js +1 -1
  449. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.context.d.ts +4 -4
  450. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.context.js +100 -100
  451. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.d.ts +3 -3
  452. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.js +50 -50
  453. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.stories.d.ts +38 -38
  454. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.stories.js +116 -116
  455. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.types.d.ts +85 -85
  456. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.types.js +10 -10
  457. package/lib/components/BKJInteractiveMap/index.d.ts +1 -1
  458. package/lib/components/BKJInteractiveMap/index.js +1 -1
  459. package/lib/components/BKJListItem/BKJListItem.d.ts +3 -3
  460. package/lib/components/BKJListItem/BKJListItem.js +18 -18
  461. package/lib/components/BKJListItem/BKJListItem.stories.d.ts +9 -9
  462. package/lib/components/BKJListItem/BKJListItem.stories.js +8 -8
  463. package/lib/components/BKJListItem/BKJListItem.styled.d.ts +3 -3
  464. package/lib/components/BKJListItem/BKJListItem.styled.js +54 -54
  465. package/lib/components/BKJListItem/BKJListItem.theme.d.ts +2 -2
  466. package/lib/components/BKJListItem/BKJListItem.theme.js +46 -46
  467. package/lib/components/BKJListItem/BKJListItem.types.d.ts +57 -57
  468. package/lib/components/BKJListItem/BKJListItem.types.js +1 -1
  469. package/lib/components/BKJListItem/index.d.ts +2 -2
  470. package/lib/components/BKJListItem/index.js +2 -2
  471. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.d.ts +3 -3
  472. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.js +9 -9
  473. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.stories.d.ts +18 -18
  474. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.stories.js +19 -19
  475. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.styled.d.ts +1 -1
  476. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.styled.js +6 -6
  477. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.theme.d.ts +2 -2
  478. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.theme.js +14 -14
  479. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.types.d.ts +14 -14
  480. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.types.js +1 -1
  481. package/lib/components/BKJLoadingSpinner/index.d.ts +2 -2
  482. package/lib/components/BKJLoadingSpinner/index.js +2 -2
  483. package/lib/components/BKJLogo/BKJLogo.d.ts +3 -3
  484. package/lib/components/BKJLogo/BKJLogo.js +7 -7
  485. package/lib/components/BKJLogo/BKJLogo.stories.d.ts +31 -31
  486. package/lib/components/BKJLogo/BKJLogo.stories.js +34 -34
  487. package/lib/components/BKJLogo/BKJLogo.types.d.ts +10 -10
  488. package/lib/components/BKJLogo/BKJLogo.types.js +6 -6
  489. package/lib/components/BKJLogo/index.d.ts +2 -2
  490. package/lib/components/BKJLogo/index.js +2 -2
  491. package/lib/components/BKJLogo/src/Agency.d.ts +3 -3
  492. package/lib/components/BKJLogo/src/Agency.js +10 -10
  493. package/lib/components/BKJLogo/src/General.d.ts +3 -3
  494. package/lib/components/BKJLogo/src/General.js +9 -9
  495. package/lib/components/BKJLogo/src/Premium.d.ts +3 -3
  496. package/lib/components/BKJLogo/src/Premium.js +10 -10
  497. package/lib/components/BKJLogo/src/index.d.ts +4 -4
  498. package/lib/components/BKJLogo/src/index.js +4 -4
  499. package/lib/components/BKJMenu/BKJMenu.d.ts +3 -3
  500. package/lib/components/BKJMenu/BKJMenu.js +19 -19
  501. package/lib/components/BKJMenu/BKJMenu.stories.d.ts +20 -20
  502. package/lib/components/BKJMenu/BKJMenu.stories.js +30 -30
  503. package/lib/components/BKJMenu/BKJMenu.styled.d.ts +6 -6
  504. package/lib/components/BKJMenu/BKJMenu.styled.js +44 -44
  505. package/lib/components/BKJMenu/BKJMenu.types.d.ts +10 -10
  506. package/lib/components/BKJMenu/BKJMenu.types.js +1 -1
  507. package/lib/components/BKJMenu/index.d.ts +2 -2
  508. package/lib/components/BKJMenu/index.js +2 -2
  509. package/lib/components/BKJMenuItem/BKJMenuItem.d.ts +3 -3
  510. package/lib/components/BKJMenuItem/BKJMenuItem.js +5 -5
  511. package/lib/components/BKJMenuItem/BKJMenuItem.stories.d.ts +9 -9
  512. package/lib/components/BKJMenuItem/BKJMenuItem.stories.js +14 -14
  513. package/lib/components/BKJMenuItem/BKJMenuItem.styled.d.ts +3 -3
  514. package/lib/components/BKJMenuItem/BKJMenuItem.styled.js +44 -44
  515. package/lib/components/BKJMenuItem/BKJMenuItem.types.d.ts +7 -7
  516. package/lib/components/BKJMenuItem/BKJMenuItem.types.js +1 -1
  517. package/lib/components/BKJMenuItem/index.d.ts +2 -2
  518. package/lib/components/BKJMenuItem/index.js +2 -2
  519. package/lib/components/BKJPagination/BKJPagination.d.ts +3 -3
  520. package/lib/components/BKJPagination/BKJPagination.js +10 -10
  521. package/lib/components/BKJPagination/BKJPagination.stories.d.ts +16 -16
  522. package/lib/components/BKJPagination/BKJPagination.stories.js +21 -21
  523. package/lib/components/BKJPagination/BKJPagination.styled.d.ts +6 -6
  524. package/lib/components/BKJPagination/BKJPagination.styled.js +47 -47
  525. package/lib/components/BKJPagination/BKJPagination.types.d.ts +9 -9
  526. package/lib/components/BKJPagination/BKJPagination.types.js +1 -1
  527. package/lib/components/BKJPagination/index.d.ts +2 -2
  528. package/lib/components/BKJPagination/index.js +2 -2
  529. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.d.ts +3 -3
  530. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.js +20 -20
  531. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.stories.d.ts +34 -34
  532. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.stories.js +48 -48
  533. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.styled.d.ts +13 -13
  534. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.styled.js +35 -35
  535. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.types.d.ts +13 -13
  536. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.types.js +1 -1
  537. package/lib/components/BKJPhoneNumberInput/index.d.ts +2 -2
  538. package/lib/components/BKJPhoneNumberInput/index.js +2 -2
  539. package/lib/components/BKJPillDropdown/BKJPillDropdown.context.d.ts +4 -4
  540. package/lib/components/BKJPillDropdown/BKJPillDropdown.context.js +73 -73
  541. package/lib/components/BKJPillDropdown/BKJPillDropdown.d.ts +3 -3
  542. package/lib/components/BKJPillDropdown/BKJPillDropdown.js +28 -28
  543. package/lib/components/BKJPillDropdown/BKJPillDropdown.stories.d.ts +35 -35
  544. package/lib/components/BKJPillDropdown/BKJPillDropdown.stories.js +71 -71
  545. package/lib/components/BKJPillDropdown/BKJPillDropdown.styled.d.ts +17 -17
  546. package/lib/components/BKJPillDropdown/BKJPillDropdown.styled.d.ts.map +1 -1
  547. package/lib/components/BKJPillDropdown/BKJPillDropdown.styled.js +79 -74
  548. package/lib/components/BKJPillDropdown/BKJPillDropdown.styled.js.map +1 -1
  549. package/lib/components/BKJPillDropdown/BKJPillDropdown.types.d.ts +47 -47
  550. package/lib/components/BKJPillDropdown/BKJPillDropdown.types.js +1 -1
  551. package/lib/components/BKJPillDropdown/index.d.ts +1 -1
  552. package/lib/components/BKJPillDropdown/index.js +1 -1
  553. package/lib/components/BKJPillSelect/BKJPillSelect.context.d.ts +4 -4
  554. package/lib/components/BKJPillSelect/BKJPillSelect.context.js +74 -74
  555. package/lib/components/BKJPillSelect/BKJPillSelect.d.ts +3 -3
  556. package/lib/components/BKJPillSelect/BKJPillSelect.js +35 -35
  557. package/lib/components/BKJPillSelect/BKJPillSelect.stories.d.ts +35 -35
  558. package/lib/components/BKJPillSelect/BKJPillSelect.stories.js +76 -76
  559. package/lib/components/BKJPillSelect/BKJPillSelect.styled.d.ts +16 -16
  560. package/lib/components/BKJPillSelect/BKJPillSelect.styled.js +80 -80
  561. package/lib/components/BKJPillSelect/BKJPillSelect.types.d.ts +47 -47
  562. package/lib/components/BKJPillSelect/BKJPillSelect.types.js +1 -1
  563. package/lib/components/BKJPillSelect/index.d.ts +1 -1
  564. package/lib/components/BKJPillSelect/index.js +1 -1
  565. package/lib/components/BKJPillTextArea/BKJPillTextArea.context.d.ts +4 -4
  566. package/lib/components/BKJPillTextArea/BKJPillTextArea.context.js +195 -195
  567. package/lib/components/BKJPillTextArea/BKJPillTextArea.d.ts +3 -3
  568. package/lib/components/BKJPillTextArea/BKJPillTextArea.js +37 -37
  569. package/lib/components/BKJPillTextArea/BKJPillTextArea.stories.d.ts +35 -35
  570. package/lib/components/BKJPillTextArea/BKJPillTextArea.stories.js +74 -74
  571. package/lib/components/BKJPillTextArea/BKJPillTextArea.styled.d.ts +18 -18
  572. package/lib/components/BKJPillTextArea/BKJPillTextArea.styled.js +69 -69
  573. package/lib/components/BKJPillTextArea/BKJPillTextArea.types.d.ts +51 -51
  574. package/lib/components/BKJPillTextArea/BKJPillTextArea.types.js +1 -1
  575. package/lib/components/BKJPillTextArea/index.d.ts +1 -1
  576. package/lib/components/BKJPillTextArea/index.js +1 -1
  577. package/lib/components/BKJSelect/BKJSelect.constants.d.ts +1 -1
  578. package/lib/components/BKJSelect/BKJSelect.constants.js +1 -1
  579. package/lib/components/BKJSelect/BKJSelect.d.ts +7 -7
  580. package/lib/components/BKJSelect/BKJSelect.js +171 -171
  581. package/lib/components/BKJSelect/BKJSelect.stories.d.ts +10 -10
  582. package/lib/components/BKJSelect/BKJSelect.stories.js +125 -125
  583. package/lib/components/BKJSelect/BKJSelect.styled.d.ts +25 -25
  584. package/lib/components/BKJSelect/BKJSelect.styled.js +95 -95
  585. package/lib/components/BKJSelect/BKJSelect.theme.d.ts +2 -2
  586. package/lib/components/BKJSelect/BKJSelect.theme.js +232 -232
  587. package/lib/components/BKJSelect/BKJSelect.types.d.ts +134 -134
  588. package/lib/components/BKJSelect/BKJSelect.types.js +1 -1
  589. package/lib/components/BKJSelect/BKJSelect.utils.d.ts +26 -26
  590. package/lib/components/BKJSelect/BKJSelect.utils.js +40 -40
  591. package/lib/components/BKJSelect/index.d.ts +2 -2
  592. package/lib/components/BKJSelect/index.js +2 -2
  593. package/lib/components/BKJSelect/utils/deepEquals.d.ts +1 -1
  594. package/lib/components/BKJSelect/utils/deepEquals.js +2 -2
  595. package/lib/components/BKJSelect/utils/getDesignLibraryElementNode.d.ts +2 -2
  596. package/lib/components/BKJSelect/utils/getDesignLibraryElementNode.js +1 -1
  597. package/lib/components/BKJSelect/utils/mergeRefs.d.ts +1 -1
  598. package/lib/components/BKJSelect/utils/mergeRefs.js +12 -12
  599. package/lib/components/BKJSelectSearch/BKJSelectSearch.d.ts +9 -9
  600. package/lib/components/BKJSelectSearch/BKJSelectSearch.js +7 -7
  601. package/lib/components/BKJSelectSearch/BKJSelectSearch.styled.d.ts +3 -3
  602. package/lib/components/BKJSelectSearch/BKJSelectSearch.styled.js +38 -38
  603. package/lib/components/BKJSelectSearch/BKJSelectSearchControls.d.ts +9 -9
  604. package/lib/components/BKJSelectSearch/BKJSelectSearchControls.js +22 -22
  605. package/lib/components/BKJSelectSearch/BKJSelectSearchControls.styled.d.ts +3 -3
  606. package/lib/components/BKJSelectSearch/BKJSelectSearchControls.styled.js +35 -35
  607. package/lib/components/BKJSelectSearch/index.d.ts +2 -2
  608. package/lib/components/BKJSelectSearch/index.js +2 -2
  609. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.d.ts +5 -5
  610. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.js +3 -3
  611. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.stories.d.ts +9 -9
  612. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.stories.js +12 -12
  613. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.styled.d.ts +2 -2
  614. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.styled.js +12 -12
  615. package/lib/components/BKJTableMainHeader/index.d.ts +2 -2
  616. package/lib/components/BKJTableMainHeader/index.js +2 -2
  617. package/lib/components/BKJTextArea/BKJTextArea.d.ts +3 -3
  618. package/lib/components/BKJTextArea/BKJTextArea.js +19 -19
  619. package/lib/components/BKJTextArea/BKJTextArea.stories.d.ts +37 -37
  620. package/lib/components/BKJTextArea/BKJTextArea.stories.js +43 -43
  621. package/lib/components/BKJTextArea/BKJTextArea.styled.d.ts +12 -12
  622. package/lib/components/BKJTextArea/BKJTextArea.styled.js +38 -38
  623. package/lib/components/BKJTextArea/BKJTextArea.types.d.ts +14 -14
  624. package/lib/components/BKJTextArea/BKJTextArea.types.js +1 -1
  625. package/lib/components/BKJTextArea/index.d.ts +2 -2
  626. package/lib/components/BKJTextArea/index.js +2 -2
  627. package/lib/components/BKJTextInput/BKJTextInput.css.styled.d.ts +1 -1
  628. package/lib/components/BKJTextInput/BKJTextInput.css.styled.js +21 -21
  629. package/lib/components/BKJTextInput/BKJTextInput.d.ts +3 -3
  630. package/lib/components/BKJTextInput/BKJTextInput.js +82 -82
  631. package/lib/components/BKJTextInput/BKJTextInput.stories.d.ts +73 -73
  632. package/lib/components/BKJTextInput/BKJTextInput.stories.js +123 -123
  633. package/lib/components/BKJTextInput/BKJTextInput.styled.d.ts +14 -14
  634. package/lib/components/BKJTextInput/BKJTextInput.styled.js +71 -71
  635. package/lib/components/BKJTextInput/BKJTextInput.theme.d.ts +9 -9
  636. package/lib/components/BKJTextInput/BKJTextInput.theme.js +44 -44
  637. package/lib/components/BKJTextInput/BKJTextInput.types.d.ts +87 -87
  638. package/lib/components/BKJTextInput/BKJTextInput.types.js +1 -1
  639. package/lib/components/BKJTextInput/BKJTextInput.utils.d.ts +2 -2
  640. package/lib/components/BKJTextInput/BKJTextInput.utils.js +124 -124
  641. package/lib/components/BKJTextInput/index.d.ts +1 -1
  642. package/lib/components/BKJTextInput/index.js +1 -1
  643. package/lib/components/BKJToastMessage/BKJToastContainer.d.ts +2 -2
  644. package/lib/components/BKJToastMessage/BKJToastContainer.js +4 -4
  645. package/lib/components/BKJToastMessage/BKJToastMessage.d.ts +3 -3
  646. package/lib/components/BKJToastMessage/BKJToastMessage.js +13 -13
  647. package/lib/components/BKJToastMessage/BKJToastMessage.stories.d.ts +27 -27
  648. package/lib/components/BKJToastMessage/BKJToastMessage.stories.js +35 -35
  649. package/lib/components/BKJToastMessage/BKJToastMessage.styled.d.ts +15 -15
  650. package/lib/components/BKJToastMessage/BKJToastMessage.styled.js +117 -117
  651. package/lib/components/BKJToastMessage/BKJToastMessage.theme.d.ts +2 -2
  652. package/lib/components/BKJToastMessage/BKJToastMessage.theme.js +12 -12
  653. package/lib/components/BKJToastMessage/BKJToastMessage.types.d.ts +12 -12
  654. package/lib/components/BKJToastMessage/BKJToastMessage.types.js +1 -1
  655. package/lib/components/BKJToastMessage/BKJToastMessage.utils.d.ts +6 -6
  656. package/lib/components/BKJToastMessage/BKJToastMessage.utils.js +16 -16
  657. package/lib/components/BKJToastMessage/ToastErrorIcon.d.ts +3 -3
  658. package/lib/components/BKJToastMessage/ToastErrorIcon.js +11 -11
  659. package/lib/components/BKJToastMessage/ToastSuccessIcon.d.ts +3 -3
  660. package/lib/components/BKJToastMessage/ToastSuccessIcon.js +6 -6
  661. package/lib/components/BKJToastMessage/ToastWarnIcon.d.ts +3 -3
  662. package/lib/components/BKJToastMessage/ToastWarnIcon.js +7 -7
  663. package/lib/components/BKJToastMessage/index.d.ts +2 -2
  664. package/lib/components/BKJToastMessage/index.js +2 -2
  665. package/lib/components/BKJToggleInput/BKJToggleInput.constants.d.ts +3 -3
  666. package/lib/components/BKJToggleInput/BKJToggleInput.constants.js +58 -58
  667. package/lib/components/BKJToggleInput/BKJToggleInput.d.ts +3 -3
  668. package/lib/components/BKJToggleInput/BKJToggleInput.js +6 -6
  669. package/lib/components/BKJToggleInput/BKJToggleInput.stories.d.ts +58 -58
  670. package/lib/components/BKJToggleInput/BKJToggleInput.stories.js +74 -74
  671. package/lib/components/BKJToggleInput/BKJToggleInput.styled.d.ts +22 -22
  672. package/lib/components/BKJToggleInput/BKJToggleInput.styled.js +101 -101
  673. package/lib/components/BKJToggleInput/BKJToggleInput.theme.d.ts +2 -2
  674. package/lib/components/BKJToggleInput/BKJToggleInput.theme.js +8 -8
  675. package/lib/components/BKJToggleInput/BKJToggleInput.types.d.ts +22 -22
  676. package/lib/components/BKJToggleInput/BKJToggleInput.types.js +1 -1
  677. package/lib/components/BKJToggleInput/index.d.ts +2 -2
  678. package/lib/components/BKJToggleInput/index.js +2 -2
  679. package/lib/components/BKJTooltipWrapper/BKJTooltip.d.ts +6 -6
  680. package/lib/components/BKJTooltipWrapper/BKJTooltip.js +32 -32
  681. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.context.d.ts +4 -4
  682. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.context.js +21 -21
  683. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.d.ts +3 -3
  684. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.js +15 -15
  685. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.stories.d.ts +18 -18
  686. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.stories.js +31 -31
  687. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.styled.d.ts +10 -10
  688. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.styled.js +57 -57
  689. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.types.d.ts +12 -12
  690. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.types.js +1 -1
  691. package/lib/components/BKJTooltipWrapper/index.d.ts +1 -1
  692. package/lib/components/BKJTooltipWrapper/index.js +1 -1
  693. package/lib/components/BKJTypography/BKJTypography.d.ts +3 -3
  694. package/lib/components/BKJTypography/BKJTypography.js +6 -6
  695. package/lib/components/BKJTypography/BKJTypography.stories.d.ts +23 -23
  696. package/lib/components/BKJTypography/BKJTypography.stories.js +37 -37
  697. package/lib/components/BKJTypography/BKJTypography.styled.d.ts +10 -10
  698. package/lib/components/BKJTypography/BKJTypography.styled.js +24 -24
  699. package/lib/components/BKJTypography/BKJTypography.theme.d.ts +2 -2
  700. package/lib/components/BKJTypography/BKJTypography.theme.js +58 -58
  701. package/lib/components/BKJTypography/BKJTypography.types.d.ts +25 -25
  702. package/lib/components/BKJTypography/BKJTypography.types.js +1 -1
  703. package/lib/components/BKJTypography/index.d.ts +2 -2
  704. package/lib/components/BKJTypography/index.js +2 -2
  705. package/lib/components/ErrorBoundary/ErrorBoundary.d.ts +26 -26
  706. package/lib/components/ErrorBoundary/ErrorBoundary.js +25 -25
  707. package/lib/components/ErrorBoundary/index.d.ts +1 -1
  708. package/lib/components/ErrorBoundary/index.js +1 -1
  709. package/lib/components/Flex/Flex.d.ts +3 -3
  710. package/lib/components/Flex/Flex.js +7 -7
  711. package/lib/components/Flex/Flex.styled.d.ts +2 -2
  712. package/lib/components/Flex/Flex.styled.js +228 -228
  713. package/lib/components/Flex/Flex.types.d.ts +76 -76
  714. package/lib/components/Flex/Flex.types.js +1 -1
  715. package/lib/components/Flex/index.d.ts +2 -2
  716. package/lib/components/Flex/index.js +2 -2
  717. package/lib/components/GenericErrorMessage/GenericErrorMessage.d.ts +14 -14
  718. package/lib/components/GenericErrorMessage/GenericErrorMessage.js +26 -26
  719. package/lib/components/GenericErrorMessage/GenericErrorMessage.styled.d.ts +14 -14
  720. package/lib/components/GenericErrorMessage/GenericErrorMessage.styled.js +139 -139
  721. package/lib/components/GenericErrorMessage/index.d.ts +1 -1
  722. package/lib/components/GenericErrorMessage/index.js +1 -1
  723. package/lib/components/InfiniteScrollLoading/InfiniteScrollLoading.d.ts +7 -7
  724. package/lib/components/InfiniteScrollLoading/InfiniteScrollLoading.js +11 -11
  725. package/lib/components/InfiniteScrollLoading/InfiniteScrollLoading.styled.d.ts +1 -1
  726. package/lib/components/InfiniteScrollLoading/InfiniteScrollLoading.styled.js +2 -2
  727. package/lib/components/InfiniteScrollLoading/index.d.ts +1 -1
  728. package/lib/components/InfiniteScrollLoading/index.js +1 -1
  729. package/lib/components/Portal/Portal.d.ts +9 -9
  730. package/lib/components/Portal/Portal.js +27 -27
  731. package/lib/components/Portal/Portal.types.d.ts +3 -3
  732. package/lib/components/Portal/Portal.types.js +1 -1
  733. package/lib/components/common/InputBaseCSS/index.d.ts +11 -11
  734. package/lib/components/common/InputBaseCSS/index.js +82 -82
  735. package/lib/components/common/ListItemBaseCSS/index.d.ts +5 -5
  736. package/lib/components/common/ListItemBaseCSS/index.js +83 -83
  737. package/lib/components/common/index.d.ts +1 -1
  738. package/lib/components/common/index.js +1 -1
  739. package/lib/components/index.d.ts +43 -43
  740. package/lib/components/index.js +43 -43
  741. package/lib/hooks/index.d.ts +5 -5
  742. package/lib/hooks/index.js +5 -5
  743. package/lib/hooks/useClickOutside.d.ts +1 -1
  744. package/lib/hooks/useClickOutside.js +20 -20
  745. package/lib/hooks/useDebouncedCallback/index.d.ts +1 -1
  746. package/lib/hooks/useDebouncedCallback/index.js +1 -1
  747. package/lib/hooks/useDebouncedCallback/useDebouncedCallback.d.ts +2 -2
  748. package/lib/hooks/useDebouncedCallback/useDebouncedCallback.js +9 -9
  749. package/lib/hooks/useDimensionsRef/index.d.ts +1 -1
  750. package/lib/hooks/useDimensionsRef/index.js +1 -1
  751. package/lib/hooks/useDimensionsRef/useDimensionRef.types.d.ts +8 -8
  752. package/lib/hooks/useDimensionsRef/useDimensionRef.types.js +1 -1
  753. package/lib/hooks/useDimensionsRef/useDimensionsRef.d.ts +2 -2
  754. package/lib/hooks/useDimensionsRef/useDimensionsRef.js +26 -26
  755. package/lib/hooks/useFormBehaviors/index.d.ts +2 -2
  756. package/lib/hooks/useFormBehaviors/index.js +2 -2
  757. package/lib/hooks/useFormBehaviors/useFormBehaviors.constants.d.ts +1 -1
  758. package/lib/hooks/useFormBehaviors/useFormBehaviors.constants.js +1 -1
  759. package/lib/hooks/useFormBehaviors/useFormBehaviors.d.ts +6 -6
  760. package/lib/hooks/useFormBehaviors/useFormBehaviors.js +198 -198
  761. package/lib/hooks/useFormBehaviors/useFormBehaviors.types.d.ts +45 -45
  762. package/lib/hooks/useFormBehaviors/useFormBehaviors.types.js +8 -8
  763. package/lib/hooks/useFormBehaviors/useFormBehaviors.utils.d.ts +5 -5
  764. package/lib/hooks/useFormBehaviors/useFormBehaviors.utils.js +19 -19
  765. package/lib/hooks/useIntersectionObserver/index.d.ts +1 -1
  766. package/lib/hooks/useIntersectionObserver/index.js +1 -1
  767. package/lib/hooks/useIntersectionObserver/useIntersectionObserver.d.ts +2 -2
  768. package/lib/hooks/useIntersectionObserver/useIntersectionObserver.js +26 -26
  769. package/lib/hooks/useMouseOutside.d.ts +1 -1
  770. package/lib/hooks/useMouseOutside.js +20 -20
  771. package/lib/hooks/usePersistentState/index.d.ts +1 -1
  772. package/lib/hooks/usePersistentState/index.js +1 -1
  773. package/lib/hooks/usePersistentState/usePersistentState.d.ts +2 -2
  774. package/lib/hooks/usePersistentState/usePersistentState.js +29 -29
  775. package/lib/hooks/usePortalTargetElement.d.ts +2 -2
  776. package/lib/hooks/usePortalTargetElement.js +14 -14
  777. package/lib/hooks/useScrollIntoView.d.ts +2 -2
  778. package/lib/hooks/useScrollIntoView.js +9 -9
  779. package/lib/index.d.ts +2 -2
  780. package/lib/index.js +2 -2
  781. package/lib/providers/BKJThemeProvider/BKJColors.d.ts +56 -56
  782. package/lib/providers/BKJThemeProvider/BKJColors.js +56 -56
  783. package/lib/providers/BKJThemeProvider/BKJThemeProvider.d.ts +3 -3
  784. package/lib/providers/BKJThemeProvider/BKJThemeProvider.js +6 -6
  785. package/lib/providers/BKJThemeProvider/BKJThemeProvider.styled.d.ts +2 -2
  786. package/lib/providers/BKJThemeProvider/BKJThemeProvider.styled.js +148 -148
  787. package/lib/providers/BKJThemeProvider/BKJThemeProvider.theme.d.ts +10 -10
  788. package/lib/providers/BKJThemeProvider/BKJThemeProvider.theme.js +220 -220
  789. package/lib/providers/BKJThemeProvider/BKJThemeProvider.types.d.ts +223 -223
  790. package/lib/providers/BKJThemeProvider/BKJThemeProvider.types.js +9 -9
  791. package/lib/providers/BKJThemeProvider/index.d.ts +3 -3
  792. package/lib/providers/BKJThemeProvider/index.js +3 -3
  793. package/lib/providers/index.d.ts +1 -1
  794. package/lib/providers/index.js +1 -1
  795. package/lib/utils/deepEquals.d.ts +1 -1
  796. package/lib/utils/deepEquals.js +2 -2
  797. package/lib/utils/findValueByKey.d.ts +1 -1
  798. package/lib/utils/findValueByKey.js +8 -8
  799. package/lib/utils/isEmpty.d.ts +1 -1
  800. package/lib/utils/isEmpty.js +8 -8
  801. package/lib/utils/maskFloat.d.ts +1 -1
  802. package/lib/utils/maskFloat.js +8 -8
  803. package/lib/utils/serialize.d.ts +2 -2
  804. package/lib/utils/serialize.js +2 -2
  805. package/lib/utils/withMemo.d.ts +1 -1
  806. package/lib/utils/withMemo.js +5 -5
  807. package/package.json +191 -191
@@ -1,29 +1,29 @@
1
- import { createElement as _createElement } from "react";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Fragment, forwardRef } from 'react';
4
- import { BKJChip, BKJIcon } from '../index.js';
5
- import { Flex } from '../Flex/index.js';
6
- import { BKJPillDropdownProvider, useBKJPillDropdownContext } from './BKJPillDropdown.context.js';
7
- import { ArrowIconWrapper, BKJPillDropdownComboBox, BKJPillDropdownWrapper, InputLabel, InputMessage, RequiredAsterisk, TextAreaWrapper, } from './BKJPillDropdown.styled.js';
8
- const InputComponent = forwardRef(({ onInputChange, value, isFocused, onIsOpenChange, options = [], placeholder, ...rest }, ref) => {
9
- return (_jsx(BKJPillDropdownComboBox, Object.assign({}, rest, { overrides: ['HIDE_VALUE_LABEL', 'CHECKBOX_VARIANT'], ref: ref, action: "OpenToggle", name: "BKJPillDropdown_InputValue", placeholder: !!value?.length ? '' : placeholder, options: options, type: "Multiple", onIsOpenChange: onIsOpenChange, onChange: onInputChange, value: value, hasValue: value.length > 0, isFocused: isFocused }), void 0));
10
- });
11
- const BKJPillDropdownComponent = (props) => {
12
- const { value, label, required, disabled, description, name, error, max, options, placeholder, ...rest } = props;
13
- const { wrapperRef, inputRef, uuid, onChipRemove, onInputFocused, onInputChange, onInputBlur, isMaxLimitReached, onIsOpenChange, isFocused, } = useBKJPillDropdownContext();
14
- return (_jsxs(BKJPillDropdownWrapper, { children: [label && (_jsxs(InputLabel, Object.assign({ disabled: disabled }, { children: [label, required && _jsx(RequiredAsterisk, { children: "\u00A0*" }, void 0)] }), void 0)),
15
- value.length !== 0 && (_createElement(TextAreaWrapper, Object.assign({}, rest, { key: `BKJPillDropdown_${uuid}`, id: `BKJPillDropdown_${uuid}_TextAreaWrapper`, ref: wrapperRef, error: !!error || isMaxLimitReached, disabled: disabled, onMouseDown: onInputFocused, hasValue: value.length > 0, isFocused: isFocused }),
16
- _jsxs(Flex, Object.assign({ flexWrap: "wrap", gap: "4px", padding: value.length > 0 ? '8px 8px 0' : '8px 8px', margin: "0 17px 0 0" }, { children: [value.map((strValue) => {
17
- const MATCHED = options.find(({ value }) => value === strValue);
18
- if (!MATCHED)
19
- return _jsx(Fragment, {}, void 0);
20
- return (_jsx(BKJChip, Object.assign({ onClose: onChipRemove(MATCHED.value), variant: "Purple" }, { children: MATCHED.label }), MATCHED.value));
21
- }),
22
- _jsx(ArrowIconWrapper, { children: _jsx(BKJIcon, { iconName: isFocused ? 'ArrowUp' : 'ArrowDown' }, void 0) }, void 0)] }), void 0))),
23
- _jsx(InputComponent, { ref: inputRef, options: options, isFocused: isFocused, value: value, onInputChange: onInputChange, onBlur: onInputBlur, onIsOpenChange: onIsOpenChange, placeholder: placeholder }, void 0),
24
- description && _jsx(InputMessage, { children: description }, void 0)] }, void 0));
25
- };
26
- export const BKJPillDropdown = ({ value = [], onChange, name, validations, max = 10, placeholder = '', ...rest }) => {
27
- return (_jsx(BKJPillDropdownProvider, Object.assign({ value: value, onChange: onChange, name: name, validations: validations, max: max }, { children: _jsx(BKJPillDropdownComponent, Object.assign({ name: name, value: value, max: max }, rest, { placeholder: placeholder }), void 0) }), void 0));
28
- };
1
+ import { createElement as _createElement } from "react";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { Fragment, forwardRef } from 'react';
4
+ import { BKJChip, BKJIcon } from '../index.js';
5
+ import { Flex } from '../Flex/index.js';
6
+ import { BKJPillDropdownProvider, useBKJPillDropdownContext } from './BKJPillDropdown.context.js';
7
+ import { ArrowIconWrapper, BKJPillDropdownComboBox, BKJPillDropdownWrapper, InputLabel, InputMessage, RequiredAsterisk, TextAreaWrapper, } from './BKJPillDropdown.styled.js';
8
+ const InputComponent = forwardRef(({ onInputChange, value, isFocused, onIsOpenChange, options = [], placeholder, ...rest }, ref) => {
9
+ return (_jsx(BKJPillDropdownComboBox, Object.assign({}, rest, { overrides: ['HIDE_VALUE_LABEL', 'CHECKBOX_VARIANT'], ref: ref, action: "OpenToggle", name: "BKJPillDropdown_InputValue", placeholder: !!value?.length ? '' : placeholder, options: options, type: "Multiple", onIsOpenChange: onIsOpenChange, onChange: onInputChange, value: value, hasValue: value.length > 0, isFocused: isFocused }), void 0));
10
+ });
11
+ const BKJPillDropdownComponent = (props) => {
12
+ const { value, label, required, disabled, description, name, error, max, options, placeholder, ...rest } = props;
13
+ const { wrapperRef, inputRef, uuid, onChipRemove, onInputFocused, onInputChange, onInputBlur, isMaxLimitReached, onIsOpenChange, isFocused, } = useBKJPillDropdownContext();
14
+ return (_jsxs(BKJPillDropdownWrapper, { children: [label && (_jsxs(InputLabel, Object.assign({ disabled: disabled }, { children: [label, required && _jsx(RequiredAsterisk, { children: "\u00A0*" }, void 0)] }), void 0)),
15
+ value.length !== 0 && (_createElement(TextAreaWrapper, Object.assign({}, rest, { key: `BKJPillDropdown_${uuid}`, id: `BKJPillDropdown_${uuid}_TextAreaWrapper`, ref: wrapperRef, error: !!error || isMaxLimitReached, disabled: disabled, onMouseDown: onInputFocused, hasValue: value.length > 0, isFocused: isFocused }),
16
+ _jsxs(Flex, Object.assign({ flexWrap: "wrap", gap: "4px", padding: value.length > 0 ? '8px 8px 0' : '8px 8px', margin: "0 17px 0 0" }, { children: [value.map((strValue) => {
17
+ const MATCHED = options.find(({ value }) => value === strValue);
18
+ if (!MATCHED)
19
+ return _jsx(Fragment, {}, void 0);
20
+ return (_jsx(BKJChip, Object.assign({ onClose: onChipRemove(MATCHED.value), variant: "Purple" }, { children: MATCHED.label }), MATCHED.value));
21
+ }),
22
+ _jsx(ArrowIconWrapper, { children: _jsx(BKJIcon, { iconName: isFocused ? 'ArrowUp' : 'ArrowDown' }, void 0) }, void 0)] }), void 0))),
23
+ _jsx(InputComponent, { ref: inputRef, options: options, isFocused: isFocused, value: value, onInputChange: onInputChange, onBlur: onInputBlur, onIsOpenChange: onIsOpenChange, placeholder: placeholder }, void 0),
24
+ description && _jsx(InputMessage, { children: description }, void 0)] }, void 0));
25
+ };
26
+ export const BKJPillDropdown = ({ value = [], onChange, name, validations, max = 10, placeholder = '', ...rest }) => {
27
+ return (_jsx(BKJPillDropdownProvider, Object.assign({ value: value, onChange: onChange, name: name, validations: validations, max: max }, { children: _jsx(BKJPillDropdownComponent, Object.assign({ name: name, value: value, max: max }, rest, { placeholder: placeholder }), void 0) }), void 0));
28
+ };
29
29
  //# sourceMappingURL=BKJPillDropdown.js.map
@@ -1,36 +1,36 @@
1
- /// <reference types="react" />
2
- import { IBKJPillDropdown } from './BKJPillDropdown.types.js';
3
- import { Story } from '@storybook/react';
4
- declare const setup: {
5
- title: string;
6
- component: import("react").FC<IBKJPillDropdown>;
7
- argTypes: {
8
- label: {
9
- name: string;
10
- };
11
- error: {
12
- name: string;
13
- control: {
14
- type: string;
15
- };
16
- };
17
- height: {
18
- name: string;
19
- };
20
- required: {
21
- name: string;
22
- };
23
- placeholder: {
24
- name: string;
25
- };
26
- disabled: {
27
- name: string;
28
- };
29
- value: {
30
- name: string;
31
- };
32
- };
33
- };
34
- export declare const Default: Story<IBKJPillDropdown>;
35
- export default setup;
1
+ /// <reference types="react" />
2
+ import { IBKJPillDropdown } from './BKJPillDropdown.types.js';
3
+ import { Story } from '@storybook/react';
4
+ declare const setup: {
5
+ title: string;
6
+ component: import("react").FC<IBKJPillDropdown>;
7
+ argTypes: {
8
+ label: {
9
+ name: string;
10
+ };
11
+ error: {
12
+ name: string;
13
+ control: {
14
+ type: string;
15
+ };
16
+ };
17
+ height: {
18
+ name: string;
19
+ };
20
+ required: {
21
+ name: string;
22
+ };
23
+ placeholder: {
24
+ name: string;
25
+ };
26
+ disabled: {
27
+ name: string;
28
+ };
29
+ value: {
30
+ name: string;
31
+ };
32
+ };
33
+ };
34
+ export declare const Default: Story<IBKJPillDropdown>;
35
+ export default setup;
36
36
  //# sourceMappingURL=BKJPillDropdown.stories.d.ts.map
@@ -1,72 +1,72 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { BKJPillDropdown } from './BKJPillDropdown.js';
3
- import { useFormBehaviors } from '../../hooks/index.js';
4
- import uniq from 'lodash/uniq';
5
- import filter from 'lodash/filter';
6
- import includes from 'lodash/includes';
7
- const setup = {
8
- title: 'Input Elements/BKJPillDropdown',
9
- component: BKJPillDropdown,
10
- argTypes: {
11
- label: {
12
- name: 'Label Text',
13
- },
14
- error: {
15
- name: 'Error Message',
16
- control: {
17
- type: 'text',
18
- },
19
- },
20
- height: {
21
- name: 'Height',
22
- },
23
- required: {
24
- name: 'Required Field',
25
- },
26
- placeholder: {
27
- name: 'Placeholder',
28
- },
29
- disabled: {
30
- name: 'Disabled',
31
- },
32
- value: {
33
- name: 'Array Items',
34
- },
35
- },
36
- };
37
- const initialState = {
38
- data: ['1'],
39
- };
40
- function VALIDATION_unique(data) {
41
- let errs = [];
42
- const hasDuplicates = uniq(data).length !== data.length;
43
- const duplicates = uniq(filter(data, (val, i, iteratee) => includes(iteratee, val, i + 1)));
44
- if (data.length === 0)
45
- errs.push('At least 1 option is required');
46
- if (hasDuplicates)
47
- [`Remove duplicate values`, ...duplicates.map((str) => `\t• ${str}`)].forEach((item) => errs.push(item));
48
- if (errs.length)
49
- return errs;
50
- return '';
51
- }
52
- const opts = [...Array(300)].map((_, i) => {
53
- return { id: String(i + 1), label: `Item Number #${i + 1}`, value: String(i + 1) };
54
- });
55
- const Template = (props) => {
56
- const { values: { data }, onChange, fieldErrors, } = useFormBehaviors({
57
- initialState,
58
- onSubmit: console.log,
59
- validations: {
60
- data: VALIDATION_unique,
61
- },
62
- });
63
- return (_jsx(BKJPillDropdown, Object.assign({}, props, { options: opts, max: 200, onChange: onChange, name: "data", value: data, error: fieldErrors['data'] }), void 0));
64
- };
65
- export const Default = Template.bind({});
66
- Default.args = {
67
- label: 'Employment Status',
68
- required: true,
69
- placeholder: "Type or paste a list of dropdown values, so that there's one value per line.",
70
- };
71
- export default setup;
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { BKJPillDropdown } from './BKJPillDropdown.js';
3
+ import { useFormBehaviors } from '../../hooks/index.js';
4
+ import uniq from 'lodash/uniq';
5
+ import filter from 'lodash/filter';
6
+ import includes from 'lodash/includes';
7
+ const setup = {
8
+ title: 'Input Elements/BKJPillDropdown',
9
+ component: BKJPillDropdown,
10
+ argTypes: {
11
+ label: {
12
+ name: 'Label Text',
13
+ },
14
+ error: {
15
+ name: 'Error Message',
16
+ control: {
17
+ type: 'text',
18
+ },
19
+ },
20
+ height: {
21
+ name: 'Height',
22
+ },
23
+ required: {
24
+ name: 'Required Field',
25
+ },
26
+ placeholder: {
27
+ name: 'Placeholder',
28
+ },
29
+ disabled: {
30
+ name: 'Disabled',
31
+ },
32
+ value: {
33
+ name: 'Array Items',
34
+ },
35
+ },
36
+ };
37
+ const initialState = {
38
+ data: ['1'],
39
+ };
40
+ function VALIDATION_unique(data) {
41
+ let errs = [];
42
+ const hasDuplicates = uniq(data).length !== data.length;
43
+ const duplicates = uniq(filter(data, (val, i, iteratee) => includes(iteratee, val, i + 1)));
44
+ if (data.length === 0)
45
+ errs.push('At least 1 option is required');
46
+ if (hasDuplicates)
47
+ [`Remove duplicate values`, ...duplicates.map((str) => `\t• ${str}`)].forEach((item) => errs.push(item));
48
+ if (errs.length)
49
+ return errs;
50
+ return '';
51
+ }
52
+ const opts = [...Array(300)].map((_, i) => {
53
+ return { id: String(i + 1), label: `Item Number #${i + 1}`, value: String(i + 1) };
54
+ });
55
+ const Template = (props) => {
56
+ const { values: { data }, onChange, fieldErrors, } = useFormBehaviors({
57
+ initialState,
58
+ onSubmit: console.log,
59
+ validations: {
60
+ data: VALIDATION_unique,
61
+ },
62
+ });
63
+ return (_jsx(BKJPillDropdown, Object.assign({}, props, { options: opts, max: 200, onChange: onChange, name: "data", value: data, error: fieldErrors['data'] }), void 0));
64
+ };
65
+ export const Default = Template.bind({});
66
+ Default.args = {
67
+ label: 'Employment Status',
68
+ required: true,
69
+ placeholder: "Type or paste a list of dropdown values, so that there's one value per line.",
70
+ };
71
+ export default setup;
72
72
  //# sourceMappingURL=BKJPillDropdown.stories.js.map
@@ -1,18 +1,18 @@
1
- /// <reference types="react" />
2
- import { IBKJPillDropdownContext, TextAreaWrapperProps } from './BKJPillDropdown.types.js';
3
- export declare const InputLabel: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {
4
- disabled?: boolean | undefined;
5
- }, never>;
6
- export declare const ErrorMessage: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {}, never>;
7
- export declare const InputMessage: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, Partial<Pick<IBKJPillDropdownContext, "inputValue" | "isMaxLimitReached">>, never>;
8
- export declare const RequiredAsterisk: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {
9
- disabled?: boolean | undefined;
10
- }, never>;
11
- export declare const BKJPillDropdownWrapper: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {}, never>;
12
- export declare const TextAreaWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TextAreaWrapperProps, never>;
13
- export declare const BKJPillDropdownComboBox: import("styled-components").StyledComponent<import("react").FC<import("../BKJComboBox/BKJComboBox.types.js").IBKJComboBoxProps<import("../BKJComboBox/BKJComboBox.types.js").IBKJComboBoxOption<string | number, string, string | number>>>, import("styled-components").DefaultTheme, {
14
- hasValue: boolean;
15
- isFocused: boolean;
16
- }, never>;
17
- export declare const ArrowIconWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
1
+ /// <reference types="react" />
2
+ import { IBKJPillDropdownContext, TextAreaWrapperProps } from './BKJPillDropdown.types.js';
3
+ export declare const InputLabel: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {
4
+ disabled?: boolean | undefined;
5
+ }, never>;
6
+ export declare const ErrorMessage: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {}, never>;
7
+ export declare const InputMessage: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, Partial<Pick<IBKJPillDropdownContext, "inputValue" | "isMaxLimitReached">>, never>;
8
+ export declare const RequiredAsterisk: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {
9
+ disabled?: boolean | undefined;
10
+ }, never>;
11
+ export declare const BKJPillDropdownWrapper: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {}, never>;
12
+ export declare const TextAreaWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TextAreaWrapperProps, never>;
13
+ export declare const BKJPillDropdownComboBox: import("styled-components").StyledComponent<import("react").FC<import("../BKJComboBox/BKJComboBox.types.js").IBKJComboBoxProps<import("../BKJComboBox/BKJComboBox.types.js").IBKJComboBoxOption<string | number, string, string | number>>>, import("styled-components").DefaultTheme, {
14
+ hasValue: boolean;
15
+ isFocused: boolean;
16
+ }, never>;
17
+ export declare const ArrowIconWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
18
18
  //# sourceMappingURL=BKJPillDropdown.styled.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BKJPillDropdown.styled.d.ts","sourceRoot":"","sources":["../../../src/components/BKJPillDropdown/BKJPillDropdown.styled.ts"],"names":[],"mappings":";AASA,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAGxF,eAAO,MAAM,UAAU;;SAEtB,CAAC;AAEF,eAAO,MAAM,YAAY,2GAExB,CAAC;AAEF,eAAO,MAAM,YAAY,mLAYxB,CAAC;AAEF,eAAO,MAAM,gBAAgB;;SAE5B,CAAC;AAEF,eAAO,MAAM,sBAAsB,2GAIlC,CAAC;AAEF,eAAO,MAAM,eAAe,2HAwB3B,CAAC;AAEF,eAAO,MAAM,uBAAuB;cACxB,OAAO;eACN,OAAO;SAkBnB,CAAC;AAEF,eAAO,MAAM,gBAAgB,yGAI5B,CAAC"}
1
+ {"version":3,"file":"BKJPillDropdown.styled.d.ts","sourceRoot":"","sources":["../../../src/components/BKJPillDropdown/BKJPillDropdown.styled.ts"],"names":[],"mappings":";AASA,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAGxF,eAAO,MAAM,UAAU;;SAEtB,CAAC;AAEF,eAAO,MAAM,YAAY,2GAExB,CAAC;AAEF,eAAO,MAAM,YAAY,mLAYxB,CAAC;AAEF,eAAO,MAAM,gBAAgB;;SAE5B,CAAC;AAEF,eAAO,MAAM,sBAAsB,2GAIlC,CAAC;AAEF,eAAO,MAAM,eAAe,2HAwB3B,CAAC;AAEF,eAAO,MAAM,uBAAuB;cACxB,OAAO;eACN,OAAO;SAuBnB,CAAC;AAEF,eAAO,MAAM,gBAAgB,yGAI5B,CAAC"}
@@ -1,75 +1,80 @@
1
- import styled, { css } from 'styled-components';
2
- import { InputBaseCSS, InputErrorMessageCSS, InputLabelCSS, InputMessageCSS, InputRequiredAsteriskCSS, InputWrapperCSS, } from '../common/index.js';
3
- import { BKJComboBox } from '../BKJComboBox/index.js';
4
- export const InputLabel = styled.label `
5
- ${InputLabelCSS}
6
- `;
7
- export const ErrorMessage = styled.label `
8
- ${InputErrorMessageCSS}
9
- `;
10
- export const InputMessage = styled.label `
11
- ${InputMessageCSS};
12
-
13
- ${({ isMaxLimitReached }) => {
14
- if (isMaxLimitReached)
15
- return css `
16
- color: ${({ theme }) => theme.colors.ErrorDefault};
17
- `;
18
- return css ``;
19
- }}
20
- `;
21
- export const RequiredAsterisk = styled(InputLabel) `
22
- ${InputRequiredAsteriskCSS}
23
- `;
24
- export const BKJPillDropdownWrapper = styled.label `
25
- ${InputWrapperCSS};
26
- display: flex;
27
- flex-direction: column;
28
- `;
29
- export const TextAreaWrapper = styled.div `
30
- ${InputBaseCSS};
31
- border: 1px solid ${({ theme }) => theme.colors.Grey6};
32
-
33
- height: auto;
34
- width: 100%;
35
- display: flex;
36
- flex-direction: column;
37
- overflow: hidden;
38
- overflow-y: overlay;
39
- position: relative;
40
-
41
- z-index: 1;
42
-
43
- border-bottom-left-radius: 0;
44
- border-bottom-right-radius: 0;
45
- border-bottom: none;
46
-
47
- ${({ isFocused, hasValue, theme }) => !isFocused &&
48
- !hasValue &&
49
- css `
50
- border-bottom: 1px solid ${theme.colors.Grey6};
51
- `};
52
- `;
53
- export const BKJPillDropdownComboBox = styled(BKJComboBox) `
54
- ${({ hasValue }) => hasValue &&
55
- css `
56
- input {
57
- border-top-left-radius: 0px !important;
58
- border-top-right-radius: 0px !important;
59
- border-top: none !important;
60
- margin-top: -30px;
61
- color: transparent;
62
- }
63
- .bkj-combobox-dropdown-icon {
64
- svg {
65
- display: none;
66
- }
67
- }
68
- `};
69
- `;
70
- export const ArrowIconWrapper = styled.div `
71
- position: absolute;
72
- top: 7px;
73
- right: 8px;
74
- `;
1
+ import styled, { css } from 'styled-components';
2
+ import { InputBaseCSS, InputErrorMessageCSS, InputLabelCSS, InputMessageCSS, InputRequiredAsteriskCSS, InputWrapperCSS, } from '../common/index.js';
3
+ import { BKJComboBox } from '../BKJComboBox/index.js';
4
+ export const InputLabel = styled.label `
5
+ ${InputLabelCSS}
6
+ `;
7
+ export const ErrorMessage = styled.label `
8
+ ${InputErrorMessageCSS}
9
+ `;
10
+ export const InputMessage = styled.label `
11
+ ${InputMessageCSS};
12
+
13
+ ${({ isMaxLimitReached }) => {
14
+ if (isMaxLimitReached)
15
+ return css `
16
+ color: ${({ theme }) => theme.colors.ErrorDefault};
17
+ `;
18
+ return css ``;
19
+ }}
20
+ `;
21
+ export const RequiredAsterisk = styled(InputLabel) `
22
+ ${InputRequiredAsteriskCSS}
23
+ `;
24
+ export const BKJPillDropdownWrapper = styled.label `
25
+ ${InputWrapperCSS};
26
+ display: flex;
27
+ flex-direction: column;
28
+ `;
29
+ export const TextAreaWrapper = styled.div `
30
+ ${InputBaseCSS};
31
+ border: 1px solid ${({ theme }) => theme.colors.Grey6};
32
+
33
+ height: auto;
34
+ width: 100%;
35
+ display: flex;
36
+ flex-direction: column;
37
+ overflow: hidden;
38
+ overflow-y: overlay;
39
+ position: relative;
40
+
41
+ z-index: 1;
42
+
43
+ border-bottom-left-radius: 0;
44
+ border-bottom-right-radius: 0;
45
+ border-bottom: none;
46
+
47
+ ${({ isFocused, hasValue, theme }) => !isFocused &&
48
+ !hasValue &&
49
+ css `
50
+ border-bottom: 1px solid ${theme.colors.Grey6};
51
+ `};
52
+ `;
53
+ export const BKJPillDropdownComboBox = styled(BKJComboBox) `
54
+ ${({ hasValue }) => hasValue
55
+ ? css `
56
+ input {
57
+ border-top-left-radius: 0px !important;
58
+ border-top-right-radius: 0px !important;
59
+ border-top: none !important;
60
+ margin-top: -30px;
61
+ color: transparent;
62
+ }
63
+ .bkj-combobox-dropdown-icon {
64
+ svg {
65
+ display: none;
66
+ }
67
+ }
68
+ `
69
+ : css `
70
+ input {
71
+ height: 46px;
72
+ }
73
+ `};
74
+ `;
75
+ export const ArrowIconWrapper = styled.div `
76
+ position: absolute;
77
+ top: 7px;
78
+ right: 8px;
79
+ `;
75
80
  //# sourceMappingURL=BKJPillDropdown.styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BKJPillDropdown.styled.js","sourceRoot":"","sources":["../../../src/components/BKJPillDropdown/BKJPillDropdown.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,aAAa,EACb,eAAe,EACf,wBAAwB,EACxB,eAAe,GAChB,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,KAAK,CAAA;IAClC,aAAa;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,KAAK,CAAA;IACpC,oBAAoB;CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,KAAK,CAEvC;IACG,eAAe;;IAEf,CAAC,EAAE,iBAAiB,EAAE,EAAE,EAAE;IAC1B,IAAI,iBAAiB;QACnB,OAAO,GAAG,CAAA;iBACC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,YAAY;OAClD,CAAC;IACJ,OAAO,GAAG,CAAA,EAAE,CAAC;AACf,CAAC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,UAAU,CAAC,CAAA;IAC9C,wBAAwB;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,MAAM,CAAC,KAAK,CAAA;IAC9C,eAAe;;;CAGlB,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,GAAG,CAAsB;IAC3D,YAAY;sBACM,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK;;;;;;;;;;;;;;;;IAgBnD,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,EAAE,CACnC,CAAC,SAAS;IACV,CAAC,QAAQ;IACT,GAAG,CAAA;iCAC0B,KAAK,CAAC,MAAM,CAAC,KAAK;KAC9C;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC,WAAW,CAAC,CAGxD;IACE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CACjB,QAAQ;IACR,GAAG,CAAA;;;;;;;;;;;;;KAaF;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;CAIzC,CAAC"}
1
+ {"version":3,"file":"BKJPillDropdown.styled.js","sourceRoot":"","sources":["../../../src/components/BKJPillDropdown/BKJPillDropdown.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,aAAa,EACb,eAAe,EACf,wBAAwB,EACxB,eAAe,GAChB,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,KAAK,CAAA;IAClC,aAAa;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,KAAK,CAAA;IACpC,oBAAoB;CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,KAAK,CAEvC;IACG,eAAe;;IAEf,CAAC,EAAE,iBAAiB,EAAE,EAAE,EAAE;IAC1B,IAAI,iBAAiB;QACnB,OAAO,GAAG,CAAA;iBACC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,YAAY;OAClD,CAAC;IACJ,OAAO,GAAG,CAAA,EAAE,CAAC;AACf,CAAC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,UAAU,CAAC,CAAA;IAC9C,wBAAwB;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,MAAM,CAAC,KAAK,CAAA;IAC9C,eAAe;;;CAGlB,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,GAAG,CAAsB;IAC3D,YAAY;sBACM,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK;;;;;;;;;;;;;;;;IAgBnD,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,EAAE,CACnC,CAAC,SAAS;IACV,CAAC,QAAQ;IACT,GAAG,CAAA;iCAC0B,KAAK,CAAC,MAAM,CAAC,KAAK;KAC9C;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC,WAAW,CAAC,CAGxD;IACE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CACjB,QAAQ;IACN,CAAC,CAAC,GAAG,CAAA;;;;;;;;;;;;;SAaF;IACH,CAAC,CAAC,GAAG,CAAA;;;;SAIF;CACR,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;CAIzC,CAAC"}
@@ -1,48 +1,48 @@
1
- import { Dispatch, FocusEventHandler, InputHTMLAttributes, MouseEventHandler, RefObject, SetStateAction } from 'react';
2
- import { BKJTextInputValueType, ChangeFunctionType, FormValidationErrorMessageType } from '../../common.types.js';
3
- import { IBKJComboBoxOption, IBKJComboBoxProps } from '../BKJComboBox/BKJComboBox.types.js';
4
- export interface IBKJPillDropdownProvider {
5
- readonly value?: string[];
6
- readonly onChange: IBKJPillDropdownContext['onInputChange'];
7
- readonly name: string;
8
- readonly validations: IBKJPillDropdown['validations'];
9
- readonly max: IBKJPillDropdown['max'];
10
- }
11
- export interface IBKJPillDropdownContext extends InputHTMLAttributes<HTMLInputElement> {
12
- wrapperRef: RefObject<HTMLDivElement>;
13
- inputRef: RefObject<HTMLInputElement>;
14
- readonly value: string[];
15
- inputValue: string;
16
- setInputValue: Dispatch<SetStateAction<string>>;
17
- onInputFocused: MouseEventHandler<HTMLDivElement>;
18
- onInputChange: ChangeFunctionType;
19
- onInputBlur: FocusEventHandler<HTMLInputElement>;
20
- isFocused: boolean;
21
- onIsOpenChange: (args: {}) => void;
22
- onChipRemove: (label: string) => MouseEventHandler<HTMLDivElement>;
23
- uuid: string;
24
- isMaxLimitReached: boolean;
25
- options?: IBKJComboBoxProps['options'];
26
- }
27
- export interface IBKJPillDropdown extends InputHTMLAttributes<any> {
28
- readonly options: IBKJComboBoxProps<IBKJComboBoxOption<string>>['options'];
29
- readonly label?: string;
30
- readonly required?: boolean;
31
- readonly disabled?: boolean;
32
- readonly description?: string;
33
- readonly error?: FormValidationErrorMessageType;
34
- readonly value: BKJTextInputValueType[];
35
- readonly onChange: ChangeFunctionType;
36
- readonly name: string;
37
- readonly placeholder?: string;
38
- readonly validations: Array<() => string | string[] | true>;
39
- readonly max: number;
40
- children?: JSX.Element | JSX.Element[] | any;
41
- }
42
- export interface TextAreaWrapperProps {
43
- disabled?: boolean;
44
- hasValue?: boolean;
45
- isFocused?: boolean;
46
- error?: FormValidationErrorMessageType;
47
- }
1
+ import { Dispatch, FocusEventHandler, InputHTMLAttributes, MouseEventHandler, RefObject, SetStateAction } from 'react';
2
+ import { BKJTextInputValueType, ChangeFunctionType, FormValidationErrorMessageType } from '../../common.types.js';
3
+ import { IBKJComboBoxOption, IBKJComboBoxProps } from '../BKJComboBox/BKJComboBox.types.js';
4
+ export interface IBKJPillDropdownProvider {
5
+ readonly value?: string[];
6
+ readonly onChange: IBKJPillDropdownContext['onInputChange'];
7
+ readonly name: string;
8
+ readonly validations: IBKJPillDropdown['validations'];
9
+ readonly max: IBKJPillDropdown['max'];
10
+ }
11
+ export interface IBKJPillDropdownContext extends InputHTMLAttributes<HTMLInputElement> {
12
+ wrapperRef: RefObject<HTMLDivElement>;
13
+ inputRef: RefObject<HTMLInputElement>;
14
+ readonly value: string[];
15
+ inputValue: string;
16
+ setInputValue: Dispatch<SetStateAction<string>>;
17
+ onInputFocused: MouseEventHandler<HTMLDivElement>;
18
+ onInputChange: ChangeFunctionType;
19
+ onInputBlur: FocusEventHandler<HTMLInputElement>;
20
+ isFocused: boolean;
21
+ onIsOpenChange: (args: {}) => void;
22
+ onChipRemove: (label: string) => MouseEventHandler<HTMLDivElement>;
23
+ uuid: string;
24
+ isMaxLimitReached: boolean;
25
+ options?: IBKJComboBoxProps['options'];
26
+ }
27
+ export interface IBKJPillDropdown extends InputHTMLAttributes<any> {
28
+ readonly options: IBKJComboBoxProps<IBKJComboBoxOption<string>>['options'];
29
+ readonly label?: string;
30
+ readonly required?: boolean;
31
+ readonly disabled?: boolean;
32
+ readonly description?: string;
33
+ readonly error?: FormValidationErrorMessageType;
34
+ readonly value: BKJTextInputValueType[];
35
+ readonly onChange: ChangeFunctionType;
36
+ readonly name: string;
37
+ readonly placeholder?: string;
38
+ readonly validations: Array<() => string | string[] | true>;
39
+ readonly max: number;
40
+ children?: JSX.Element | JSX.Element[] | any;
41
+ }
42
+ export interface TextAreaWrapperProps {
43
+ disabled?: boolean;
44
+ hasValue?: boolean;
45
+ isFocused?: boolean;
46
+ error?: FormValidationErrorMessageType;
47
+ }
48
48
  //# sourceMappingURL=BKJPillDropdown.types.d.ts.map
@@ -1,2 +1,2 @@
1
- export {};
1
+ export {};
2
2
  //# sourceMappingURL=BKJPillDropdown.types.js.map
@@ -1,2 +1,2 @@
1
- export * from './BKJPillDropdown.js';
1
+ export * from './BKJPillDropdown.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export * from './BKJPillDropdown.js';
1
+ export * from './BKJPillDropdown.js';
2
2
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
- import { FC } from 'react';
2
- import { IBKJPillSelectContext, IBKJPillSelectProvider } from './BKJPillSelect.types.js';
3
- export declare const BKJPillSelectProvider: FC<IBKJPillSelectProvider>;
4
- export declare const useBKJPillSelectContext: () => IBKJPillSelectContext;
1
+ import { FC } from 'react';
2
+ import { IBKJPillSelectContext, IBKJPillSelectProvider } from './BKJPillSelect.types.js';
3
+ export declare const BKJPillSelectProvider: FC<IBKJPillSelectProvider>;
4
+ export declare const useBKJPillSelectContext: () => IBKJPillSelectContext;
5
5
  //# sourceMappingURL=BKJPillSelect.context.d.ts.map