@bookjane2/bookjane-design-library 7.3.3 → 7.3.4

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 (810) 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.js +26 -26
  108. package/lib/components/BKJChip/BKJChip.theme.d.ts +2 -2
  109. package/lib/components/BKJChip/BKJChip.theme.js +9 -9
  110. package/lib/components/BKJChip/BKJChip.types.d.ts +11 -11
  111. package/lib/components/BKJChip/BKJChip.types.js +1 -1
  112. package/lib/components/BKJChip/index.d.ts +2 -2
  113. package/lib/components/BKJChip/index.js +2 -2
  114. package/lib/components/BKJComboBox/BKJComboBox.d.ts +7 -7
  115. package/lib/components/BKJComboBox/BKJComboBox.js +18 -18
  116. package/lib/components/BKJComboBox/BKJComboBox.stories.d.ts +10 -10
  117. package/lib/components/BKJComboBox/BKJComboBox.stories.js +49 -49
  118. package/lib/components/BKJComboBox/BKJComboBox.types.d.ts +121 -121
  119. package/lib/components/BKJComboBox/BKJComboBox.types.js +1 -1
  120. package/lib/components/BKJComboBox/BKJComboBox.utils.d.ts +23 -23
  121. package/lib/components/BKJComboBox/BKJComboBox.utils.js +167 -167
  122. package/lib/components/BKJComboBox/fortune-500-company-list.json +3002 -3002
  123. package/lib/components/BKJComboBox/index.d.ts +1 -1
  124. package/lib/components/BKJComboBox/index.js +1 -1
  125. package/lib/components/BKJComboBox/opts.d.ts +6 -6
  126. package/lib/components/BKJComboBox/opts.js +482 -482
  127. package/lib/components/BKJComboBox/src/BKJComboBox.context.d.ts +5 -5
  128. package/lib/components/BKJComboBox/src/BKJComboBox.context.hooks.d.ts +13 -13
  129. package/lib/components/BKJComboBox/src/BKJComboBox.context.hooks.js +9 -9
  130. package/lib/components/BKJComboBox/src/BKJComboBox.context.js +198 -198
  131. package/lib/components/BKJComboBox/src/BKJComboBoxInput.d.ts +7 -7
  132. package/lib/components/BKJComboBox/src/BKJComboBoxInput.js +22 -22
  133. package/lib/components/BKJComboBox/src/BKJComboBoxItem.d.ts +3 -3
  134. package/lib/components/BKJComboBox/src/BKJComboBoxItem.js +27 -27
  135. package/lib/components/BKJComboBox/src/BKJComboBoxOptions.d.ts +8 -8
  136. package/lib/components/BKJComboBox/src/BKJComboBoxOptions.js +33 -33
  137. package/lib/components/BKJComboBox/src/BKJComboBoxOptionsMapper.d.ts +5 -5
  138. package/lib/components/BKJComboBox/src/BKJComboBoxOptionsMapper.js +19 -19
  139. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.d.ts +7 -7
  140. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.js +18 -18
  141. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.d.ts +10 -10
  142. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.js +92 -92
  143. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.types.d.ts +122 -122
  144. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.types.js +1 -1
  145. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.utils.d.ts +11 -11
  146. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.utils.js +80 -80
  147. package/lib/components/BKJComboBoxAsync/fortune-500-company-list.json +3509 -3509
  148. package/lib/components/BKJComboBoxAsync/index.d.ts +1 -1
  149. package/lib/components/BKJComboBoxAsync/index.js +1 -1
  150. package/lib/components/BKJComboBoxAsync/opts.d.ts +6 -6
  151. package/lib/components/BKJComboBoxAsync/opts.js +482 -482
  152. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.d.ts +5 -5
  153. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.hooks.d.ts +11 -11
  154. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.hooks.js +8 -8
  155. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.js +185 -185
  156. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncInput.d.ts +8 -8
  157. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncInput.js +30 -30
  158. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncItem.d.ts +3 -3
  159. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncItem.js +21 -21
  160. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptions.d.ts +5 -5
  161. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptions.js +25 -25
  162. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptionsMapper.d.ts +5 -5
  163. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptionsMapper.js +59 -59
  164. package/lib/components/BKJDialog/BKJDialog.d.ts +3 -3
  165. package/lib/components/BKJDialog/BKJDialog.js +30 -30
  166. package/lib/components/BKJDialog/BKJDialog.stories.d.ts +34 -34
  167. package/lib/components/BKJDialog/BKJDialog.stories.js +42 -42
  168. package/lib/components/BKJDialog/BKJDialog.styled.d.ts +8 -8
  169. package/lib/components/BKJDialog/BKJDialog.styled.js +66 -66
  170. package/lib/components/BKJDialog/BKJDialog.theme.d.ts +2 -2
  171. package/lib/components/BKJDialog/BKJDialog.theme.js +5 -5
  172. package/lib/components/BKJDialog/BKJDialog.types.d.ts +18 -18
  173. package/lib/components/BKJDialog/BKJDialog.types.js +1 -1
  174. package/lib/components/BKJDialog/index.d.ts +1 -1
  175. package/lib/components/BKJDialog/index.js +1 -1
  176. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.d.ts +3 -3
  177. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.js +36 -36
  178. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.stories.d.ts +37 -37
  179. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.stories.js +51 -51
  180. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.styled.d.ts +13 -13
  181. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.styled.js +36 -36
  182. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.types.d.ts +14 -14
  183. package/lib/components/BKJDollarTextInput/BKJDollarTextInput.types.js +1 -1
  184. package/lib/components/BKJDollarTextInput/index.d.ts +2 -2
  185. package/lib/components/BKJDollarTextInput/index.js +2 -2
  186. package/lib/components/BKJDropdown/BKJDropdown.d.ts +12 -12
  187. package/lib/components/BKJDropdown/BKJDropdown.js +71 -71
  188. package/lib/components/BKJDropdown/BKJDropdown.theme.d.ts +2 -2
  189. package/lib/components/BKJDropdown/BKJDropdown.theme.js +31 -31
  190. package/lib/components/BKJDropdown/BKJDropdown.types.d.ts +5 -5
  191. package/lib/components/BKJDropdown/BKJDropdown.types.js +1 -1
  192. package/lib/components/BKJDropdown/index.d.ts +1 -1
  193. package/lib/components/BKJDropdown/index.js +1 -1
  194. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.d.ts +6 -6
  195. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.js +82 -82
  196. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.stories.d.ts +9 -9
  197. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.stories.js +15 -15
  198. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.styled.d.ts +1 -1
  199. package/lib/components/BKJDropdownMenu/BKJDropdownMenu.styled.js +8 -8
  200. package/lib/components/BKJDropdownMenu/index.d.ts +1 -1
  201. package/lib/components/BKJDropdownMenu/index.js +1 -1
  202. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.context.d.ts +8 -8
  203. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.context.js +33 -33
  204. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.d.ts +3 -3
  205. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.js +16 -16
  206. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.stories.d.ts +10 -10
  207. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.stories.js +15 -15
  208. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.styled.d.ts +3 -3
  209. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.styled.js +13 -13
  210. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.types.d.ts +12 -12
  211. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenu.types.js +1 -1
  212. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenuDropdown.d.ts +3 -3
  213. package/lib/components/BKJEllipsisMenu/BKJEllipsisMenuDropdown.js +27 -27
  214. package/lib/components/BKJEllipsisMenu/index.d.ts +2 -2
  215. package/lib/components/BKJEllipsisMenu/index.js +2 -2
  216. package/lib/components/BKJFileInput/BKJFileInput.d.ts +3 -3
  217. package/lib/components/BKJFileInput/BKJFileInput.js +26 -26
  218. package/lib/components/BKJFileInput/BKJFileInput.stories.d.ts +14 -14
  219. package/lib/components/BKJFileInput/BKJFileInput.stories.js +23 -23
  220. package/lib/components/BKJFileInput/BKJFileInput.styled.d.ts +16 -16
  221. package/lib/components/BKJFileInput/BKJFileInput.styled.js +57 -57
  222. package/lib/components/BKJFileInput/BKJFileInput.types.d.ts +14 -14
  223. package/lib/components/BKJFileInput/BKJFileInput.types.js +1 -1
  224. package/lib/components/BKJFileInput/index.d.ts +1 -1
  225. package/lib/components/BKJFileInput/index.js +1 -1
  226. package/lib/components/BKJHorizontalRule/BKJHorizontalRule.d.ts +2 -2
  227. package/lib/components/BKJHorizontalRule/BKJHorizontalRule.js +8 -8
  228. package/lib/components/BKJHorizontalRule/BKJHorizontalRule.types.d.ts +12 -12
  229. package/lib/components/BKJHorizontalRule/BKJHorizontalRule.types.js +15 -15
  230. package/lib/components/BKJHorizontalRule/index.d.ts +1 -1
  231. package/lib/components/BKJHorizontalRule/index.js +1 -1
  232. package/lib/components/BKJIcon/BKJIcon.d.ts +3 -3
  233. package/lib/components/BKJIcon/BKJIcon.js +12 -12
  234. package/lib/components/BKJIcon/BKJIcon.stories.d.ts +34 -34
  235. package/lib/components/BKJIcon/BKJIcon.stories.js +47 -47
  236. package/lib/components/BKJIcon/BKJIcon.stories.styled.d.ts +6 -6
  237. package/lib/components/BKJIcon/BKJIcon.stories.styled.js +31 -31
  238. package/lib/components/BKJIcon/BKJIcon.types.d.ts +28 -28
  239. package/lib/components/BKJIcon/BKJIcon.types.js +113 -113
  240. package/lib/components/BKJIcon/index.d.ts +2 -2
  241. package/lib/components/BKJIcon/index.js +2 -2
  242. package/lib/components/BKJIcon/src/avatars/Avatar.d.ts +3 -3
  243. package/lib/components/BKJIcon/src/avatars/Avatar.js +13 -13
  244. package/lib/components/BKJIcon/src/avatars/AvatarFill.d.ts +3 -3
  245. package/lib/components/BKJIcon/src/avatars/AvatarFill.js +12 -12
  246. package/lib/components/BKJIcon/src/functions/Add.d.ts +3 -3
  247. package/lib/components/BKJIcon/src/functions/Add.js +11 -11
  248. package/lib/components/BKJIcon/src/functions/Delete.d.ts +3 -3
  249. package/lib/components/BKJIcon/src/functions/Delete.js +11 -11
  250. package/lib/components/BKJIcon/src/functions/Download.d.ts +3 -3
  251. package/lib/components/BKJIcon/src/functions/Download.js +10 -10
  252. package/lib/components/BKJIcon/src/functions/Filters.d.ts +3 -3
  253. package/lib/components/BKJIcon/src/functions/Filters.js +9 -9
  254. package/lib/components/BKJIcon/src/functions/HamburgerExpand.d.ts +3 -3
  255. package/lib/components/BKJIcon/src/functions/HamburgerExpand.js +17 -17
  256. package/lib/components/BKJIcon/src/functions/HamburgerTablet.d.ts +3 -3
  257. package/lib/components/BKJIcon/src/functions/HamburgerTablet.js +9 -9
  258. package/lib/components/BKJIcon/src/functions/Minus.d.ts +3 -3
  259. package/lib/components/BKJIcon/src/functions/Minus.js +12 -12
  260. package/lib/components/BKJIcon/src/functions/Plus.d.ts +3 -3
  261. package/lib/components/BKJIcon/src/functions/Plus.js +9 -9
  262. package/lib/components/BKJIcon/src/functions/Sort.d.ts +3 -3
  263. package/lib/components/BKJIcon/src/functions/Sort.js +9 -9
  264. package/lib/components/BKJIcon/src/functions/Templates.d.ts +3 -3
  265. package/lib/components/BKJIcon/src/functions/Templates.js +9 -9
  266. package/lib/components/BKJIcon/src/functions/Trash.d.ts +3 -3
  267. package/lib/components/BKJIcon/src/functions/Trash.js +9 -9
  268. package/lib/components/BKJIcon/src/general/Client.d.ts +3 -3
  269. package/lib/components/BKJIcon/src/general/Client.js +12 -12
  270. package/lib/components/BKJIcon/src/general/ClientPreferences.d.ts +3 -3
  271. package/lib/components/BKJIcon/src/general/ClientPreferences.js +9 -9
  272. package/lib/components/BKJIcon/src/general/Copy.d.ts +3 -3
  273. package/lib/components/BKJIcon/src/general/Copy.js +9 -9
  274. package/lib/components/BKJIcon/src/general/DevNotes.d.ts +3 -3
  275. package/lib/components/BKJIcon/src/general/DevNotes.js +13 -13
  276. package/lib/components/BKJIcon/src/general/Document.d.ts +3 -3
  277. package/lib/components/BKJIcon/src/general/Document.js +9 -9
  278. package/lib/components/BKJIcon/src/general/Edit.d.ts +3 -3
  279. package/lib/components/BKJIcon/src/general/Edit.js +9 -9
  280. package/lib/components/BKJIcon/src/general/Ellipsis.d.ts +3 -3
  281. package/lib/components/BKJIcon/src/general/Ellipsis.js +11 -11
  282. package/lib/components/BKJIcon/src/general/EllipsisInCircle.d.ts +3 -3
  283. package/lib/components/BKJIcon/src/general/EllipsisInCircle.js +13 -13
  284. package/lib/components/BKJIcon/src/general/Eye.d.ts +7 -7
  285. package/lib/components/BKJIcon/src/general/Eye.js +10 -10
  286. package/lib/components/BKJIcon/src/general/Group.d.ts +3 -3
  287. package/lib/components/BKJIcon/src/general/Group.js +10 -10
  288. package/lib/components/BKJIcon/src/general/Info.d.ts +3 -3
  289. package/lib/components/BKJIcon/src/general/Info.js +11 -11
  290. package/lib/components/BKJIcon/src/general/Location.d.ts +3 -3
  291. package/lib/components/BKJIcon/src/general/Location.js +12 -12
  292. package/lib/components/BKJIcon/src/general/Location1.d.ts +3 -3
  293. package/lib/components/BKJIcon/src/general/Location1.js +12 -12
  294. package/lib/components/BKJIcon/src/general/Notes1.d.ts +3 -3
  295. package/lib/components/BKJIcon/src/general/Notes1.js +12 -12
  296. package/lib/components/BKJIcon/src/general/Paste.d.ts +3 -3
  297. package/lib/components/BKJIcon/src/general/Paste.js +9 -9
  298. package/lib/components/BKJIcon/src/general/Payment.d.ts +3 -3
  299. package/lib/components/BKJIcon/src/general/Payment.js +10 -10
  300. package/lib/components/BKJIcon/src/general/PendingSignup.d.ts +3 -3
  301. package/lib/components/BKJIcon/src/general/PendingSignup.js +12 -12
  302. package/lib/components/BKJIcon/src/general/Phone.d.ts +3 -3
  303. package/lib/components/BKJIcon/src/general/Phone.js +9 -9
  304. package/lib/components/BKJIcon/src/general/Position.d.ts +3 -3
  305. package/lib/components/BKJIcon/src/general/Position.js +10 -10
  306. package/lib/components/BKJIcon/src/general/Reply.d.ts +3 -3
  307. package/lib/components/BKJIcon/src/general/Reply.js +9 -9
  308. package/lib/components/BKJIcon/src/general/RoomType.d.ts +3 -3
  309. package/lib/components/BKJIcon/src/general/RoomType.js +12 -12
  310. package/lib/components/BKJIcon/src/general/Search.d.ts +3 -3
  311. package/lib/components/BKJIcon/src/general/Search.js +9 -9
  312. package/lib/components/BKJIcon/src/general/Time.d.ts +3 -3
  313. package/lib/components/BKJIcon/src/general/Time.js +12 -12
  314. package/lib/components/BKJIcon/src/general/Video.d.ts +3 -3
  315. package/lib/components/BKJIcon/src/general/Video.js +9 -9
  316. package/lib/components/BKJIcon/src/general/Warning.d.ts +3 -3
  317. package/lib/components/BKJIcon/src/general/Warning.js +10 -10
  318. package/lib/components/BKJIcon/src/index.d.ts +98 -98
  319. package/lib/components/BKJIcon/src/index.js +98 -98
  320. package/lib/components/BKJIcon/src/indicators/Checkmark.d.ts +3 -3
  321. package/lib/components/BKJIcon/src/indicators/Checkmark.js +9 -9
  322. package/lib/components/BKJIcon/src/indicators/Dedicated.d.ts +3 -3
  323. package/lib/components/BKJIcon/src/indicators/Dedicated.js +9 -9
  324. package/lib/components/BKJIcon/src/indicators/DefaultOutline.d.ts +3 -3
  325. package/lib/components/BKJIcon/src/indicators/DefaultOutline.js +9 -9
  326. package/lib/components/BKJIcon/src/indicators/Error.d.ts +3 -3
  327. package/lib/components/BKJIcon/src/indicators/Error.js +11 -11
  328. package/lib/components/BKJIcon/src/indicators/ErrorDot.d.ts +3 -3
  329. package/lib/components/BKJIcon/src/indicators/ErrorDot.js +9 -9
  330. package/lib/components/BKJIcon/src/indicators/ErrorLarge.d.ts +3 -3
  331. package/lib/components/BKJIcon/src/indicators/ErrorLarge.js +9 -9
  332. package/lib/components/BKJIcon/src/indicators/Locked.d.ts +3 -3
  333. package/lib/components/BKJIcon/src/indicators/Locked.js +9 -9
  334. package/lib/components/BKJIcon/src/indicators/Pause.d.ts +3 -3
  335. package/lib/components/BKJIcon/src/indicators/Pause.js +12 -12
  336. package/lib/components/BKJIcon/src/indicators/Recurring.d.ts +3 -3
  337. package/lib/components/BKJIcon/src/indicators/Recurring.js +9 -9
  338. package/lib/components/BKJIcon/src/indicators/Star.d.ts +3 -3
  339. package/lib/components/BKJIcon/src/indicators/Star.js +9 -9
  340. package/lib/components/BKJIcon/src/indicators/StepCheck.d.ts +4 -4
  341. package/lib/components/BKJIcon/src/indicators/StepCheck.js +11 -11
  342. package/lib/components/BKJIcon/src/indicators/StepcountNumber.d.ts +3 -3
  343. package/lib/components/BKJIcon/src/indicators/StepcountNumber.js +11 -11
  344. package/lib/components/BKJIcon/src/indicators/SuccessDot.d.ts +3 -3
  345. package/lib/components/BKJIcon/src/indicators/SuccessDot.js +9 -9
  346. package/lib/components/BKJIcon/src/indicators/Warning.d.ts +3 -3
  347. package/lib/components/BKJIcon/src/indicators/Warning.js +11 -11
  348. package/lib/components/BKJIcon/src/indicators/WarningDot.d.ts +3 -3
  349. package/lib/components/BKJIcon/src/indicators/WarningDot.js +9 -9
  350. package/lib/components/BKJIcon/src/navigation/ArrowDown.d.ts +3 -3
  351. package/lib/components/BKJIcon/src/navigation/ArrowDown.js +10 -10
  352. package/lib/components/BKJIcon/src/navigation/ArrowLeft.d.ts +3 -3
  353. package/lib/components/BKJIcon/src/navigation/ArrowLeft.js +9 -9
  354. package/lib/components/BKJIcon/src/navigation/ArrowRight.d.ts +3 -3
  355. package/lib/components/BKJIcon/src/navigation/ArrowRight.js +9 -9
  356. package/lib/components/BKJIcon/src/navigation/ArrowUp.d.ts +3 -3
  357. package/lib/components/BKJIcon/src/navigation/ArrowUp.js +9 -9
  358. package/lib/components/BKJIcon/src/navigation/BackArrow.d.ts +3 -3
  359. package/lib/components/BKJIcon/src/navigation/BackArrow.js +9 -9
  360. package/lib/components/BKJIcon/src/navigation/ChevronDoubleLeft.d.ts +3 -3
  361. package/lib/components/BKJIcon/src/navigation/ChevronDoubleLeft.js +10 -10
  362. package/lib/components/BKJIcon/src/navigation/ChevronDoubleRight.d.ts +3 -3
  363. package/lib/components/BKJIcon/src/navigation/ChevronDoubleRight.js +10 -10
  364. package/lib/components/BKJIcon/src/navigation/ChevronDown.d.ts +3 -3
  365. package/lib/components/BKJIcon/src/navigation/ChevronDown.js +9 -9
  366. package/lib/components/BKJIcon/src/navigation/ChevronLeft.d.ts +3 -3
  367. package/lib/components/BKJIcon/src/navigation/ChevronLeft.js +9 -9
  368. package/lib/components/BKJIcon/src/navigation/ChevronLeftInCircle.d.ts +3 -3
  369. package/lib/components/BKJIcon/src/navigation/ChevronLeftInCircle.js +18 -18
  370. package/lib/components/BKJIcon/src/navigation/ChevronLeftLarge.d.ts +3 -3
  371. package/lib/components/BKJIcon/src/navigation/ChevronLeftLarge.js +11 -11
  372. package/lib/components/BKJIcon/src/navigation/ChevronRight.d.ts +3 -3
  373. package/lib/components/BKJIcon/src/navigation/ChevronRight.js +9 -9
  374. package/lib/components/BKJIcon/src/navigation/ChevronRightInCircle.d.ts +3 -3
  375. package/lib/components/BKJIcon/src/navigation/ChevronRightInCircle.js +18 -18
  376. package/lib/components/BKJIcon/src/navigation/ChevronUp.d.ts +3 -3
  377. package/lib/components/BKJIcon/src/navigation/ChevronUp.js +9 -9
  378. package/lib/components/BKJIcon/src/navigation/CloseBold.d.ts +3 -3
  379. package/lib/components/BKJIcon/src/navigation/CloseBold.js +9 -9
  380. package/lib/components/BKJIcon/src/navigation/CombinedChevronDefault.d.ts +3 -3
  381. package/lib/components/BKJIcon/src/navigation/CombinedChevronDefault.js +9 -9
  382. package/lib/components/BKJIcon/src/navigation/CombinedChevronDown.d.ts +3 -3
  383. package/lib/components/BKJIcon/src/navigation/CombinedChevronDown.js +10 -10
  384. package/lib/components/BKJIcon/src/navigation/CombinedChevronUp.d.ts +3 -3
  385. package/lib/components/BKJIcon/src/navigation/CombinedChevronUp.js +10 -10
  386. package/lib/components/BKJIcon/src/navigation/MouseIndicator.d.ts +3 -3
  387. package/lib/components/BKJIcon/src/navigation/MouseIndicator.js +11 -11
  388. package/lib/components/BKJIcon/src/shifts/Client.d.ts +3 -3
  389. package/lib/components/BKJIcon/src/shifts/Client.js +10 -10
  390. package/lib/components/BKJIcon/src/shifts/Date.d.ts +3 -3
  391. package/lib/components/BKJIcon/src/shifts/Date.js +10 -10
  392. package/lib/components/BKJIcon/src/shifts/Deal.d.ts +3 -3
  393. package/lib/components/BKJIcon/src/shifts/Deal.js +10 -10
  394. package/lib/components/BKJIcon/src/shifts/Location.d.ts +3 -3
  395. package/lib/components/BKJIcon/src/shifts/Location.js +10 -10
  396. package/lib/components/BKJIcon/src/shifts/Notes.d.ts +3 -3
  397. package/lib/components/BKJIcon/src/shifts/Notes.js +10 -10
  398. package/lib/components/BKJIcon/src/shifts/Price.d.ts +3 -3
  399. package/lib/components/BKJIcon/src/shifts/Price.js +12 -12
  400. package/lib/components/BKJIcon/src/shifts/Quantity.d.ts +3 -3
  401. package/lib/components/BKJIcon/src/shifts/Quantity.js +10 -10
  402. package/lib/components/BKJIcon/src/shifts/Tasks.d.ts +3 -3
  403. package/lib/components/BKJIcon/src/shifts/Tasks.js +10 -10
  404. package/lib/components/BKJIcon/src/shifts/Time.d.ts +3 -3
  405. package/lib/components/BKJIcon/src/shifts/Time.js +10 -10
  406. package/lib/components/BKJIcon/src/shifts/TrainingOutline.d.ts +3 -3
  407. package/lib/components/BKJIcon/src/shifts/TrainingOutline.js +10 -10
  408. package/lib/components/BKJIcon/src/shifts/UnpaidBreak.d.ts +3 -3
  409. package/lib/components/BKJIcon/src/shifts/UnpaidBreak.js +10 -10
  410. package/lib/components/BKJIcon/src/sidenav/AgencyMembers.d.ts +3 -3
  411. package/lib/components/BKJIcon/src/sidenav/AgencyMembers.js +15 -15
  412. package/lib/components/BKJIcon/src/sidenav/Analytics.d.ts +3 -3
  413. package/lib/components/BKJIcon/src/sidenav/Analytics.js +10 -10
  414. package/lib/components/BKJIcon/src/sidenav/Clients.d.ts +3 -3
  415. package/lib/components/BKJIcon/src/sidenav/Clients.js +9 -9
  416. package/lib/components/BKJIcon/src/sidenav/Communications.d.ts +3 -3
  417. package/lib/components/BKJIcon/src/sidenav/Communications.js +9 -9
  418. package/lib/components/BKJIcon/src/sidenav/Dashboard.d.ts +3 -3
  419. package/lib/components/BKJIcon/src/sidenav/Dashboard.js +9 -9
  420. package/lib/components/BKJIcon/src/sidenav/Explore.d.ts +3 -3
  421. package/lib/components/BKJIcon/src/sidenav/Explore.js +11 -11
  422. package/lib/components/BKJIcon/src/sidenav/Logout.d.ts +3 -3
  423. package/lib/components/BKJIcon/src/sidenav/Logout.js +9 -9
  424. package/lib/components/BKJIcon/src/sidenav/NewBooking.d.ts +3 -3
  425. package/lib/components/BKJIcon/src/sidenav/NewBooking.js +10 -10
  426. package/lib/components/BKJIcon/src/sidenav/Question.d.ts +3 -3
  427. package/lib/components/BKJIcon/src/sidenav/Question.js +10 -10
  428. package/lib/components/BKJIcon/src/sidenav/Schedule.d.ts +3 -3
  429. package/lib/components/BKJIcon/src/sidenav/Schedule.js +12 -12
  430. package/lib/components/BKJIcon/src/sidenav/Settings.d.ts +3 -3
  431. package/lib/components/BKJIcon/src/sidenav/Settings.js +9 -9
  432. package/lib/components/BKJIcon/src/sidenav/Shifts.d.ts +3 -3
  433. package/lib/components/BKJIcon/src/sidenav/Shifts.js +9 -9
  434. package/lib/components/BKJIcon/src/sidenav/TeamMembers.d.ts +3 -3
  435. package/lib/components/BKJIcon/src/sidenav/TeamMembers.js +9 -9
  436. package/lib/components/BKJIcon/src/sidenav/Timesheets.d.ts +3 -3
  437. package/lib/components/BKJIcon/src/sidenav/Timesheets.js +9 -9
  438. package/lib/components/BKJIconTooltip/BKJIconTooltip.d.ts +3 -3
  439. package/lib/components/BKJIconTooltip/BKJIconTooltip.js +7 -7
  440. package/lib/components/BKJIconTooltip/BKJIconTooltip.stories.d.ts +25 -25
  441. package/lib/components/BKJIconTooltip/BKJIconTooltip.stories.js +39 -39
  442. package/lib/components/BKJIconTooltip/BKJIconTooltip.types.d.ts +8 -8
  443. package/lib/components/BKJIconTooltip/BKJIconTooltip.types.js +1 -1
  444. package/lib/components/BKJIconTooltip/index.d.ts +1 -1
  445. package/lib/components/BKJIconTooltip/index.js +1 -1
  446. package/lib/components/BKJImage/BKJImage.d.ts +3 -3
  447. package/lib/components/BKJImage/BKJImage.js +18 -18
  448. package/lib/components/BKJImage/BKJImage.styled.d.ts +10 -10
  449. package/lib/components/BKJImage/BKJImage.styled.js +29 -29
  450. package/lib/components/BKJImage/BKJImage.types.d.ts +10 -10
  451. package/lib/components/BKJImage/BKJImage.types.js +1 -1
  452. package/lib/components/BKJImage/index.d.ts +1 -1
  453. package/lib/components/BKJImage/index.js +1 -1
  454. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.context.d.ts +4 -4
  455. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.context.js +100 -100
  456. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.d.ts +3 -3
  457. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.js +50 -50
  458. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.stories.d.ts +38 -38
  459. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.stories.js +116 -116
  460. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.types.d.ts +85 -85
  461. package/lib/components/BKJInteractiveMap/BKJInteractiveMap.types.js +10 -10
  462. package/lib/components/BKJInteractiveMap/index.d.ts +1 -1
  463. package/lib/components/BKJInteractiveMap/index.js +1 -1
  464. package/lib/components/BKJListItem/BKJListItem.d.ts +3 -3
  465. package/lib/components/BKJListItem/BKJListItem.js +18 -18
  466. package/lib/components/BKJListItem/BKJListItem.stories.d.ts +9 -9
  467. package/lib/components/BKJListItem/BKJListItem.stories.js +8 -8
  468. package/lib/components/BKJListItem/BKJListItem.styled.d.ts +3 -3
  469. package/lib/components/BKJListItem/BKJListItem.styled.js +54 -54
  470. package/lib/components/BKJListItem/BKJListItem.theme.d.ts +2 -2
  471. package/lib/components/BKJListItem/BKJListItem.theme.js +46 -46
  472. package/lib/components/BKJListItem/BKJListItem.types.d.ts +57 -57
  473. package/lib/components/BKJListItem/BKJListItem.types.js +1 -1
  474. package/lib/components/BKJListItem/index.d.ts +2 -2
  475. package/lib/components/BKJListItem/index.js +2 -2
  476. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.d.ts +3 -3
  477. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.js +9 -9
  478. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.stories.d.ts +18 -18
  479. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.stories.js +19 -19
  480. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.styled.d.ts +1 -1
  481. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.styled.js +6 -6
  482. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.theme.d.ts +2 -2
  483. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.theme.js +14 -14
  484. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.types.d.ts +14 -14
  485. package/lib/components/BKJLoadingSpinner/BKJLoadingSpinner.types.js +1 -1
  486. package/lib/components/BKJLoadingSpinner/index.d.ts +2 -2
  487. package/lib/components/BKJLoadingSpinner/index.js +2 -2
  488. package/lib/components/BKJLogo/BKJLogo.d.ts +3 -3
  489. package/lib/components/BKJLogo/BKJLogo.js +7 -7
  490. package/lib/components/BKJLogo/BKJLogo.stories.d.ts +31 -31
  491. package/lib/components/BKJLogo/BKJLogo.stories.js +34 -34
  492. package/lib/components/BKJLogo/BKJLogo.types.d.ts +10 -10
  493. package/lib/components/BKJLogo/BKJLogo.types.js +6 -6
  494. package/lib/components/BKJLogo/index.d.ts +2 -2
  495. package/lib/components/BKJLogo/index.js +2 -2
  496. package/lib/components/BKJLogo/src/Agency.d.ts +3 -3
  497. package/lib/components/BKJLogo/src/Agency.js +10 -10
  498. package/lib/components/BKJLogo/src/General.d.ts +3 -3
  499. package/lib/components/BKJLogo/src/General.js +9 -9
  500. package/lib/components/BKJLogo/src/Premium.d.ts +3 -3
  501. package/lib/components/BKJLogo/src/Premium.js +10 -10
  502. package/lib/components/BKJLogo/src/index.d.ts +4 -4
  503. package/lib/components/BKJLogo/src/index.js +4 -4
  504. package/lib/components/BKJMenu/BKJMenu.d.ts +3 -3
  505. package/lib/components/BKJMenu/BKJMenu.js +19 -19
  506. package/lib/components/BKJMenu/BKJMenu.stories.d.ts +20 -20
  507. package/lib/components/BKJMenu/BKJMenu.stories.js +30 -30
  508. package/lib/components/BKJMenu/BKJMenu.styled.d.ts +6 -6
  509. package/lib/components/BKJMenu/BKJMenu.styled.js +44 -44
  510. package/lib/components/BKJMenu/BKJMenu.types.d.ts +10 -10
  511. package/lib/components/BKJMenu/BKJMenu.types.js +1 -1
  512. package/lib/components/BKJMenu/index.d.ts +2 -2
  513. package/lib/components/BKJMenu/index.js +2 -2
  514. package/lib/components/BKJMenuItem/BKJMenuItem.d.ts +3 -3
  515. package/lib/components/BKJMenuItem/BKJMenuItem.js +5 -5
  516. package/lib/components/BKJMenuItem/BKJMenuItem.stories.d.ts +9 -9
  517. package/lib/components/BKJMenuItem/BKJMenuItem.stories.js +14 -14
  518. package/lib/components/BKJMenuItem/BKJMenuItem.styled.d.ts +3 -3
  519. package/lib/components/BKJMenuItem/BKJMenuItem.styled.js +44 -44
  520. package/lib/components/BKJMenuItem/BKJMenuItem.types.d.ts +7 -7
  521. package/lib/components/BKJMenuItem/BKJMenuItem.types.js +1 -1
  522. package/lib/components/BKJMenuItem/index.d.ts +2 -2
  523. package/lib/components/BKJMenuItem/index.js +2 -2
  524. package/lib/components/BKJPagination/BKJPagination.d.ts +3 -3
  525. package/lib/components/BKJPagination/BKJPagination.js +10 -10
  526. package/lib/components/BKJPagination/BKJPagination.stories.d.ts +16 -16
  527. package/lib/components/BKJPagination/BKJPagination.stories.js +21 -21
  528. package/lib/components/BKJPagination/BKJPagination.styled.d.ts +6 -6
  529. package/lib/components/BKJPagination/BKJPagination.styled.js +47 -47
  530. package/lib/components/BKJPagination/BKJPagination.types.d.ts +9 -9
  531. package/lib/components/BKJPagination/BKJPagination.types.js +1 -1
  532. package/lib/components/BKJPagination/index.d.ts +2 -2
  533. package/lib/components/BKJPagination/index.js +2 -2
  534. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.d.ts +3 -3
  535. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.js +20 -20
  536. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.stories.d.ts +34 -34
  537. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.stories.js +48 -48
  538. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.styled.d.ts +13 -13
  539. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.styled.js +35 -35
  540. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.types.d.ts +13 -13
  541. package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.types.js +1 -1
  542. package/lib/components/BKJPhoneNumberInput/index.d.ts +2 -2
  543. package/lib/components/BKJPhoneNumberInput/index.js +2 -2
  544. package/lib/components/BKJPillDropdown/BKJPillDropdown.context.d.ts +4 -4
  545. package/lib/components/BKJPillDropdown/BKJPillDropdown.context.js +73 -73
  546. package/lib/components/BKJPillDropdown/BKJPillDropdown.d.ts +3 -3
  547. package/lib/components/BKJPillDropdown/BKJPillDropdown.js +28 -28
  548. package/lib/components/BKJPillDropdown/BKJPillDropdown.stories.d.ts +35 -35
  549. package/lib/components/BKJPillDropdown/BKJPillDropdown.stories.js +71 -71
  550. package/lib/components/BKJPillDropdown/BKJPillDropdown.styled.d.ts +17 -17
  551. package/lib/components/BKJPillDropdown/BKJPillDropdown.styled.js +79 -79
  552. package/lib/components/BKJPillDropdown/BKJPillDropdown.types.d.ts +47 -47
  553. package/lib/components/BKJPillDropdown/BKJPillDropdown.types.js +1 -1
  554. package/lib/components/BKJPillDropdown/index.d.ts +1 -1
  555. package/lib/components/BKJPillDropdown/index.js +1 -1
  556. package/lib/components/BKJPillSelect/BKJPillSelect.context.d.ts +4 -4
  557. package/lib/components/BKJPillSelect/BKJPillSelect.context.js +74 -74
  558. package/lib/components/BKJPillSelect/BKJPillSelect.d.ts +3 -3
  559. package/lib/components/BKJPillSelect/BKJPillSelect.js +35 -35
  560. package/lib/components/BKJPillSelect/BKJPillSelect.stories.d.ts +35 -35
  561. package/lib/components/BKJPillSelect/BKJPillSelect.stories.js +76 -76
  562. package/lib/components/BKJPillSelect/BKJPillSelect.styled.d.ts +16 -16
  563. package/lib/components/BKJPillSelect/BKJPillSelect.styled.js +80 -80
  564. package/lib/components/BKJPillSelect/BKJPillSelect.types.d.ts +47 -47
  565. package/lib/components/BKJPillSelect/BKJPillSelect.types.js +1 -1
  566. package/lib/components/BKJPillSelect/index.d.ts +1 -1
  567. package/lib/components/BKJPillSelect/index.js +1 -1
  568. package/lib/components/BKJPillTextArea/BKJPillTextArea.context.d.ts +4 -4
  569. package/lib/components/BKJPillTextArea/BKJPillTextArea.context.js +195 -195
  570. package/lib/components/BKJPillTextArea/BKJPillTextArea.d.ts +3 -3
  571. package/lib/components/BKJPillTextArea/BKJPillTextArea.js +37 -37
  572. package/lib/components/BKJPillTextArea/BKJPillTextArea.stories.d.ts +35 -35
  573. package/lib/components/BKJPillTextArea/BKJPillTextArea.stories.js +74 -74
  574. package/lib/components/BKJPillTextArea/BKJPillTextArea.styled.d.ts +18 -18
  575. package/lib/components/BKJPillTextArea/BKJPillTextArea.styled.js +69 -69
  576. package/lib/components/BKJPillTextArea/BKJPillTextArea.types.d.ts +51 -51
  577. package/lib/components/BKJPillTextArea/BKJPillTextArea.types.js +1 -1
  578. package/lib/components/BKJPillTextArea/index.d.ts +1 -1
  579. package/lib/components/BKJPillTextArea/index.js +1 -1
  580. package/lib/components/BKJSelect/BKJSelect.constants.d.ts +1 -1
  581. package/lib/components/BKJSelect/BKJSelect.constants.js +1 -1
  582. package/lib/components/BKJSelect/BKJSelect.d.ts +7 -7
  583. package/lib/components/BKJSelect/BKJSelect.js +171 -171
  584. package/lib/components/BKJSelect/BKJSelect.stories.d.ts +10 -10
  585. package/lib/components/BKJSelect/BKJSelect.stories.js +125 -125
  586. package/lib/components/BKJSelect/BKJSelect.styled.d.ts +25 -25
  587. package/lib/components/BKJSelect/BKJSelect.styled.js +95 -95
  588. package/lib/components/BKJSelect/BKJSelect.theme.d.ts +2 -2
  589. package/lib/components/BKJSelect/BKJSelect.theme.js +232 -232
  590. package/lib/components/BKJSelect/BKJSelect.types.d.ts +134 -134
  591. package/lib/components/BKJSelect/BKJSelect.types.js +1 -1
  592. package/lib/components/BKJSelect/BKJSelect.utils.d.ts +26 -26
  593. package/lib/components/BKJSelect/BKJSelect.utils.js +40 -40
  594. package/lib/components/BKJSelect/index.d.ts +2 -2
  595. package/lib/components/BKJSelect/index.js +2 -2
  596. package/lib/components/BKJSelect/utils/deepEquals.d.ts +1 -1
  597. package/lib/components/BKJSelect/utils/deepEquals.js +2 -2
  598. package/lib/components/BKJSelect/utils/getDesignLibraryElementNode.d.ts +2 -2
  599. package/lib/components/BKJSelect/utils/getDesignLibraryElementNode.js +1 -1
  600. package/lib/components/BKJSelect/utils/mergeRefs.d.ts +1 -1
  601. package/lib/components/BKJSelect/utils/mergeRefs.js +12 -12
  602. package/lib/components/BKJSelectSearch/BKJSelectSearch.d.ts +9 -9
  603. package/lib/components/BKJSelectSearch/BKJSelectSearch.js +7 -7
  604. package/lib/components/BKJSelectSearch/BKJSelectSearch.styled.d.ts +3 -3
  605. package/lib/components/BKJSelectSearch/BKJSelectSearch.styled.js +38 -38
  606. package/lib/components/BKJSelectSearch/BKJSelectSearchControls.d.ts +9 -9
  607. package/lib/components/BKJSelectSearch/BKJSelectSearchControls.js +22 -22
  608. package/lib/components/BKJSelectSearch/BKJSelectSearchControls.styled.d.ts +3 -3
  609. package/lib/components/BKJSelectSearch/BKJSelectSearchControls.styled.js +35 -35
  610. package/lib/components/BKJSelectSearch/index.d.ts +2 -2
  611. package/lib/components/BKJSelectSearch/index.js +2 -2
  612. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.d.ts +5 -5
  613. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.js +3 -3
  614. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.stories.d.ts +9 -9
  615. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.stories.js +12 -12
  616. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.styled.d.ts +2 -2
  617. package/lib/components/BKJTableMainHeader/BKJTableMainHeader.styled.js +12 -12
  618. package/lib/components/BKJTableMainHeader/index.d.ts +2 -2
  619. package/lib/components/BKJTableMainHeader/index.js +2 -2
  620. package/lib/components/BKJTextArea/BKJTextArea.d.ts +3 -3
  621. package/lib/components/BKJTextArea/BKJTextArea.js +19 -19
  622. package/lib/components/BKJTextArea/BKJTextArea.stories.d.ts +37 -37
  623. package/lib/components/BKJTextArea/BKJTextArea.stories.js +43 -43
  624. package/lib/components/BKJTextArea/BKJTextArea.styled.d.ts +12 -12
  625. package/lib/components/BKJTextArea/BKJTextArea.styled.js +38 -38
  626. package/lib/components/BKJTextArea/BKJTextArea.types.d.ts +14 -14
  627. package/lib/components/BKJTextArea/BKJTextArea.types.js +1 -1
  628. package/lib/components/BKJTextArea/index.d.ts +2 -2
  629. package/lib/components/BKJTextArea/index.js +2 -2
  630. package/lib/components/BKJTextInput/BKJTextInput.css.styled.d.ts +1 -1
  631. package/lib/components/BKJTextInput/BKJTextInput.css.styled.js +21 -21
  632. package/lib/components/BKJTextInput/BKJTextInput.d.ts +3 -3
  633. package/lib/components/BKJTextInput/BKJTextInput.js +82 -82
  634. package/lib/components/BKJTextInput/BKJTextInput.stories.d.ts +73 -73
  635. package/lib/components/BKJTextInput/BKJTextInput.stories.js +123 -123
  636. package/lib/components/BKJTextInput/BKJTextInput.styled.d.ts +14 -14
  637. package/lib/components/BKJTextInput/BKJTextInput.styled.js +71 -71
  638. package/lib/components/BKJTextInput/BKJTextInput.theme.d.ts +9 -9
  639. package/lib/components/BKJTextInput/BKJTextInput.theme.js +44 -44
  640. package/lib/components/BKJTextInput/BKJTextInput.types.d.ts +87 -87
  641. package/lib/components/BKJTextInput/BKJTextInput.types.js +1 -1
  642. package/lib/components/BKJTextInput/BKJTextInput.utils.d.ts +2 -2
  643. package/lib/components/BKJTextInput/BKJTextInput.utils.js +124 -124
  644. package/lib/components/BKJTextInput/index.d.ts +1 -1
  645. package/lib/components/BKJTextInput/index.js +1 -1
  646. package/lib/components/BKJToastMessage/BKJToastContainer.d.ts +2 -2
  647. package/lib/components/BKJToastMessage/BKJToastContainer.js +4 -4
  648. package/lib/components/BKJToastMessage/BKJToastMessage.d.ts +3 -3
  649. package/lib/components/BKJToastMessage/BKJToastMessage.js +13 -13
  650. package/lib/components/BKJToastMessage/BKJToastMessage.stories.d.ts +27 -27
  651. package/lib/components/BKJToastMessage/BKJToastMessage.stories.js +35 -35
  652. package/lib/components/BKJToastMessage/BKJToastMessage.styled.d.ts +15 -15
  653. package/lib/components/BKJToastMessage/BKJToastMessage.styled.js +117 -117
  654. package/lib/components/BKJToastMessage/BKJToastMessage.theme.d.ts +2 -2
  655. package/lib/components/BKJToastMessage/BKJToastMessage.theme.js +12 -12
  656. package/lib/components/BKJToastMessage/BKJToastMessage.types.d.ts +12 -12
  657. package/lib/components/BKJToastMessage/BKJToastMessage.types.js +1 -1
  658. package/lib/components/BKJToastMessage/BKJToastMessage.utils.d.ts +6 -6
  659. package/lib/components/BKJToastMessage/BKJToastMessage.utils.js +16 -16
  660. package/lib/components/BKJToastMessage/ToastErrorIcon.d.ts +3 -3
  661. package/lib/components/BKJToastMessage/ToastErrorIcon.js +11 -11
  662. package/lib/components/BKJToastMessage/ToastSuccessIcon.d.ts +3 -3
  663. package/lib/components/BKJToastMessage/ToastSuccessIcon.js +6 -6
  664. package/lib/components/BKJToastMessage/ToastWarnIcon.d.ts +3 -3
  665. package/lib/components/BKJToastMessage/ToastWarnIcon.js +7 -7
  666. package/lib/components/BKJToastMessage/index.d.ts +2 -2
  667. package/lib/components/BKJToastMessage/index.js +2 -2
  668. package/lib/components/BKJToggleInput/BKJToggleInput.constants.d.ts +3 -3
  669. package/lib/components/BKJToggleInput/BKJToggleInput.constants.js +58 -58
  670. package/lib/components/BKJToggleInput/BKJToggleInput.d.ts +3 -3
  671. package/lib/components/BKJToggleInput/BKJToggleInput.js +6 -6
  672. package/lib/components/BKJToggleInput/BKJToggleInput.stories.d.ts +58 -58
  673. package/lib/components/BKJToggleInput/BKJToggleInput.stories.js +74 -74
  674. package/lib/components/BKJToggleInput/BKJToggleInput.styled.d.ts +22 -22
  675. package/lib/components/BKJToggleInput/BKJToggleInput.styled.js +101 -101
  676. package/lib/components/BKJToggleInput/BKJToggleInput.theme.d.ts +2 -2
  677. package/lib/components/BKJToggleInput/BKJToggleInput.theme.js +8 -8
  678. package/lib/components/BKJToggleInput/BKJToggleInput.types.d.ts +22 -22
  679. package/lib/components/BKJToggleInput/BKJToggleInput.types.js +1 -1
  680. package/lib/components/BKJToggleInput/index.d.ts +2 -2
  681. package/lib/components/BKJToggleInput/index.js +2 -2
  682. package/lib/components/BKJTooltipWrapper/BKJTooltip.d.ts +6 -6
  683. package/lib/components/BKJTooltipWrapper/BKJTooltip.js +32 -32
  684. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.context.d.ts +4 -4
  685. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.context.js +21 -21
  686. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.d.ts +3 -3
  687. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.js +15 -15
  688. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.stories.d.ts +18 -18
  689. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.stories.js +31 -31
  690. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.styled.d.ts +10 -10
  691. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.styled.js +57 -57
  692. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.types.d.ts +12 -12
  693. package/lib/components/BKJTooltipWrapper/BKJTooltipWrapper.types.js +1 -1
  694. package/lib/components/BKJTooltipWrapper/index.d.ts +1 -1
  695. package/lib/components/BKJTooltipWrapper/index.js +1 -1
  696. package/lib/components/BKJTypography/BKJTypography.d.ts +3 -3
  697. package/lib/components/BKJTypography/BKJTypography.js +6 -6
  698. package/lib/components/BKJTypography/BKJTypography.stories.d.ts +23 -23
  699. package/lib/components/BKJTypography/BKJTypography.stories.js +37 -37
  700. package/lib/components/BKJTypography/BKJTypography.styled.d.ts +10 -10
  701. package/lib/components/BKJTypography/BKJTypography.styled.js +24 -24
  702. package/lib/components/BKJTypography/BKJTypography.theme.d.ts +2 -2
  703. package/lib/components/BKJTypography/BKJTypography.theme.js +58 -58
  704. package/lib/components/BKJTypography/BKJTypography.types.d.ts +25 -25
  705. package/lib/components/BKJTypography/BKJTypography.types.js +1 -1
  706. package/lib/components/BKJTypography/index.d.ts +2 -2
  707. package/lib/components/BKJTypography/index.js +2 -2
  708. package/lib/components/ErrorBoundary/ErrorBoundary.d.ts +26 -26
  709. package/lib/components/ErrorBoundary/ErrorBoundary.js +25 -25
  710. package/lib/components/ErrorBoundary/index.d.ts +1 -1
  711. package/lib/components/ErrorBoundary/index.js +1 -1
  712. package/lib/components/Flex/Flex.d.ts +3 -3
  713. package/lib/components/Flex/Flex.js +7 -7
  714. package/lib/components/Flex/Flex.styled.d.ts +2 -2
  715. package/lib/components/Flex/Flex.styled.js +228 -228
  716. package/lib/components/Flex/Flex.types.d.ts +76 -76
  717. package/lib/components/Flex/Flex.types.js +1 -1
  718. package/lib/components/Flex/index.d.ts +2 -2
  719. package/lib/components/Flex/index.js +2 -2
  720. package/lib/components/GenericErrorMessage/GenericErrorMessage.d.ts +14 -14
  721. package/lib/components/GenericErrorMessage/GenericErrorMessage.js +26 -26
  722. package/lib/components/GenericErrorMessage/GenericErrorMessage.styled.d.ts +14 -14
  723. package/lib/components/GenericErrorMessage/GenericErrorMessage.styled.js +139 -139
  724. package/lib/components/GenericErrorMessage/index.d.ts +1 -1
  725. package/lib/components/GenericErrorMessage/index.js +1 -1
  726. package/lib/components/InfiniteScrollLoading/InfiniteScrollLoading.d.ts +7 -7
  727. package/lib/components/InfiniteScrollLoading/InfiniteScrollLoading.js +11 -11
  728. package/lib/components/InfiniteScrollLoading/InfiniteScrollLoading.styled.d.ts +1 -1
  729. package/lib/components/InfiniteScrollLoading/InfiniteScrollLoading.styled.js +2 -2
  730. package/lib/components/InfiniteScrollLoading/index.d.ts +1 -1
  731. package/lib/components/InfiniteScrollLoading/index.js +1 -1
  732. package/lib/components/Portal/Portal.d.ts +9 -9
  733. package/lib/components/Portal/Portal.js +27 -27
  734. package/lib/components/Portal/Portal.types.d.ts +3 -3
  735. package/lib/components/Portal/Portal.types.js +1 -1
  736. package/lib/components/common/InputBaseCSS/index.d.ts +11 -11
  737. package/lib/components/common/InputBaseCSS/index.js +82 -82
  738. package/lib/components/common/ListItemBaseCSS/index.d.ts +5 -5
  739. package/lib/components/common/ListItemBaseCSS/index.js +83 -83
  740. package/lib/components/common/index.d.ts +1 -1
  741. package/lib/components/common/index.js +1 -1
  742. package/lib/components/index.d.ts +43 -43
  743. package/lib/components/index.js +43 -43
  744. package/lib/hooks/index.d.ts +5 -5
  745. package/lib/hooks/index.js +5 -5
  746. package/lib/hooks/useClickOutside.d.ts +1 -1
  747. package/lib/hooks/useClickOutside.js +20 -20
  748. package/lib/hooks/useDebouncedCallback/index.d.ts +1 -1
  749. package/lib/hooks/useDebouncedCallback/index.js +1 -1
  750. package/lib/hooks/useDebouncedCallback/useDebouncedCallback.d.ts +2 -2
  751. package/lib/hooks/useDebouncedCallback/useDebouncedCallback.js +9 -9
  752. package/lib/hooks/useDimensionsRef/index.d.ts +1 -1
  753. package/lib/hooks/useDimensionsRef/index.js +1 -1
  754. package/lib/hooks/useDimensionsRef/useDimensionRef.types.d.ts +8 -8
  755. package/lib/hooks/useDimensionsRef/useDimensionRef.types.js +1 -1
  756. package/lib/hooks/useDimensionsRef/useDimensionsRef.d.ts +2 -2
  757. package/lib/hooks/useDimensionsRef/useDimensionsRef.js +26 -26
  758. package/lib/hooks/useFormBehaviors/index.d.ts +2 -2
  759. package/lib/hooks/useFormBehaviors/index.js +2 -2
  760. package/lib/hooks/useFormBehaviors/useFormBehaviors.constants.d.ts +1 -1
  761. package/lib/hooks/useFormBehaviors/useFormBehaviors.constants.js +1 -1
  762. package/lib/hooks/useFormBehaviors/useFormBehaviors.d.ts +6 -6
  763. package/lib/hooks/useFormBehaviors/useFormBehaviors.js +198 -198
  764. package/lib/hooks/useFormBehaviors/useFormBehaviors.types.d.ts +45 -45
  765. package/lib/hooks/useFormBehaviors/useFormBehaviors.types.js +8 -8
  766. package/lib/hooks/useFormBehaviors/useFormBehaviors.utils.d.ts +5 -5
  767. package/lib/hooks/useFormBehaviors/useFormBehaviors.utils.js +19 -19
  768. package/lib/hooks/useIntersectionObserver/index.d.ts +1 -1
  769. package/lib/hooks/useIntersectionObserver/index.js +1 -1
  770. package/lib/hooks/useIntersectionObserver/useIntersectionObserver.d.ts +2 -2
  771. package/lib/hooks/useIntersectionObserver/useIntersectionObserver.js +26 -26
  772. package/lib/hooks/useMouseOutside.d.ts +1 -1
  773. package/lib/hooks/useMouseOutside.js +20 -20
  774. package/lib/hooks/usePersistentState/index.d.ts +1 -1
  775. package/lib/hooks/usePersistentState/index.js +1 -1
  776. package/lib/hooks/usePersistentState/usePersistentState.d.ts +2 -2
  777. package/lib/hooks/usePersistentState/usePersistentState.js +29 -29
  778. package/lib/hooks/usePortalTargetElement.d.ts +2 -2
  779. package/lib/hooks/usePortalTargetElement.js +14 -14
  780. package/lib/hooks/useScrollIntoView.d.ts +2 -2
  781. package/lib/hooks/useScrollIntoView.js +9 -9
  782. package/lib/index.d.ts +2 -2
  783. package/lib/index.js +2 -2
  784. package/lib/providers/BKJThemeProvider/BKJColors.d.ts +56 -56
  785. package/lib/providers/BKJThemeProvider/BKJColors.js +56 -56
  786. package/lib/providers/BKJThemeProvider/BKJThemeProvider.d.ts +3 -3
  787. package/lib/providers/BKJThemeProvider/BKJThemeProvider.js +6 -6
  788. package/lib/providers/BKJThemeProvider/BKJThemeProvider.styled.d.ts +2 -2
  789. package/lib/providers/BKJThemeProvider/BKJThemeProvider.styled.js +148 -148
  790. package/lib/providers/BKJThemeProvider/BKJThemeProvider.theme.d.ts +10 -10
  791. package/lib/providers/BKJThemeProvider/BKJThemeProvider.theme.js +220 -220
  792. package/lib/providers/BKJThemeProvider/BKJThemeProvider.types.d.ts +223 -223
  793. package/lib/providers/BKJThemeProvider/BKJThemeProvider.types.js +9 -9
  794. package/lib/providers/BKJThemeProvider/index.d.ts +3 -3
  795. package/lib/providers/BKJThemeProvider/index.js +3 -3
  796. package/lib/providers/index.d.ts +1 -1
  797. package/lib/providers/index.js +1 -1
  798. package/lib/utils/deepEquals.d.ts +1 -1
  799. package/lib/utils/deepEquals.js +2 -2
  800. package/lib/utils/findValueByKey.d.ts +1 -1
  801. package/lib/utils/findValueByKey.js +8 -8
  802. package/lib/utils/isEmpty.d.ts +1 -1
  803. package/lib/utils/isEmpty.js +8 -8
  804. package/lib/utils/maskFloat.d.ts +1 -1
  805. package/lib/utils/maskFloat.js +8 -8
  806. package/lib/utils/serialize.d.ts +2 -2
  807. package/lib/utils/serialize.js +2 -2
  808. package/lib/utils/withMemo.d.ts +1 -1
  809. package/lib/utils/withMemo.js +5 -5
  810. package/package.json +191 -191
@@ -1,22 +1,22 @@
1
- import { css } from 'styled-components';
2
- export const BKJTextInputBaseCSS = css `
3
- caret-color: auto !important;
4
- background-color: #ffffff;
5
- background: #ffffff;
6
- background-image: none;
7
- min-height: 38px;
8
- height: 38px;
9
- outline: none;
10
-
11
- width: 100%;
12
-
13
- &:-webkit-autofill,
14
- &:-webkit-autofill:first-line,
15
- &focus:-webkit-autofill {
16
- border-color: #e5dfa1;
17
- box-shadow: 0 0 0 100px #fffff1 inset;
18
- }
19
- color: ${({ theme }) => theme.colors.TextDarkGrey};
20
- ${({ theme }) => theme.fonts.PoppinsTextMedium};
21
- `;
1
+ import { css } from 'styled-components';
2
+ export const BKJTextInputBaseCSS = css `
3
+ caret-color: auto !important;
4
+ background-color: #ffffff;
5
+ background: #ffffff;
6
+ background-image: none;
7
+ min-height: 38px;
8
+ height: 38px;
9
+ outline: none;
10
+
11
+ width: 100%;
12
+
13
+ &:-webkit-autofill,
14
+ &:-webkit-autofill:first-line,
15
+ &focus:-webkit-autofill {
16
+ border-color: #e5dfa1;
17
+ box-shadow: 0 0 0 100px #fffff1 inset;
18
+ }
19
+ color: ${({ theme }) => theme.colors.TextDarkGrey};
20
+ ${({ theme }) => theme.fonts.PoppinsTextMedium};
21
+ `;
22
22
  //# sourceMappingURL=BKJTextInput.css.styled.js.map
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
2
- import { IBKJTextInputProps } from './BKJTextInput.types.js';
3
- export declare const BKJTextInput: import("react").ForwardRefExoticComponent<Pick<IBKJTextInputProps, "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "id" | "type" | "pattern" | "isOpen" | "value" | "overrides" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "useMap" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "key" | "variant" | "leftIconProps" | "rightIconProps" | "labelProps" | "fieldSetProps" | "description" | "isRequired" | "error"> & import("react").RefAttributes<HTMLInputElement>>;
1
+ /// <reference types="react" />
2
+ import { IBKJTextInputProps } from './BKJTextInput.types.js';
3
+ export declare const BKJTextInput: import("react").ForwardRefExoticComponent<Pick<IBKJTextInputProps, "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "id" | "type" | "pattern" | "isOpen" | "value" | "overrides" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "useMap" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "key" | "variant" | "leftIconProps" | "rightIconProps" | "labelProps" | "fieldSetProps" | "description" | "isRequired" | "error"> & import("react").RefAttributes<HTMLInputElement>>;
4
4
  //# sourceMappingURL=BKJTextInput.d.ts.map
@@ -1,83 +1,83 @@
1
- import { createElement as _createElement } from "react";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { useTextField } from '@react-aria/textfield';
4
- import { forwardRef, Fragment, useEffect, useMemo, useRef } from 'react';
5
- import { isArray, isBoolean, isFormValidationErrorDisplayed, isString } from '../../common.types.js';
6
- import { useDimensionsRef } from '../../hooks/useDimensionsRef/index.js';
7
- import { BKJIcon } from '../BKJIcon/index.js';
8
- import { mergeRefs } from '../BKJSelect/utils/mergeRefs.js';
9
- import { BKJTextInputDescription, BKJTextInputErrorMessage, BKJTextInputFieldSet, BKJTextInputIconWrapper, BKJTextInputLabel, BKJTextInputRequiredAsterisk, BKJTextInputTextInput, BKJTextInputWrapper, } from './BKJTextInput.styled.js';
10
- export const BKJTextInput = forwardRef((props, ref) => {
11
- const { overrides = [], variant = 'RoundEdges', leftIconProps, rightIconProps, labelProps: __labelProps__, fieldSetProps = {}, name, className, required: isRequired, disabled: isDisabled, label, value, autoFocus, description, error, onChange, onBeforeInput, onBlur, onCompositionEnd, onCompositionStart, onCompositionUpdate, onCopy, onCut, onFocus, onInput, onKeyDown, onKeyUp, onPaste, onSelect, autoComplete = 'off', } = props;
12
- let innerRef = useRef({});
13
- const { labelProps, inputProps, descriptionProps, errorMessageProps } = useTextField({
14
- isRequired,
15
- isDisabled,
16
- autoComplete,
17
- label: label || `Enter a ${name}`,
18
- value,
19
- autoFocus,
20
- description,
21
- errorMessage: error,
22
- onBeforeInput,
23
- onBlur: onBlur,
24
- onChange: onChange,
25
- onCompositionEnd,
26
- onCompositionStart,
27
- onCompositionUpdate,
28
- onCopy,
29
- onCut,
30
- onFocus: onFocus,
31
- onInput,
32
- onKeyDown,
33
- onKeyUp,
34
- onPaste,
35
- onSelect,
36
- }, innerRef);
37
- const [leftIconRef, leftDimm] = useDimensionsRef();
38
- const [rightIconRef, rightDimm] = useDimensionsRef();
39
- const rightIconFontSize = useMemo(() => (!!rightIconProps ? rightIconProps.fontSize || 24 : 0), [rightIconProps]);
40
- const leftIconFontSize = useMemo(() => (!!leftIconProps ? leftIconProps.fontSize || 24 : 0), [leftIconProps]);
41
- const getInputCSS = useMemo(() => {
42
- return {
43
- paddingRight: `${rightDimm.width + (!!rightIconFontSize ? rightIconFontSize / 2 : 12)}px`,
44
- paddingLeft: `${leftDimm.width + (!!leftIconFontSize ? leftIconFontSize / 2 : 12)}px`,
45
- };
46
- }, [leftDimm.width, leftIconFontSize, rightDimm.width, rightIconFontSize]);
47
- useEffect(() => {
48
- if (isFormValidationErrorDisplayed(error)) {
49
- let errorMessage = '';
50
- if (isArray(error) && error.every((msg) => isString(msg) && msg !== '')) {
51
- errorMessage = error.join('\n');
52
- }
53
- if (isString(error))
54
- errorMessage = error;
55
- if (isBoolean(error))
56
- errorMessage = 'Error';
57
- if (isArray(error) && error.length === 0)
58
- errorMessage = '';
59
- innerRef.current?.setCustomValidity(errorMessage);
60
- }
61
- else {
62
- innerRef.current?.setCustomValidity('');
63
- }
64
- }, [error]);
65
- const restInputProps = { ...props };
66
- delete restInputProps.className;
67
- delete restInputProps.children;
68
- delete restInputProps.css;
69
- return (_jsxs(BKJTextInputFieldSet, Object.assign({}, fieldSetProps, { className: className }, { children: [props.label && (_jsxs(BKJTextInputLabel, Object.assign({}, __labelProps__, labelProps, { variant: variant, elementType: "Label" }, { children: [props.label, props.required && _jsx(BKJTextInputRequiredAsterisk, { children: "\u00A0*" }, void 0)] }), void 0)),
70
- _jsxs(BKJTextInputWrapper, Object.assign({ htmlFor: labelProps.htmlFor, variant: variant, disabled: props.disabled, elementType: "InputWrapper", isOpen: props.isOpen }, { children: [!!leftIconProps && (_jsx(BKJTextInputIconWrapper, Object.assign({}, leftIconProps, { padding: `0 0 0 ${leftIconFontSize / 3}px`, style: {
71
- left: 0,
72
- cursor: `${!!leftIconProps?.onClick ? 'pointer' : 'default'}`,
73
- }, onClick: leftIconProps?.onClick, ref: leftIconRef, css: leftIconProps?.css, className: leftIconProps?.className }, { children: _jsx(BKJIcon, { iconName: leftIconProps?.iconName, fontSize: leftIconProps.fontSize }, void 0) }), void 0)),
74
- _createElement(BKJTextInputTextInput, Object.assign({}, inputProps, restInputProps, { onChange: props.onChange, value: props.value, name: props.name, key: name, required: overrides.includes('NO_REQUIRED') ? undefined : props.required, error: error, ref: mergeRefs([innerRef, ref]), variant: variant, elementType: "Input", style: { ...getInputCSS }, autoComplete: autoComplete, hasLeftIcon: !!leftIconProps, hasRightIcon: !!rightIconProps })),
75
- !!rightIconProps && (_jsx(BKJTextInputIconWrapper, Object.assign({}, rightIconProps, { padding: `0 ${rightIconFontSize / 3}px 0 0`, style: {
76
- right: 0,
77
- cursor: `${!!rightIconProps?.onClick ? 'pointer' : 'default'}`,
78
- }, ref: rightIconRef, onClick: rightIconProps?.onClick, css: rightIconProps?.css, className: rightIconProps?.className }, { children: _jsx(BKJIcon, { iconName: rightIconProps.iconName, fontSize: rightIconProps?.fontSize }, void 0) }), void 0))] }), void 0),
79
- props.description && (_jsx(BKJTextInputDescription, Object.assign({}, descriptionProps, { children: props.description }), void 0)),
80
- isFormValidationErrorDisplayed(error) && (_jsx(Fragment, { children: error && Array.isArray(error) ? (error.length &&
81
- error.map((err, i) => (_jsx(BKJTextInputErrorMessage, Object.assign({}, errorMessageProps, { children: err }), `${err}-${i}`)))) : (_jsx(BKJTextInputErrorMessage, Object.assign({}, errorMessageProps, { children: error }), void 0)) }, void 0))] }), void 0));
82
- });
1
+ import { createElement as _createElement } from "react";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { useTextField } from '@react-aria/textfield';
4
+ import { forwardRef, Fragment, useEffect, useMemo, useRef } from 'react';
5
+ import { isArray, isBoolean, isFormValidationErrorDisplayed, isString } from '../../common.types.js';
6
+ import { useDimensionsRef } from '../../hooks/useDimensionsRef/index.js';
7
+ import { BKJIcon } from '../BKJIcon/index.js';
8
+ import { mergeRefs } from '../BKJSelect/utils/mergeRefs.js';
9
+ import { BKJTextInputDescription, BKJTextInputErrorMessage, BKJTextInputFieldSet, BKJTextInputIconWrapper, BKJTextInputLabel, BKJTextInputRequiredAsterisk, BKJTextInputTextInput, BKJTextInputWrapper, } from './BKJTextInput.styled.js';
10
+ export const BKJTextInput = forwardRef((props, ref) => {
11
+ const { overrides = [], variant = 'RoundEdges', leftIconProps, rightIconProps, labelProps: __labelProps__, fieldSetProps = {}, name, className, required: isRequired, disabled: isDisabled, label, value, autoFocus, description, error, onChange, onBeforeInput, onBlur, onCompositionEnd, onCompositionStart, onCompositionUpdate, onCopy, onCut, onFocus, onInput, onKeyDown, onKeyUp, onPaste, onSelect, autoComplete = 'off', } = props;
12
+ let innerRef = useRef({});
13
+ const { labelProps, inputProps, descriptionProps, errorMessageProps } = useTextField({
14
+ isRequired,
15
+ isDisabled,
16
+ autoComplete,
17
+ label: label || `Enter a ${name}`,
18
+ value,
19
+ autoFocus,
20
+ description,
21
+ errorMessage: error,
22
+ onBeforeInput,
23
+ onBlur: onBlur,
24
+ onChange: onChange,
25
+ onCompositionEnd,
26
+ onCompositionStart,
27
+ onCompositionUpdate,
28
+ onCopy,
29
+ onCut,
30
+ onFocus: onFocus,
31
+ onInput,
32
+ onKeyDown,
33
+ onKeyUp,
34
+ onPaste,
35
+ onSelect,
36
+ }, innerRef);
37
+ const [leftIconRef, leftDimm] = useDimensionsRef();
38
+ const [rightIconRef, rightDimm] = useDimensionsRef();
39
+ const rightIconFontSize = useMemo(() => (!!rightIconProps ? rightIconProps.fontSize || 24 : 0), [rightIconProps]);
40
+ const leftIconFontSize = useMemo(() => (!!leftIconProps ? leftIconProps.fontSize || 24 : 0), [leftIconProps]);
41
+ const getInputCSS = useMemo(() => {
42
+ return {
43
+ paddingRight: `${rightDimm.width + (!!rightIconFontSize ? rightIconFontSize / 2 : 12)}px`,
44
+ paddingLeft: `${leftDimm.width + (!!leftIconFontSize ? leftIconFontSize / 2 : 12)}px`,
45
+ };
46
+ }, [leftDimm.width, leftIconFontSize, rightDimm.width, rightIconFontSize]);
47
+ useEffect(() => {
48
+ if (isFormValidationErrorDisplayed(error)) {
49
+ let errorMessage = '';
50
+ if (isArray(error) && error.every((msg) => isString(msg) && msg !== '')) {
51
+ errorMessage = error.join('\n');
52
+ }
53
+ if (isString(error))
54
+ errorMessage = error;
55
+ if (isBoolean(error))
56
+ errorMessage = 'Error';
57
+ if (isArray(error) && error.length === 0)
58
+ errorMessage = '';
59
+ innerRef.current?.setCustomValidity(errorMessage);
60
+ }
61
+ else {
62
+ innerRef.current?.setCustomValidity('');
63
+ }
64
+ }, [error]);
65
+ const restInputProps = { ...props };
66
+ delete restInputProps.className;
67
+ delete restInputProps.children;
68
+ delete restInputProps.css;
69
+ return (_jsxs(BKJTextInputFieldSet, Object.assign({}, fieldSetProps, { className: className }, { children: [props.label && (_jsxs(BKJTextInputLabel, Object.assign({}, __labelProps__, labelProps, { variant: variant, elementType: "Label" }, { children: [props.label, props.required && _jsx(BKJTextInputRequiredAsterisk, { children: "\u00A0*" }, void 0)] }), void 0)),
70
+ _jsxs(BKJTextInputWrapper, Object.assign({ htmlFor: labelProps.htmlFor, variant: variant, disabled: props.disabled, elementType: "InputWrapper", isOpen: props.isOpen }, { children: [!!leftIconProps && (_jsx(BKJTextInputIconWrapper, Object.assign({}, leftIconProps, { padding: `0 0 0 ${leftIconFontSize / 3}px`, style: {
71
+ left: 0,
72
+ cursor: `${!!leftIconProps?.onClick ? 'pointer' : 'default'}`,
73
+ }, onClick: leftIconProps?.onClick, ref: leftIconRef, css: leftIconProps?.css, className: leftIconProps?.className }, { children: _jsx(BKJIcon, { iconName: leftIconProps?.iconName, fontSize: leftIconProps.fontSize }, void 0) }), void 0)),
74
+ _createElement(BKJTextInputTextInput, Object.assign({}, inputProps, restInputProps, { onChange: props.onChange, value: props.value, name: props.name, key: name, required: overrides.includes('NO_REQUIRED') ? undefined : props.required, error: error, ref: mergeRefs([innerRef, ref]), variant: variant, elementType: "Input", style: { ...getInputCSS }, autoComplete: autoComplete, hasLeftIcon: !!leftIconProps, hasRightIcon: !!rightIconProps })),
75
+ !!rightIconProps && (_jsx(BKJTextInputIconWrapper, Object.assign({}, rightIconProps, { padding: `0 ${rightIconFontSize / 3}px 0 0`, style: {
76
+ right: 0,
77
+ cursor: `${!!rightIconProps?.onClick ? 'pointer' : 'default'}`,
78
+ }, ref: rightIconRef, onClick: rightIconProps?.onClick, css: rightIconProps?.css, className: rightIconProps?.className }, { children: _jsx(BKJIcon, { iconName: rightIconProps.iconName, fontSize: rightIconProps?.fontSize }, void 0) }), void 0))] }), void 0),
79
+ props.description && (_jsx(BKJTextInputDescription, Object.assign({}, descriptionProps, { children: props.description }), void 0)),
80
+ isFormValidationErrorDisplayed(error) && (_jsx(Fragment, { children: error && Array.isArray(error) ? (error.length &&
81
+ error.map((err, i) => (_jsx(BKJTextInputErrorMessage, Object.assign({}, errorMessageProps, { children: err }), `${err}-${i}`)))) : (_jsx(BKJTextInputErrorMessage, Object.assign({}, errorMessageProps, { children: error }), void 0)) }, void 0))] }), void 0));
82
+ });
83
83
  //# sourceMappingURL=BKJTextInput.js.map
@@ -1,74 +1,74 @@
1
- /// <reference types="react" />
2
- import { Story } from '@storybook/react';
3
- declare const setup: {
4
- title: string;
5
- component: import("react").ForwardRefExoticComponent<Pick<import("./BKJTextInput.types.js").IBKJTextInputProps, "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "id" | "type" | "pattern" | "isOpen" | "value" | "overrides" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "useMap" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "key" | "variant" | "leftIconProps" | "rightIconProps" | "labelProps" | "fieldSetProps" | "description" | "isRequired" | "error"> & import("react").RefAttributes<HTMLInputElement>>;
6
- argTypes: {
7
- variant: {
8
- name: string;
9
- options: string[];
10
- control: {
11
- type: string;
12
- };
13
- };
14
- value: {
15
- name: string;
16
- };
17
- name: {
18
- name: string;
19
- };
20
- onChange: {
21
- name: string;
22
- };
23
- label: {
24
- name: string;
25
- };
26
- error: {
27
- name: string;
28
- };
29
- required: {
30
- name: string;
31
- };
32
- placeholder: {
33
- name: string;
34
- };
35
- disabled: {
36
- name: string;
37
- };
38
- maxLength: {
39
- name: string;
40
- };
41
- selected: {
42
- name: string;
43
- };
44
- onCloseSelectedPill: {
45
- name: string;
46
- };
47
- onClickTextInput: {
48
- name: string;
49
- };
50
- leftIcon: {
51
- name: string;
52
- options: string[];
53
- control: {
54
- type: string;
55
- };
56
- };
57
- rightIcon: {
58
- name: string;
59
- options: string[];
60
- control: {
61
- type: string;
62
- };
63
- };
64
- onClickLeftIcon: {
65
- name: string;
66
- };
67
- onClickRightIcon: {
68
- name: string;
69
- };
70
- };
71
- };
72
- export declare const Default: Story<import("@storybook/react").Args>;
73
- export default setup;
1
+ /// <reference types="react" />
2
+ import { Story } from '@storybook/react';
3
+ declare const setup: {
4
+ title: string;
5
+ component: import("react").ForwardRefExoticComponent<Pick<import("./BKJTextInput.types.js").IBKJTextInputProps, "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "id" | "type" | "pattern" | "isOpen" | "value" | "overrides" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "useMap" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "key" | "variant" | "leftIconProps" | "rightIconProps" | "labelProps" | "fieldSetProps" | "description" | "isRequired" | "error"> & import("react").RefAttributes<HTMLInputElement>>;
6
+ argTypes: {
7
+ variant: {
8
+ name: string;
9
+ options: string[];
10
+ control: {
11
+ type: string;
12
+ };
13
+ };
14
+ value: {
15
+ name: string;
16
+ };
17
+ name: {
18
+ name: string;
19
+ };
20
+ onChange: {
21
+ name: string;
22
+ };
23
+ label: {
24
+ name: string;
25
+ };
26
+ error: {
27
+ name: string;
28
+ };
29
+ required: {
30
+ name: string;
31
+ };
32
+ placeholder: {
33
+ name: string;
34
+ };
35
+ disabled: {
36
+ name: string;
37
+ };
38
+ maxLength: {
39
+ name: string;
40
+ };
41
+ selected: {
42
+ name: string;
43
+ };
44
+ onCloseSelectedPill: {
45
+ name: string;
46
+ };
47
+ onClickTextInput: {
48
+ name: string;
49
+ };
50
+ leftIcon: {
51
+ name: string;
52
+ options: string[];
53
+ control: {
54
+ type: string;
55
+ };
56
+ };
57
+ rightIcon: {
58
+ name: string;
59
+ options: string[];
60
+ control: {
61
+ type: string;
62
+ };
63
+ };
64
+ onClickLeftIcon: {
65
+ name: string;
66
+ };
67
+ onClickRightIcon: {
68
+ name: string;
69
+ };
70
+ };
71
+ };
72
+ export declare const Default: Story<import("@storybook/react").Args>;
73
+ export default setup;
74
74
  //# sourceMappingURL=BKJTextInput.stories.d.ts.map