@cerebruminc/cerebellum 13.9.2 → 14.0.0

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 (629) hide show
  1. package/lib/cjs/{RJSFormRenderer-DEbHQ_kY.js → RJSFormRenderer-DkuTGTRg.js} +17 -5
  2. package/lib/{esm/RJSFormRenderer-D0CSfA10.js.map → cjs/RJSFormRenderer-DkuTGTRg.js.map} +1 -1
  3. package/lib/cjs/RJSFormRenderer.cjs +1 -2
  4. package/lib/cjs/RJSFormRenderer.cjs.map +1 -1
  5. package/lib/cjs/UserCard.cjs +144 -47
  6. package/lib/cjs/UserCard.cjs.map +1 -1
  7. package/lib/cjs/UserCardModal.cjs +8 -0
  8. package/lib/cjs/UserCardModal.cjs.map +1 -1
  9. package/lib/cjs/cerebellumTheme.cjs +1 -1
  10. package/lib/cjs/focusAfter.cjs +1 -1
  11. package/lib/cjs/index.cjs +1 -6
  12. package/lib/cjs/index.cjs.map +1 -1
  13. package/lib/esm/{AddButton-D3rUGbUd.js → AddButton-DeNvxRVt.js} +4 -4
  14. package/lib/esm/AddButton-DeNvxRVt.js.map +1 -0
  15. package/lib/esm/AddButton.js +4 -4
  16. package/lib/esm/{AddMenu-DxgYV6Rn.js → AddMenu-DGzK7716.js} +5 -5
  17. package/lib/esm/AddMenu-DGzK7716.js.map +1 -0
  18. package/lib/esm/AddMenu.js +19 -19
  19. package/lib/esm/{AddressInput-8qEW9hjG.js → AddressInput-eflCpIAH.js} +4 -4
  20. package/lib/esm/{AddressInput-8qEW9hjG.js.map → AddressInput-eflCpIAH.js.map} +1 -1
  21. package/lib/esm/AddressInput.js +7 -7
  22. package/lib/esm/{AlertCount-vQlOlGEG.js → AlertCount-B8wRdh8C.js} +2 -2
  23. package/lib/esm/AlertCount-B8wRdh8C.js.map +1 -0
  24. package/lib/esm/AlertCount.js +2 -2
  25. package/lib/esm/AltIdBack.js +2 -2
  26. package/lib/esm/AltIdFront.js +2 -2
  27. package/lib/esm/Arrow.js +2 -2
  28. package/lib/esm/ArrowLong.js +2 -2
  29. package/lib/esm/ArrowUp.js +2 -2
  30. package/lib/esm/Assign.js +2 -2
  31. package/lib/esm/Attachment.js +2 -2
  32. package/lib/esm/{Avatar-B7BnuAhC.js → Avatar-BtGK4nqa.js} +2 -2
  33. package/lib/esm/Avatar-BtGK4nqa.js.map +1 -0
  34. package/lib/esm/Avatar.js +2 -2
  35. package/lib/esm/BackCircle.js +2 -2
  36. package/lib/esm/BackgroundCheck.js +2 -2
  37. package/lib/esm/BellOutline.js +2 -2
  38. package/lib/esm/BodyLEmphasis.js +1 -1
  39. package/lib/esm/BodyLPrimary.js +1 -1
  40. package/lib/esm/BodyLSecondary.js +1 -1
  41. package/lib/esm/BodyMEmphasis.js +1 -1
  42. package/lib/esm/BodyMPrimary.js +1 -1
  43. package/lib/esm/BodyMSecondary.js +1 -1
  44. package/lib/esm/BodyMSemiBold.js +1 -1
  45. package/lib/esm/BodySEmphasis.js +1 -1
  46. package/lib/esm/BodySPlaceholder.js +1 -1
  47. package/lib/esm/BodySPrimary.js +1 -1
  48. package/lib/esm/BodySSecondary.js +1 -1
  49. package/lib/esm/BodySSemiBold.js +1 -1
  50. package/lib/esm/BodySTertiary.js +1 -1
  51. package/lib/esm/BodyXSEmphasis.js +1 -1
  52. package/lib/esm/BodyXSPrimary.js +1 -1
  53. package/lib/esm/BodyXSSemiBold.js +1 -1
  54. package/lib/esm/BodyXXSEmphasis.js +1 -1
  55. package/lib/esm/BodyXXSPrimary.js +1 -1
  56. package/lib/esm/BodyXXSSecondary.js +1 -1
  57. package/lib/esm/BoxedButton.js +3 -3
  58. package/lib/esm/BoxedOutlineButton.js +3 -3
  59. package/lib/esm/Button.js +3 -3
  60. package/lib/esm/Calendar.js +2 -2
  61. package/lib/esm/CaretDown.js +2 -2
  62. package/lib/esm/CaretLeft.js +2 -2
  63. package/lib/esm/CaretRight.js +2 -2
  64. package/lib/esm/CaretUp.js +2 -2
  65. package/lib/esm/Cart.js +2 -2
  66. package/lib/esm/ChatBubbleLines.js +2 -2
  67. package/lib/esm/Check.js +2 -2
  68. package/lib/esm/{Checkbox-BdrC_AX0.js → Checkbox-COKJhsju.js} +4 -4
  69. package/lib/esm/Checkbox-COKJhsju.js.map +1 -0
  70. package/lib/esm/Checkbox.js +4 -4
  71. package/lib/esm/CheckboxCellWrapper.js +8 -8
  72. package/lib/esm/CheckboxEmpty.js +2 -2
  73. package/lib/esm/CheckboxFull.js +2 -2
  74. package/lib/esm/{CheckboxGroup-0tAb80Ac.js → CheckboxGroup-Db_Co9qr.js} +5 -5
  75. package/lib/esm/CheckboxGroup-Db_Co9qr.js.map +1 -0
  76. package/lib/esm/CheckboxGroup.js +9 -9
  77. package/lib/esm/{CheckboxItem-B9mFb_La.js → CheckboxItem-Bys6TS7S.js} +6 -6
  78. package/lib/esm/CheckboxItem-Bys6TS7S.js.map +1 -0
  79. package/lib/esm/CheckboxItem.js +8 -8
  80. package/lib/esm/{CheckboxStyles-n0dZUWcQ.js → CheckboxStyles-B3U0c5de.js} +2 -2
  81. package/lib/esm/CheckboxStyles-B3U0c5de.js.map +1 -0
  82. package/lib/esm/CheckedOff.js +2 -2
  83. package/lib/esm/CheckmarkCircle.js +2 -2
  84. package/lib/esm/Clear.js +2 -2
  85. package/lib/esm/{ClearableTag-DmNVOhZy.js → ClearableTag-C7g94e3A.js} +4 -4
  86. package/lib/esm/{ClearableTag-DmNVOhZy.js.map → ClearableTag-C7g94e3A.js.map} +1 -1
  87. package/lib/esm/ClearableTag.js +4 -4
  88. package/lib/esm/{ClickOutHandler-BC-P0Ij9.js → ClickOutHandler-DEwoLdrZ.js} +2 -2
  89. package/lib/esm/ClickOutHandler-DEwoLdrZ.js.map +1 -0
  90. package/lib/esm/ClickOutHandler.js +2 -2
  91. package/lib/esm/Clipboard.js +3 -3
  92. package/lib/esm/{Close-CicbmKWl.js → Close-DTq92r96.js} +3 -3
  93. package/lib/esm/Close-DTq92r96.js.map +1 -0
  94. package/lib/esm/Close.js +3 -3
  95. package/lib/esm/CloseCircle.js +2 -2
  96. package/lib/esm/Code.js +2 -2
  97. package/lib/esm/CodeDoc.js +2 -2
  98. package/lib/esm/{ColorButton-CR0v4h8V.js → ColorButton-BKcXGvPy.js} +2 -2
  99. package/lib/esm/ColorButton-BKcXGvPy.js.map +1 -0
  100. package/lib/esm/ColorButton.js +2 -2
  101. package/lib/esm/{ColorDotDropdown-DT8QFhSR.js → ColorDotDropdown-CCVVWKVi.js} +3 -3
  102. package/lib/esm/ColorDotDropdown-CCVVWKVi.js.map +1 -0
  103. package/lib/esm/ColorDotDropdown.js +23 -23
  104. package/lib/esm/{ColorPicker-B0Tuh3Rz.js → ColorPicker-DGqBIrRt.js} +5 -5
  105. package/lib/esm/ColorPicker-DGqBIrRt.js.map +1 -0
  106. package/lib/esm/ColorPicker.js +6 -6
  107. package/lib/esm/{ColorPickerMenu-CLSbtm7R.js → ColorPickerMenu-Bpjo5-nU.js} +4 -4
  108. package/lib/esm/ColorPickerMenu-Bpjo5-nU.js.map +1 -0
  109. package/lib/esm/ColorPickerMenu.js +4 -4
  110. package/lib/esm/Communication.js +2 -2
  111. package/lib/esm/{ConfigurableInput-Jv3GVK5Q.js → ConfigurableInput-DWY59Qko.js} +4 -4
  112. package/lib/esm/ConfigurableInput-DWY59Qko.js.map +1 -0
  113. package/lib/esm/ConfigurableInput.js +13 -13
  114. package/lib/esm/Configure.js +2 -2
  115. package/lib/esm/{ConfirmModal-Big7bvo9.js → ConfirmModal-DlHLqqv0.js} +5 -5
  116. package/lib/esm/ConfirmModal-DlHLqqv0.js.map +1 -0
  117. package/lib/esm/ConfirmModal.js +6 -6
  118. package/lib/esm/Contact.js +2 -2
  119. package/lib/esm/{CountryDropdown-BhoDo_Yv.js → CountryDropdown-CzYGoDsj.js} +3 -3
  120. package/lib/esm/{CountryDropdown-BhoDo_Yv.js.map → CountryDropdown-CzYGoDsj.js.map} +1 -1
  121. package/lib/esm/CountryDropdown.js +23 -23
  122. package/lib/esm/{CountyDropdown-D1kp7m1F.js → CountyDropdown-DglMuGc1.js} +3 -3
  123. package/lib/esm/CountyDropdown-DglMuGc1.js.map +1 -0
  124. package/lib/esm/CountyDropdown.js +23 -23
  125. package/lib/esm/Covid.js +2 -2
  126. package/lib/esm/CovidTest.js +2 -2
  127. package/lib/esm/CovidVaccineCard.js +2 -2
  128. package/lib/esm/CreditCard.js +2 -2
  129. package/lib/esm/{CreditCardInput-oAP7rVHL.js → CreditCardInput-BinVNDtx.js} +5 -5
  130. package/lib/esm/CreditCardInput-BinVNDtx.js.map +1 -0
  131. package/lib/esm/CreditCardInput.js +7 -7
  132. package/lib/esm/CsvDoc.js +2 -2
  133. package/lib/esm/{CurrencyInput-p1KwvN9e.js → CurrencyInput-DVftQsZl.js} +5 -5
  134. package/lib/esm/CurrencyInput-DVftQsZl.js.map +1 -0
  135. package/lib/esm/CurrencyInput.js +7 -7
  136. package/lib/esm/Dashboard.js +2 -2
  137. package/lib/esm/DatePicker.js +21 -21
  138. package/lib/esm/{Delete-CMJExhyT.js → Delete-D3v-Ev9t.js} +3 -3
  139. package/lib/esm/Delete-D3v-Ev9t.js.map +1 -0
  140. package/lib/esm/Delete.js +3 -3
  141. package/lib/esm/{DescriptiveDropdownInput-Ddpx-Qnn.js → DescriptiveDropdownInput-DiK0uVRs.js} +4 -4
  142. package/lib/esm/{DescriptiveDropdownInput-Ddpx-Qnn.js.map → DescriptiveDropdownInput-DiK0uVRs.js.map} +1 -1
  143. package/lib/esm/DescriptiveDropdownInput.js +19 -19
  144. package/lib/esm/{DescriptiveSwitchMenu-DRBUVcRQ.js → DescriptiveSwitchMenu-27xj0Izu.js} +7 -7
  145. package/lib/esm/DescriptiveSwitchMenu-27xj0Izu.js.map +1 -0
  146. package/lib/esm/DescriptiveSwitchMenu.js +12 -12
  147. package/lib/esm/{DescriptiveSwitchMenuStyles-xYSR0MK8.js → DescriptiveSwitchMenuStyles-BxUbjunT.js} +4 -4
  148. package/lib/esm/DescriptiveSwitchMenuStyles-BxUbjunT.js.map +1 -0
  149. package/lib/esm/DialogHandler.js +11 -11
  150. package/lib/esm/Document.js +2 -2
  151. package/lib/esm/Dollar.js +2 -2
  152. package/lib/esm/Download.js +2 -2
  153. package/lib/esm/DownloadDocument.js +2 -2
  154. package/lib/esm/Drag.js +2 -2
  155. package/lib/esm/{Drawer-D_d5Xfo9.js → Drawer-DWgN9aaO.js} +5 -5
  156. package/lib/esm/{Drawer-D_d5Xfo9.js.map → Drawer-DWgN9aaO.js.map} +1 -1
  157. package/lib/esm/Drawer.js +8 -8
  158. package/lib/esm/{DrawerDivider-DvBgszbH.js → DrawerDivider-CzjMkAtb.js} +2 -2
  159. package/lib/esm/DrawerDivider-CzjMkAtb.js.map +1 -0
  160. package/lib/esm/DrawerDivider.js +2 -2
  161. package/lib/esm/{DropdownButton-D-Y0v1wd.js → DropdownButton-CmuiGhQX.js} +4 -4
  162. package/lib/esm/DropdownButton-CmuiGhQX.js.map +1 -0
  163. package/lib/esm/DropdownButton.js +4 -4
  164. package/lib/esm/{DropdownInput-BjKcBksF.js → DropdownInput-Q_4Hgumi.js} +5 -5
  165. package/lib/esm/DropdownInput-Q_4Hgumi.js.map +1 -0
  166. package/lib/esm/DropdownInput.js +22 -22
  167. package/lib/esm/{DropdownInputStyles-ZK_QJGAg.js → DropdownInputStyles-BQT5xakr.js} +2 -2
  168. package/lib/esm/DropdownInputStyles-BQT5xakr.js.map +1 -0
  169. package/lib/esm/Duplicate.js +2 -2
  170. package/lib/esm/Edit.js +2 -2
  171. package/lib/esm/Ellipsis.js +2 -2
  172. package/lib/esm/Email.js +2 -2
  173. package/lib/esm/{EmailInput-DwCmNY4u.js → EmailInput-DhEHsoq8.js} +5 -5
  174. package/lib/esm/EmailInput-DhEHsoq8.js.map +1 -0
  175. package/lib/esm/EmailInput.js +7 -7
  176. package/lib/esm/Employee.js +2 -2
  177. package/lib/esm/Expired.js +2 -2
  178. package/lib/esm/Eye.js +2 -2
  179. package/lib/esm/EyeOff.js +2 -2
  180. package/lib/esm/Facebook.js +2 -2
  181. package/lib/esm/File.js +2 -2
  182. package/lib/esm/FileComplete.js +2 -2
  183. package/lib/esm/FileError.js +2 -2
  184. package/lib/esm/Filter.js +2 -2
  185. package/lib/esm/Filters.js +2 -2
  186. package/lib/esm/{FiltersBar-Bcoyn0dn.js → FiltersBar-BXZJg61p.js} +4 -4
  187. package/lib/esm/FiltersBar-BXZJg61p.js.map +1 -0
  188. package/lib/esm/FiltersBar.js +8 -8
  189. package/lib/esm/Folder.js +2 -2
  190. package/lib/esm/FolderClosed.js +2 -2
  191. package/lib/esm/FolderOpen.js +2 -2
  192. package/lib/esm/Footer.js +3 -3
  193. package/lib/esm/Form.js +59 -59
  194. package/lib/esm/FormSeparator.js +9 -9
  195. package/lib/esm/{FormStyles-Dl6imocT.js → FormStyles-6r58Fniz.js} +9 -9
  196. package/lib/esm/{FormStyles-Dl6imocT.js.map → FormStyles-6r58Fniz.js.map} +1 -1
  197. package/lib/esm/FormWrapper.js +9 -9
  198. package/lib/esm/{FormikContainer-CHO8YQih.js → FormikContainer-yGkXpjSY.js} +36 -36
  199. package/lib/esm/{FormikContainer-CHO8YQih.js.map → FormikContainer-yGkXpjSY.js.map} +1 -1
  200. package/lib/esm/Gear.js +3 -3
  201. package/lib/esm/GitHub.js +2 -2
  202. package/lib/esm/GlobalStyle.js +1 -1
  203. package/lib/esm/Grid.js +2 -2
  204. package/lib/esm/HeadingH1.js +1 -1
  205. package/lib/esm/HeadingH2.js +1 -1
  206. package/lib/esm/HeadingH3.js +1 -1
  207. package/lib/esm/Heart.js +3 -3
  208. package/lib/esm/Help.js +2 -2
  209. package/lib/esm/Home.js +2 -2
  210. package/lib/esm/{HorizontalTabMenu-BBLDmKph.js → HorizontalTabMenu-eWiFNzmR.js} +3 -3
  211. package/lib/esm/{HorizontalTabMenu-BBLDmKph.js.map → HorizontalTabMenu-eWiFNzmR.js.map} +1 -1
  212. package/lib/esm/HorizontalTabMenu.js +3 -3
  213. package/lib/esm/ID.js +2 -2
  214. package/lib/esm/{IconButton-E4owK8Nt.js → IconButton-raK38t5J.js} +2 -2
  215. package/lib/esm/IconButton-raK38t5J.js.map +1 -0
  216. package/lib/esm/IconButton.js +2 -2
  217. package/lib/esm/{IconComponentStyles-BBt1vuNf.js → IconComponentStyles-DsanQokf.js} +2 -2
  218. package/lib/esm/IconComponentStyles-DsanQokf.js.map +1 -0
  219. package/lib/esm/{IconSwitcher-BuS_F0hc.js → IconSwitcher-PQacXY-j.js} +8 -8
  220. package/lib/esm/{IconSwitcher-BuS_F0hc.js.map → IconSwitcher-PQacXY-j.js.map} +1 -1
  221. package/lib/esm/IconSwitcher.js +20 -20
  222. package/lib/esm/{IconTile-aUuzZ9RD.js → IconTile-uny9wgQH.js} +7 -7
  223. package/lib/esm/IconTile-uny9wgQH.js.map +1 -0
  224. package/lib/esm/IconTile.js +11 -11
  225. package/lib/esm/IdBack.js +2 -2
  226. package/lib/esm/IdFront.js +2 -2
  227. package/lib/esm/IdReverse.js +2 -2
  228. package/lib/esm/{ImagePicker-DDpJeHBS.js → ImagePicker-DabXkNgW.js} +10 -10
  229. package/lib/esm/{ImagePicker-DDpJeHBS.js.map → ImagePicker-DabXkNgW.js.map} +1 -1
  230. package/lib/esm/ImagePicker.js +16 -16
  231. package/lib/esm/Inactive.js +2 -2
  232. package/lib/esm/IndicatorDown.js +2 -2
  233. package/lib/esm/IndicatorSide.js +2 -2
  234. package/lib/esm/InfoCircle.js +2 -2
  235. package/lib/esm/{InlineCreditCardInput-CuvkpMvL.js → InlineCreditCardInput-CnkQDYWC.js} +4 -4
  236. package/lib/esm/{InlineCreditCardInput-CuvkpMvL.js.map → InlineCreditCardInput-CnkQDYWC.js.map} +1 -1
  237. package/lib/esm/InlineCreditCardInput.js +5 -5
  238. package/lib/esm/{InlineCurrencyInput-DdD60vXr.js → InlineCurrencyInput-D1rIV4VA.js} +3 -3
  239. package/lib/esm/InlineCurrencyInput-D1rIV4VA.js.map +1 -0
  240. package/lib/esm/InlineCurrencyInput.js +5 -5
  241. package/lib/esm/{InlineDatePicker-Bd98U3EC.js → InlineDatePicker-CAHiGhxl.js} +9 -9
  242. package/lib/esm/{InlineDatePicker-Bd98U3EC.js.map → InlineDatePicker-CAHiGhxl.js.map} +1 -1
  243. package/lib/esm/InlineDatePicker.js +20 -20
  244. package/lib/esm/{InlineDescriptiveDropdown-BEjSuo-g.js → InlineDescriptiveDropdown-CCsvrP4V.js} +5 -5
  245. package/lib/esm/{InlineDescriptiveDropdown-BEjSuo-g.js.map → InlineDescriptiveDropdown-CCsvrP4V.js.map} +1 -1
  246. package/lib/esm/InlineDescriptiveDropdown.js +17 -17
  247. package/lib/esm/{InlineDropdown-D5Hb_kYI.js → InlineDropdown-BvSdbpoi.js} +5 -5
  248. package/lib/esm/InlineDropdown-BvSdbpoi.js.map +1 -0
  249. package/lib/esm/InlineDropdown.js +17 -17
  250. package/lib/esm/{InlineEmailInput-G3IrZCur.js → InlineEmailInput-l9KwGain.js} +4 -4
  251. package/lib/esm/InlineEmailInput-l9KwGain.js.map +1 -0
  252. package/lib/esm/InlineEmailInput.js +5 -5
  253. package/lib/esm/{InlineInput-Ch6CfLME.js → InlineInput-Cbk0jLbt.js} +4 -4
  254. package/lib/esm/{InlineInput-Ch6CfLME.js.map → InlineInput-Cbk0jLbt.js.map} +1 -1
  255. package/lib/esm/InlineInput.js +4 -4
  256. package/lib/esm/InlineInputButton.js +7 -7
  257. package/lib/esm/InlinePasswordInput.js +6 -6
  258. package/lib/esm/{InlinePhoneInput-C6RRWhkg.js → InlinePhoneInput-CXIY8sVU.js} +4 -4
  259. package/lib/esm/InlinePhoneInput-CXIY8sVU.js.map +1 -0
  260. package/lib/esm/InlinePhoneInput.js +5 -5
  261. package/lib/esm/InlineSsnInput.js +4 -4
  262. package/lib/esm/InlineTextarea.js +3 -3
  263. package/lib/esm/InlineZipCodeInput.js +4 -4
  264. package/lib/esm/{Input-DUMWuiRL.js → Input-BWFp-y6X.js} +5 -5
  265. package/lib/esm/Input-BWFp-y6X.js.map +1 -0
  266. package/lib/esm/InputButton.js +8 -8
  267. package/lib/esm/{Inputs-CDGsS9tQ.js → Inputs-CkV-ertP.js} +3 -3
  268. package/lib/esm/{Inputs-CDGsS9tQ.js.map → Inputs-CkV-ertP.js.map} +1 -1
  269. package/lib/esm/{InteriorSidebar-Dl9ocJkR.js → InteriorSidebar-Dwib1tie.js} +3 -3
  270. package/lib/esm/{InteriorSidebar-Dl9ocJkR.js.map → InteriorSidebar-Dwib1tie.js.map} +1 -1
  271. package/lib/esm/InteriorSidebar.js +3 -3
  272. package/lib/esm/Issue.js +2 -2
  273. package/lib/esm/Key.js +2 -2
  274. package/lib/esm/LayoutSidebar.js +1 -1
  275. package/lib/esm/Lightning.js +2 -2
  276. package/lib/esm/LinkedIn.js +2 -2
  277. package/lib/esm/List.js +2 -2
  278. package/lib/esm/Loading.js +1 -1
  279. package/lib/esm/{LoadingEllipsis-C1NXXo2M.js → LoadingEllipsis-4SpjEvys.js} +2 -2
  280. package/lib/esm/LoadingEllipsis-4SpjEvys.js.map +1 -0
  281. package/lib/esm/LoadingEllipsis.js +2 -2
  282. package/lib/esm/Location.js +2 -2
  283. package/lib/esm/LocationPin.js +2 -2
  284. package/lib/esm/Lock.js +2 -2
  285. package/lib/esm/LogOut.js +2 -2
  286. package/lib/esm/{LogoSidebar-CkljY9N_.js → LogoSidebar-C-dWh3mX.js} +4 -4
  287. package/lib/esm/LogoSidebar-C-dWh3mX.js.map +1 -0
  288. package/lib/esm/LogoSidebar.js +5 -5
  289. package/lib/esm/Menu.js +2 -2
  290. package/lib/esm/Merge.js +2 -2
  291. package/lib/esm/MinusCircle.js +2 -2
  292. package/lib/esm/Mobile.js +2 -2
  293. package/lib/esm/{Modal-BnwCl3gD.js → Modal-pZLbJq6R.js} +4 -4
  294. package/lib/esm/{Modal-BnwCl3gD.js.map → Modal-pZLbJq6R.js.map} +1 -1
  295. package/lib/esm/Modal.js +4 -4
  296. package/lib/esm/Money.js +2 -2
  297. package/lib/esm/{MoreMenuButton-AVBRmQRG.js → MoreMenuButton-C31qzkk6.js} +4 -4
  298. package/lib/esm/MoreMenuButton-C31qzkk6.js.map +1 -0
  299. package/lib/esm/MoreMenuButton.js +4 -4
  300. package/lib/esm/{MultiSelect-BXptGI3E.js → MultiSelect-BzUIs3je.js} +6 -6
  301. package/lib/esm/MultiSelect-BzUIs3je.js.map +1 -0
  302. package/lib/esm/MultiSelect.js +21 -21
  303. package/lib/esm/NavLayout.js +1 -1
  304. package/lib/esm/No.js +2 -2
  305. package/lib/esm/NotFound.js +3 -3
  306. package/lib/esm/{Orders-CAyQpS41.js → Orders-BvXAUuwg.js} +3 -3
  307. package/lib/esm/Orders-BvXAUuwg.js.map +1 -0
  308. package/lib/esm/Orders.js +3 -3
  309. package/lib/esm/OutlineButton.js +3 -3
  310. package/lib/esm/PDF.js +2 -2
  311. package/lib/esm/Package.js +2 -2
  312. package/lib/esm/PackageDownArrow.js +2 -2
  313. package/lib/esm/PasswordInput.js +6 -6
  314. package/lib/esm/Phone.js +2 -2
  315. package/lib/esm/PhoneCell.js +8 -8
  316. package/lib/esm/{PhoneInput-GKg1Jvt5.js → PhoneInput-Bkte8sX0.js} +5 -5
  317. package/lib/esm/PhoneInput-Bkte8sX0.js.map +1 -0
  318. package/lib/esm/PhoneInput.js +7 -7
  319. package/lib/esm/{PieChart-d3DIlqrL.js → PieChart-Bi5gSTrG.js} +2 -2
  320. package/lib/esm/PieChart-Bi5gSTrG.js.map +1 -0
  321. package/lib/esm/PieChart.js +2 -2
  322. package/lib/esm/PlusCircle.js +2 -2
  323. package/lib/esm/PrimaryButton.js +3 -3
  324. package/lib/esm/Print.js +2 -2
  325. package/lib/esm/Queue.js +2 -2
  326. package/lib/esm/{RJSFormRenderer-D0CSfA10.js → RJSFormRenderer-D9enJixW.js} +17 -5
  327. package/lib/{cjs/RJSFormRenderer-DEbHQ_kY.js.map → esm/RJSFormRenderer-D9enJixW.js.map} +1 -1
  328. package/lib/esm/RJSFormRenderer.js +4 -5
  329. package/lib/esm/RJSFormRenderer.js.map +1 -1
  330. package/lib/esm/{Radio-DkEF92KD.js → Radio-DUIpmab9.js} +4 -4
  331. package/lib/esm/Radio-DUIpmab9.js.map +1 -0
  332. package/lib/esm/Radio.js +4 -4
  333. package/lib/esm/RadioEmpty.js +2 -2
  334. package/lib/esm/RadioFull.js +2 -2
  335. package/lib/esm/{RadioGroup-FQMelcMT.js → RadioGroup-CDyNe7bS.js} +5 -5
  336. package/lib/esm/RadioGroup-CDyNe7bS.js.map +1 -0
  337. package/lib/esm/RadioGroup.js +9 -9
  338. package/lib/esm/{RadioItem-Re2hfx_M.js → RadioItem-ChEwDxpi.js} +6 -6
  339. package/lib/esm/RadioItem-ChEwDxpi.js.map +1 -0
  340. package/lib/esm/RadioItem.js +8 -8
  341. package/lib/esm/{RadioStyles-BE77MqVD.js → RadioStyles-CyrFNWHs.js} +2 -2
  342. package/lib/esm/RadioStyles-CyrFNWHs.js.map +1 -0
  343. package/lib/esm/Resend.js +2 -2
  344. package/lib/esm/ResultsQueue.js +2 -2
  345. package/lib/esm/Review.js +2 -2
  346. package/lib/esm/Scroller.js +1 -1
  347. package/lib/esm/Search.js +2 -2
  348. package/lib/esm/{SearchInput-2TWxL_-B.js → SearchInput-kgqlKmj5.js} +5 -5
  349. package/lib/esm/SearchInput-kgqlKmj5.js.map +1 -0
  350. package/lib/esm/SearchInput.js +6 -6
  351. package/lib/esm/{SearchMenu-h5HqVgJs.js → SearchMenu-mI5sW4n0.js} +10 -10
  352. package/lib/esm/{SearchMenu-h5HqVgJs.js.map → SearchMenu-mI5sW4n0.js.map} +1 -1
  353. package/lib/esm/SearchMenu.js +15 -15
  354. package/lib/esm/SecondaryButton.js +3 -3
  355. package/lib/esm/{Select-CLNLLXAt.js → Select-B-OH4CmO.js} +5 -5
  356. package/lib/esm/{Select-CLNLLXAt.js.map → Select-B-OH4CmO.js.map} +1 -1
  357. package/lib/esm/Select.js +6 -6
  358. package/lib/esm/{SelectSearch-IcWskIYw.js → SelectSearch-C29KVp3K.js} +8 -8
  359. package/lib/esm/{SelectSearch-IcWskIYw.js.map → SelectSearch-C29KVp3K.js.map} +1 -1
  360. package/lib/esm/SelectSearch.js +19 -19
  361. package/lib/esm/Selfie.js +2 -2
  362. package/lib/esm/SelfiePhone.js +2 -2
  363. package/lib/esm/Send.js +2 -2
  364. package/lib/esm/Settings.js +3 -3
  365. package/lib/esm/ShortScroller.js +1 -1
  366. package/lib/esm/Sign.js +2 -2
  367. package/lib/esm/SignDoc.js +2 -2
  368. package/lib/esm/{SingleButton-CEtpKZoX.js → SingleButton-BtBM-VVB.js} +2 -2
  369. package/lib/esm/SingleButton-BtBM-VVB.js.map +1 -0
  370. package/lib/esm/{SlideIn-M1Hsy2X8.js → SlideIn-DEzdj3h8.js} +2 -2
  371. package/lib/esm/{SlideIn-M1Hsy2X8.js.map → SlideIn-DEzdj3h8.js.map} +1 -1
  372. package/lib/esm/SlideIn.js +2 -2
  373. package/lib/esm/{SnackContainer-_28dF_Od.js → SnackContainer-DXRz1THt.js} +3 -3
  374. package/lib/esm/{SnackContainer-_28dF_Od.js.map → SnackContainer-DXRz1THt.js.map} +1 -1
  375. package/lib/esm/Sort.js +2 -2
  376. package/lib/esm/Ssn.js +2 -2
  377. package/lib/esm/SsnInput.js +5 -5
  378. package/lib/esm/Star.js +2 -2
  379. package/lib/esm/{StateDropdown-BbGIVIz2.js → StateDropdown-DsIk_jAc.js} +3 -3
  380. package/lib/esm/StateDropdown-DsIk_jAc.js.map +1 -0
  381. package/lib/esm/StateDropdown.js +23 -23
  382. package/lib/esm/Status.js +2 -2
  383. package/lib/esm/{StatusDropdown-ChatNlr4.js → StatusDropdown-tMX5MNAU.js} +4 -4
  384. package/lib/esm/StatusDropdown-tMX5MNAU.js.map +1 -0
  385. package/lib/esm/StatusDropdown.js +24 -24
  386. package/lib/esm/{StatusIndicator-DjZwRqtf.js → StatusIndicator-CdDd2o6Z.js} +3 -3
  387. package/lib/esm/{StatusIndicator-DjZwRqtf.js.map → StatusIndicator-CdDd2o6Z.js.map} +1 -1
  388. package/lib/esm/StatusIndicator.js +3 -3
  389. package/lib/esm/{Stepper-SjYVItrB.js → Stepper-DisRuD4I.js} +3 -3
  390. package/lib/esm/{Stepper-SjYVItrB.js.map → Stepper-DisRuD4I.js.map} +1 -1
  391. package/lib/esm/Stepper.js +3 -3
  392. package/lib/esm/Stop.js +2 -2
  393. package/lib/esm/SubOrg.js +2 -2
  394. package/lib/esm/SubheadingMPrimary.js +1 -1
  395. package/lib/esm/SubheadingSEmphasis.js +1 -1
  396. package/lib/esm/Support.js +2 -2
  397. package/lib/esm/Switcher.js +2 -2
  398. package/lib/esm/{Switches-B1THrHNf.js → Switches-jFFMNJZ2.js} +3 -3
  399. package/lib/esm/Switches-jFFMNJZ2.js.map +1 -0
  400. package/lib/esm/{TabModal-D92Lplcm.js → TabModal-BeU_h6PR.js} +5 -5
  401. package/lib/esm/{TabModal-D92Lplcm.js.map → TabModal-BeU_h6PR.js.map} +1 -1
  402. package/lib/esm/TabModal.js +8 -8
  403. package/lib/esm/Table.js +38 -38
  404. package/lib/esm/{TableFiltersPanel-BJDOnRCp.js → TableFiltersPanel-DDW7H4ke.js} +3 -3
  405. package/lib/esm/TableFiltersPanel-DDW7H4ke.js.map +1 -0
  406. package/lib/esm/TableFiltersPanel.js +17 -17
  407. package/lib/esm/TableOptionLabel.js +2 -2
  408. package/lib/esm/{TableStyles-CV496zka.js → TableStyles-C2DGeS39.js} +4 -4
  409. package/lib/esm/{TableStyles-CV496zka.js.map → TableStyles-C2DGeS39.js.map} +1 -1
  410. package/lib/esm/Tenant.js +2 -2
  411. package/lib/esm/TextButton.js +3 -3
  412. package/lib/esm/{TextLink-g0qDn7WU.js → TextLink-BsPB2CSe.js} +4 -4
  413. package/lib/esm/{TextLink-g0qDn7WU.js.map → TextLink-BsPB2CSe.js.map} +1 -1
  414. package/lib/esm/TextLink.js +5 -5
  415. package/lib/esm/Textarea.js +4 -4
  416. package/lib/esm/ThemeProvider.js +11 -11
  417. package/lib/esm/Timer.js +2 -2
  418. package/lib/esm/TitleGroup.js +9 -9
  419. package/lib/esm/{Toast-DKCosxm6.js → Toast-CuB5V1MW.js} +8 -8
  420. package/lib/esm/{Toast-DKCosxm6.js.map → Toast-CuB5V1MW.js.map} +1 -1
  421. package/lib/esm/{Toggle-BIsx-FLR.js → Toggle-k0U-qGuk.js} +2 -2
  422. package/lib/esm/Toggle-k0U-qGuk.js.map +1 -0
  423. package/lib/esm/Toggle.js +3 -3
  424. package/lib/esm/{ToggleButtons-CDss-zU6.js → ToggleButtons-N_e0h4CJ.js} +2 -2
  425. package/lib/esm/ToggleButtons-N_e0h4CJ.js.map +1 -0
  426. package/lib/esm/ToggleButtons.js +2 -2
  427. package/lib/esm/ToggleCell.js +8 -8
  428. package/lib/esm/{ToggleGroup-Bs_T_LX7.js → ToggleGroup-DrYyQy_S.js} +5 -5
  429. package/lib/esm/ToggleGroup-DrYyQy_S.js.map +1 -0
  430. package/lib/esm/ToggleGroup.js +10 -10
  431. package/lib/esm/{ToggleItem-DVT9aKc8.js → ToggleItem-D5KBKy04.js} +6 -6
  432. package/lib/esm/ToggleItem-D5KBKy04.js.map +1 -0
  433. package/lib/esm/ToggleItem.js +9 -9
  434. package/lib/esm/{ToggleStyles-C0cPBGbD.js → ToggleStyles-Eov6Lpcu.js} +2 -2
  435. package/lib/esm/ToggleStyles-Eov6Lpcu.js.map +1 -0
  436. package/lib/esm/{Tooltip-C9UTZuIl.js → Tooltip-0O4JgN9s.js} +3 -3
  437. package/lib/esm/{Tooltip-C9UTZuIl.js.map → Tooltip-0O4JgN9s.js.map} +1 -1
  438. package/lib/esm/Tooltip.js +3 -3
  439. package/lib/esm/{TooltipLabel-DXvVAIEV.js → TooltipLabel-CaSA9IaW.js} +5 -5
  440. package/lib/esm/{TooltipLabel-DXvVAIEV.js.map → TooltipLabel-CaSA9IaW.js.map} +1 -1
  441. package/lib/esm/TooltipLabel.js +6 -6
  442. package/lib/esm/{TooltipOptions-CD4kY-7-.js → TooltipOptions-D89UcL2a.js} +3 -3
  443. package/lib/esm/TooltipOptions-D89UcL2a.js.map +1 -0
  444. package/lib/esm/TooltipOptions.js +5 -5
  445. package/lib/esm/{TooltipOptionsStyles-CvVQ-ziJ.js → TooltipOptionsStyles-C6jk96vu.js} +2 -2
  446. package/lib/esm/TooltipOptionsStyles-C6jk96vu.js.map +1 -0
  447. package/lib/esm/Trash.js +3 -3
  448. package/lib/esm/{Truncate-70b6FNIJ.js → Truncate-DGYF38aN.js} +2 -2
  449. package/lib/esm/Truncate-DGYF38aN.js.map +1 -0
  450. package/lib/esm/Truncate.js +3 -3
  451. package/lib/esm/{TruncatePicker-CMfshChw.js → TruncatePicker-C7Gwgvqg.js} +2 -2
  452. package/lib/esm/{TruncatePicker-CMfshChw.js.map → TruncatePicker-C7Gwgvqg.js.map} +1 -1
  453. package/lib/esm/Twitter.js +2 -2
  454. package/lib/esm/{Typography-B_i-tRD0.js → Typography-Blo5CQLS.js} +3 -3
  455. package/lib/esm/Typography-Blo5CQLS.js.map +1 -0
  456. package/lib/esm/Typography.js +4 -4
  457. package/lib/esm/Update.js +2 -2
  458. package/lib/esm/Upload.js +2 -2
  459. package/lib/esm/UploadDocument.js +2 -2
  460. package/lib/esm/{UploadDropzone-hzxiCOFN.js → UploadDropzone-CnbM_ind.js} +8 -8
  461. package/lib/esm/{UploadDropzone-hzxiCOFN.js.map → UploadDropzone-CnbM_ind.js.map} +1 -1
  462. package/lib/esm/UploadDropzone.js +9 -9
  463. package/lib/esm/User.js +2 -2
  464. package/lib/esm/UserAdd.js +2 -2
  465. package/lib/esm/UserCard.js +151 -50
  466. package/lib/esm/UserCard.js.map +1 -1
  467. package/lib/esm/UserCardModal.js +14 -6
  468. package/lib/esm/UserCardModal.js.map +1 -1
  469. package/lib/esm/{UserInformationCard-BPZYRni_.js → UserInformationCard-BLyXK-YA.js} +7 -7
  470. package/lib/esm/{UserInformationCard-BPZYRni_.js.map → UserInformationCard-BLyXK-YA.js.map} +1 -1
  471. package/lib/esm/UserInformationCard.js +9 -9
  472. package/lib/esm/UserOutline.js +2 -2
  473. package/lib/esm/UserRecords.js +2 -2
  474. package/lib/esm/UserSearch.js +2 -2
  475. package/lib/esm/VID.js +2 -2
  476. package/lib/esm/VIDLogo.js +2 -2
  477. package/lib/esm/Video.js +2 -2
  478. package/lib/esm/{Volunteer-MeQItm7s.js → Volunteer-CPAz2rio.js} +3 -3
  479. package/lib/esm/Volunteer-CPAz2rio.js.map +1 -0
  480. package/lib/esm/Volunteer.js +3 -3
  481. package/lib/esm/{Warning-8SRRDb85.js → Warning-C-5QRA7u.js} +3 -3
  482. package/lib/esm/Warning-C-5QRA7u.js.map +1 -0
  483. package/lib/esm/Warning.js +3 -3
  484. package/lib/esm/WarningExclaim.js +3 -3
  485. package/lib/esm/X.js +3 -3
  486. package/lib/esm/ZipCodeInput.js +5 -5
  487. package/lib/esm/{_tslib-Cea_sJmA.js → _tslib-BcwB1KkQ.js} +2 -2
  488. package/lib/esm/{_tslib-Cea_sJmA.js.map → _tslib-BcwB1KkQ.js.map} +1 -1
  489. package/lib/esm/addOrRemoveById.js +1 -1
  490. package/lib/esm/addOrRemoveString.js +1 -1
  491. package/lib/esm/altPostalCodeNames.js +23 -23
  492. package/lib/esm/altRegionNames.js +23 -23
  493. package/lib/esm/cerebellumTheme.js +2 -2
  494. package/lib/esm/colors.js +1 -1
  495. package/lib/esm/compressImage.js +1 -1
  496. package/lib/esm/convertHEICtoPNG.js +1 -1
  497. package/lib/esm/cortexTheme.js +1 -1
  498. package/lib/esm/countryList.js +23 -23
  499. package/lib/esm/countryLookup.js +23 -23
  500. package/lib/esm/{filtering-D9dGwiF6.js → filtering-AJPxGpSi.js} +2 -2
  501. package/lib/esm/filtering-AJPxGpSi.js.map +1 -0
  502. package/lib/esm/focusAfter.js +1 -1
  503. package/lib/esm/getObjectById.js +1 -1
  504. package/lib/esm/index.js +102 -106
  505. package/lib/esm/index.js.map +1 -1
  506. package/lib/esm/loadingPseudo.js +1 -1
  507. package/lib/esm/makeIdString.js +1 -1
  508. package/lib/esm/removeById.js +1 -1
  509. package/lib/esm/removeByIdArray.js +1 -1
  510. package/lib/esm/removeString.js +1 -1
  511. package/lib/esm/replaceObjectById.js +1 -1
  512. package/lib/esm/setAllKeysToValue.js +1 -1
  513. package/lib/esm/setObjectById.js +1 -1
  514. package/lib/esm/{showLabel-ClIsfTyB.js → showLabel-CGaATEVy.js} +2 -2
  515. package/lib/esm/showLabel-CGaATEVy.js.map +1 -0
  516. package/lib/esm/toggleObjectById.js +1 -1
  517. package/lib/types/src/components/RJSFormRenderer/mocks.d.ts +30 -0
  518. package/lib/types/src/components/RJSFormRenderer/types.d.ts +15 -0
  519. package/lib/types/src/components/UserCard/UserCardStyles.d.ts +13 -2
  520. package/lib/types/src/components/UserCard/const.d.ts +1 -2
  521. package/lib/types/src/components/UserCard/findOptimalScrollingheight.d.ts +6 -0
  522. package/lib/types/src/components/UserCard/mockOrgs.d.ts +7 -0
  523. package/lib/types/src/components/UserCard/types.d.ts +8 -7
  524. package/lib/types/src/components/UserCard/useWindowResize.d.ts +4 -0
  525. package/lib/types/src/examples/FormGridLayout.d.ts +6 -0
  526. package/lib/types/src/index.d.ts +0 -2
  527. package/package.json +1 -2
  528. package/lib/cjs/RJSForm-BYMmS7or.js +0 -441
  529. package/lib/cjs/RJSForm-BYMmS7or.js.map +0 -1
  530. package/lib/cjs/RJSForm.cjs +0 -113
  531. package/lib/cjs/RJSForm.cjs.map +0 -1
  532. package/lib/cjs/types-5wgDsApd.js +0 -15
  533. package/lib/cjs/types-5wgDsApd.js.map +0 -1
  534. package/lib/esm/AddButton-D3rUGbUd.js.map +0 -1
  535. package/lib/esm/AddMenu-DxgYV6Rn.js.map +0 -1
  536. package/lib/esm/AlertCount-vQlOlGEG.js.map +0 -1
  537. package/lib/esm/Avatar-B7BnuAhC.js.map +0 -1
  538. package/lib/esm/Checkbox-BdrC_AX0.js.map +0 -1
  539. package/lib/esm/CheckboxGroup-0tAb80Ac.js.map +0 -1
  540. package/lib/esm/CheckboxItem-B9mFb_La.js.map +0 -1
  541. package/lib/esm/CheckboxStyles-n0dZUWcQ.js.map +0 -1
  542. package/lib/esm/ClickOutHandler-BC-P0Ij9.js.map +0 -1
  543. package/lib/esm/Close-CicbmKWl.js.map +0 -1
  544. package/lib/esm/ColorButton-CR0v4h8V.js.map +0 -1
  545. package/lib/esm/ColorDotDropdown-DT8QFhSR.js.map +0 -1
  546. package/lib/esm/ColorPicker-B0Tuh3Rz.js.map +0 -1
  547. package/lib/esm/ColorPickerMenu-CLSbtm7R.js.map +0 -1
  548. package/lib/esm/ConfigurableInput-Jv3GVK5Q.js.map +0 -1
  549. package/lib/esm/ConfirmModal-Big7bvo9.js.map +0 -1
  550. package/lib/esm/CountyDropdown-D1kp7m1F.js.map +0 -1
  551. package/lib/esm/CreditCardInput-oAP7rVHL.js.map +0 -1
  552. package/lib/esm/CurrencyInput-p1KwvN9e.js.map +0 -1
  553. package/lib/esm/Delete-CMJExhyT.js.map +0 -1
  554. package/lib/esm/DescriptiveSwitchMenu-DRBUVcRQ.js.map +0 -1
  555. package/lib/esm/DescriptiveSwitchMenuStyles-xYSR0MK8.js.map +0 -1
  556. package/lib/esm/DrawerDivider-DvBgszbH.js.map +0 -1
  557. package/lib/esm/DropdownButton-D-Y0v1wd.js.map +0 -1
  558. package/lib/esm/DropdownInput-BjKcBksF.js.map +0 -1
  559. package/lib/esm/DropdownInputStyles-ZK_QJGAg.js.map +0 -1
  560. package/lib/esm/EmailInput-DwCmNY4u.js.map +0 -1
  561. package/lib/esm/FiltersBar-Bcoyn0dn.js.map +0 -1
  562. package/lib/esm/IconButton-E4owK8Nt.js.map +0 -1
  563. package/lib/esm/IconComponentStyles-BBt1vuNf.js.map +0 -1
  564. package/lib/esm/IconTile-aUuzZ9RD.js.map +0 -1
  565. package/lib/esm/InlineCurrencyInput-DdD60vXr.js.map +0 -1
  566. package/lib/esm/InlineDropdown-D5Hb_kYI.js.map +0 -1
  567. package/lib/esm/InlineEmailInput-G3IrZCur.js.map +0 -1
  568. package/lib/esm/InlinePhoneInput-C6RRWhkg.js.map +0 -1
  569. package/lib/esm/Input-DUMWuiRL.js.map +0 -1
  570. package/lib/esm/LoadingEllipsis-C1NXXo2M.js.map +0 -1
  571. package/lib/esm/LogoSidebar-CkljY9N_.js.map +0 -1
  572. package/lib/esm/MoreMenuButton-AVBRmQRG.js.map +0 -1
  573. package/lib/esm/MultiSelect-BXptGI3E.js.map +0 -1
  574. package/lib/esm/Orders-CAyQpS41.js.map +0 -1
  575. package/lib/esm/PhoneInput-GKg1Jvt5.js.map +0 -1
  576. package/lib/esm/PieChart-d3DIlqrL.js.map +0 -1
  577. package/lib/esm/RJSForm-CmC7D1VW.js +0 -433
  578. package/lib/esm/RJSForm-CmC7D1VW.js.map +0 -1
  579. package/lib/esm/RJSForm.js +0 -103
  580. package/lib/esm/RJSForm.js.map +0 -1
  581. package/lib/esm/Radio-DkEF92KD.js.map +0 -1
  582. package/lib/esm/RadioGroup-FQMelcMT.js.map +0 -1
  583. package/lib/esm/RadioItem-Re2hfx_M.js.map +0 -1
  584. package/lib/esm/RadioStyles-BE77MqVD.js.map +0 -1
  585. package/lib/esm/SearchInput-2TWxL_-B.js.map +0 -1
  586. package/lib/esm/SingleButton-CEtpKZoX.js.map +0 -1
  587. package/lib/esm/StateDropdown-BbGIVIz2.js.map +0 -1
  588. package/lib/esm/StatusDropdown-ChatNlr4.js.map +0 -1
  589. package/lib/esm/Switches-B1THrHNf.js.map +0 -1
  590. package/lib/esm/TableFiltersPanel-BJDOnRCp.js.map +0 -1
  591. package/lib/esm/Toggle-BIsx-FLR.js.map +0 -1
  592. package/lib/esm/ToggleButtons-CDss-zU6.js.map +0 -1
  593. package/lib/esm/ToggleGroup-Bs_T_LX7.js.map +0 -1
  594. package/lib/esm/ToggleItem-DVT9aKc8.js.map +0 -1
  595. package/lib/esm/ToggleStyles-C0cPBGbD.js.map +0 -1
  596. package/lib/esm/TooltipOptions-CD4kY-7-.js.map +0 -1
  597. package/lib/esm/TooltipOptionsStyles-CvVQ-ziJ.js.map +0 -1
  598. package/lib/esm/Truncate-70b6FNIJ.js.map +0 -1
  599. package/lib/esm/Typography-B_i-tRD0.js.map +0 -1
  600. package/lib/esm/Volunteer-MeQItm7s.js.map +0 -1
  601. package/lib/esm/Warning-8SRRDb85.js.map +0 -1
  602. package/lib/esm/filtering-D9dGwiF6.js.map +0 -1
  603. package/lib/esm/showLabel-ClIsfTyB.js.map +0 -1
  604. package/lib/esm/types-BkWfiz7J.js +0 -15
  605. package/lib/esm/types-BkWfiz7J.js.map +0 -1
  606. package/lib/types/src/components/RJSForm/RJSForm.d.ts +0 -3
  607. package/lib/types/src/components/RJSForm/RJSFormStyles.d.ts +0 -10
  608. package/lib/types/src/components/RJSForm/const.d.ts +0 -3
  609. package/lib/types/src/components/RJSForm/fields/ArrayField.d.ts +0 -2
  610. package/lib/types/src/components/RJSForm/fields/CheckboxField.d.ts +0 -20
  611. package/lib/types/src/components/RJSForm/fields/DateField.d.ts +0 -20
  612. package/lib/types/src/components/RJSForm/fields/FileField.d.ts +0 -20
  613. package/lib/types/src/components/RJSForm/fields/HiddenField.d.ts +0 -25
  614. package/lib/types/src/components/RJSForm/fields/NumberField.d.ts +0 -20
  615. package/lib/types/src/components/RJSForm/fields/ObjectField.d.ts +0 -1
  616. package/lib/types/src/components/RJSForm/fields/PhoneField.d.ts +0 -13
  617. package/lib/types/src/components/RJSForm/fields/SelectField.d.ts +0 -20
  618. package/lib/types/src/components/RJSForm/fields/TextField.d.ts +0 -20
  619. package/lib/types/src/components/RJSForm/fields/index.d.ts +0 -16
  620. package/lib/types/src/components/RJSForm/helpers.d.ts +0 -5
  621. package/lib/types/src/components/RJSForm/index.d.ts +0 -5
  622. package/lib/types/src/components/RJSForm/mocks/array.d.ts +0 -2
  623. package/lib/types/src/components/RJSForm/mocks/covidExemption.d.ts +0 -2
  624. package/lib/types/src/components/RJSForm/mocks/covidVaccination.d.ts +0 -2
  625. package/lib/types/src/components/RJSForm/mocks/fileField.d.ts +0 -4
  626. package/lib/types/src/components/RJSForm/mocks/fluExemption.d.ts +0 -2
  627. package/lib/types/src/components/RJSForm/mocks/fluVaccination.d.ts +0 -2
  628. package/lib/types/src/components/RJSForm/mocks/hello.d.ts +0 -10
  629. package/lib/types/src/components/RJSForm/types.d.ts +0 -44
@@ -11,7 +11,6 @@ require('./Inputs-C0rtyojv.js');
11
11
  var helpers = require('./helpers-C-IoiH8X.js');
12
12
  var isEmptyObject = require('./isEmptyObject.cjs');
13
13
  var dayjs = require('dayjs');
14
- var types = require('./types-5wgDsApd.js');
15
14
 
16
15
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
17
16
 
@@ -98,22 +97,35 @@ function formatDate(unknownStringOrNumber, dateFormat) {
98
97
  return unknownStringOrNumber;
99
98
  }
100
99
 
100
+ var RJSFormFields;
101
+ (function (RJSFormFields) {
102
+ RJSFormFields["Array"] = "Array";
103
+ RJSFormFields["Checkbox"] = "Checkbox";
104
+ RJSFormFields["Date"] = "Date";
105
+ RJSFormFields["Hidden"] = "Hidden";
106
+ RJSFormFields["Number"] = "Number";
107
+ RJSFormFields["Phone"] = "Phone";
108
+ RJSFormFields["Select"] = "Select";
109
+ RJSFormFields["Text"] = "Text";
110
+ RJSFormFields["File"] = "File";
111
+ })(RJSFormFields || (RJSFormFields = {}));
112
+
101
113
  var isCheckbox = function (_a) {
102
114
  var _b;
103
115
  var uiSchema = _a.uiSchema, name = _a.name, type = _a.type;
104
- return (uiSchema && ((_b = uiSchema[name]) === null || _b === void 0 ? void 0 : _b["ui:field"]) === types.RJSFormFields.Checkbox) || type === "boolean";
116
+ return (uiSchema && ((_b = uiSchema[name]) === null || _b === void 0 ? void 0 : _b["ui:field"]) === RJSFormFields.Checkbox) || type === "boolean";
105
117
  };
106
118
 
107
119
  var isDate = function (_a) {
108
120
  var _b;
109
121
  var uiSchema = _a.uiSchema, name = _a.name, type = _a.type;
110
- return !!(uiSchema && ((_b = uiSchema[name]) === null || _b === void 0 ? void 0 : _b["ui:field"]) === types.RJSFormFields.Date) && type === "string";
122
+ return !!(uiSchema && ((_b = uiSchema[name]) === null || _b === void 0 ? void 0 : _b["ui:field"]) === RJSFormFields.Date) && type === "string";
111
123
  };
112
124
 
113
125
  var isPhone = function (_a) {
114
126
  var _b;
115
127
  var uiSchema = _a.uiSchema, name = _a.name, type = _a.type;
116
- return !!(uiSchema && ((_b = uiSchema[name]) === null || _b === void 0 ? void 0 : _b["ui:field"]) === types.RJSFormFields.Phone) && type === "string";
128
+ return !!(uiSchema && ((_b = uiSchema[name]) === null || _b === void 0 ? void 0 : _b["ui:field"]) === RJSFormFields.Phone) && type === "string";
117
129
  };
118
130
 
119
131
  function orderSchemaKeys(_a) {
@@ -194,4 +206,4 @@ var RJSFormRenderer = function (_a) {
194
206
  };
195
207
 
196
208
  exports.RJSFormRenderer = RJSFormRenderer;
197
- //# sourceMappingURL=RJSFormRenderer-DEbHQ_kY.js.map
209
+ //# sourceMappingURL=RJSFormRenderer-DkuTGTRg.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RJSFormRenderer-D0CSfA10.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"RJSFormRenderer-DkuTGTRg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var RJSFormRenderer = require('./RJSFormRenderer-DEbHQ_kY.js');
3
+ var RJSFormRenderer = require('./RJSFormRenderer-DkuTGTRg.js');
4
4
  require('react/jsx-runtime');
5
5
  require('react');
6
6
  require('./_tslib-D1hVYMxL.js');
@@ -13,7 +13,6 @@ require('./helpers-C-IoiH8X.js');
13
13
  require('./northAmericanPhoneMask.cjs');
14
14
  require('./isEmptyObject.cjs');
15
15
  require('dayjs');
16
- require('./types-5wgDsApd.js');
17
16
 
18
17
 
19
18
 
@@ -1 +1 @@
1
- {"version":3,"file":"RJSFormRenderer.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"RJSFormRenderer.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
@@ -3,6 +3,7 @@
3
3
  var _tslib = require('./_tslib-D1hVYMxL.js');
4
4
  var jsxRuntime = require('react/jsx-runtime');
5
5
  var React = require('react');
6
+ var styled = require('styled-components');
6
7
  var Avatar = require('./Avatar-BKFQ9CRV.js');
7
8
  var getInitialsOnly = require('./getInitialsOnly.cjs');
8
9
  var colors = require('./colors.cjs');
@@ -12,26 +13,31 @@ var CheckmarkCircle = require('./CheckmarkCircle.cjs');
12
13
  var LogOut = require('./LogOut.cjs');
13
14
  var TruncatePicker = require('./TruncatePicker-Jj0nb9la.js');
14
15
  var gradients = require('./gradients.cjs');
15
- var styled = require('styled-components');
16
+ var useMeasureWatchResize = require('./useMeasureWatchResize-CU_JgvQD.js');
16
17
  var BodyLEmphasis = require('./BodyLEmphasis.cjs');
17
18
  var Loading = require('./Loading.cjs');
18
19
  var Scroller = require('./Scroller.cjs');
19
20
  var focusAfter = require('./focusAfter.cjs');
21
+ var isEmptyObject = require('./isEmptyObject.cjs');
22
+ var SearchInput = require('./SearchInput-C_l6yEs0.js');
20
23
  require('./colors-BudXQEyU.js');
21
24
  require('./Truncate-DSAmkPQL.js');
22
25
  require('./getPosition.cjs');
23
26
  require('./useIsomorphicLayoutEffect-kdlV9QVN.js');
24
- require('./isEmptyObject.cjs');
25
27
  require('./useMeasure-CDq3dPfD.js');
26
28
  require('./addOrRemoveById.cjs');
27
29
  require('dayjs');
30
+ require('./IconButton-CQJHjOTO.js');
31
+ require('./ButtonColorFamilyEnum.cjs');
32
+ require('./Search.cjs');
33
+ require('./InlineInput-Ct3Zz8pE.js');
34
+ require('./CloseCircle.cjs');
35
+ require('./Inputs-C0rtyojv.js');
28
36
 
29
- function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
30
-
31
- var React__default = /*#__PURE__*/_interopDefault(React);
32
-
33
- var SIGN_OUT_HEIGHT = 90;
34
- var UserCardBase = styled.styled.div(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n max-height: calc(100% - 20px);\n position: relative;\n border-radius: ", "px;\n background-color: ", ";\n box-shadow: ", ";\n width: ", ";\n"], ["\n display: flex;\n flex-direction: column;\n max-height: calc(100% - 20px);\n position: relative;\n border-radius: ", "px;\n background-color: ", ";\n box-shadow: ", ";\n width: ", ";\n"])), function (_a) {
37
+ var USER_DETAILS_PADDING = 21;
38
+ var BASE_HEIGHT_OFFSET = 20;
39
+ var ORG_SCROLLER_PADDING = 16;
40
+ var UserCardBase = styled.styled.div(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n max-height: calc(100% - ", "px);\n position: relative;\n border-radius: ", "px;\n background-color: ", ";\n box-shadow: ", ";\n width: ", ";\n"], ["\n display: flex;\n flex-direction: column;\n max-height: calc(100% - ", "px);\n position: relative;\n border-radius: ", "px;\n background-color: ", ";\n box-shadow: ", ";\n width: ", ";\n"])), BASE_HEIGHT_OFFSET, function (_a) {
35
41
  var $themeOverride = _a.$themeOverride, theme = _a.theme;
36
42
  return ($themeOverride === null || $themeOverride === void 0 ? void 0 : $themeOverride.cardBorderRadius) || theme.userCard.cardBorderRadius;
37
43
  }, function (_a) {
@@ -65,10 +71,13 @@ var AvatarWrapper = styled.styled.div(templateObject_3 || (templateObject_3 = _t
65
71
  var $themeOverride = _a.$themeOverride, theme = _a.theme;
66
72
  return ($themeOverride === null || $themeOverride === void 0 ? void 0 : $themeOverride.avatarSize) || theme.userCard.avatarSize;
67
73
  });
68
- var UserDetails = styled.styled(Scroller.Scroller)(templateObject_4 || (templateObject_4 = _tslib.__makeTemplateObject(["\n position: relative;\n padding: 21px 42px 37px;\n overflow: auto;\n max-height: ", ";\n"], ["\n position: relative;\n padding: 21px 42px 37px;\n overflow: auto;\n max-height: ", ";\n"])), function (_a) {
69
- var $hasSignOut = _a.$hasSignOut, $topOffset = _a.$topOffset, $themeOverride = _a.$themeOverride, theme = _a.theme;
70
- return "calc(90vh - (".concat(($themeOverride === null || $themeOverride === void 0 ? void 0 : $themeOverride.gradientSectionHeight) || theme.userCard.gradientSectionHeight, "px + ").concat($topOffset || 0, "px + ").concat($hasSignOut ? SIGN_OUT_HEIGHT : 0, "px))");
71
- });
74
+ var UserDetails = styled.styled(Scroller.Scroller)(templateObject_4 || (templateObject_4 = _tslib.__makeTemplateObject(["\n max-height: ", ";\n overflow-y: ", ";\n padding-top: ", "px;\n position: relative;\n"], ["\n max-height: ", ";\n overflow-y: ", ";\n padding-top: ", "px;\n position: relative;\n"])), function (_a) {
75
+ var $heightOffset = _a.$heightOffset;
76
+ return "calc(90vh - ".concat($heightOffset, "px)");
77
+ }, function (_a) {
78
+ var $isScroller = _a.$isScroller;
79
+ return ($isScroller ? "auto" : "hidden");
80
+ }, USER_DETAILS_PADDING);
72
81
  var Name = styled.styled(BodyLEmphasis.BodyLEmphasis)(templateObject_5 || (templateObject_5 = _tslib.__makeTemplateObject(["\n color: ", ";\n height: ", ";\n line-height: 24px;\n margin-bottom: ", "px;\n margin-top: ", "px;\n width: ", ";\n ", ";\n"], ["\n color: ", ";\n height: ", ";\n line-height: 24px;\n margin-bottom: ", "px;\n margin-top: ", "px;\n width: ", ";\n ", ";\n"])), function (_a) {
73
82
  var $isLoading = _a.$isLoading, theme = _a.theme, $themeOverride = _a.$themeOverride;
74
83
  return ($isLoading ? "transparent" : ($themeOverride === null || $themeOverride === void 0 ? void 0 : $themeOverride.textColor) || theme.userCard.textColor);
@@ -104,15 +113,26 @@ var Email = styled.styled(BodyLEmphasis.BodyMPrimary)(templateObject_6 || (templ
104
113
  var $isLoading = _a.$isLoading;
105
114
  return $isLoading && Loading.loadingPseudo({});
106
115
  });
116
+ var OptionsBox = styled.styled.div(templateObject_7 || (templateObject_7 = _tslib.__makeTemplateObject(["\n\tmargin-top: 27px;\n\tpadding-bottom: 10px;\n"], ["\n\tmargin-top: 27px;\n\tpadding-bottom: 10px;\n"])));
117
+ var ScrollingGroup = styled.styled(Scroller.Scroller)(templateObject_8 || (templateObject_8 = _tslib.__makeTemplateObject(["\n\theight: ", ";\n\toverflow-y: ", ";\n\tpadding: 0px 42px ", "px;\n\tposition: relative;\n\t"], ["\n\theight: ", ";\n\toverflow-y: ", ";\n\tpadding: 0px 42px ", "px;\n\tposition: relative;\n\t"])), function (_a) {
118
+ var $isScroller = _a.$isScroller, $scrollerHeight = _a.$scrollerHeight;
119
+ return ($isScroller ? "".concat($scrollerHeight, "px") : "auto");
120
+ }, function (_a) {
121
+ var $isScroller = _a.$isScroller;
122
+ return ($isScroller ? "auto" : "hidden");
123
+ }, ORG_SCROLLER_PADDING);
124
+ var NonScrollingGroup = styled.styled.div(templateObject_9 || (templateObject_9 = _tslib.__makeTemplateObject(["\n\tpadding: 0px 42px;\n\tposition: relative;\n"], ["\n\tpadding: 0px 42px;\n\tposition: relative;\n"])));
125
+ var SearchGroup = styled.styled.div(templateObject_10 || (templateObject_10 = _tslib.__makeTemplateObject(["\n\talign-items: center;\n\tdisplay: flex;\n\tjustify-content: space-between;\n\tmargin: 0 -7px;\n\toverflow: hidden;\n\tpadding-bottom: 15px;\n\tposition: relative;\n\twidth: 320px;\n\t"], ["\n\talign-items: center;\n\tdisplay: flex;\n\tjustify-content: space-between;\n\tmargin: 0 -7px;\n\toverflow: hidden;\n\tpadding-bottom: 15px;\n\tposition: relative;\n\twidth: 320px;\n\t"])));
126
+ var SearchText = styled.styled(BodyLEmphasis.BodyMSecondary)(templateObject_11 || (templateObject_11 = _tslib.__makeTemplateObject(["\n\tcolor: ", ";\n"], ["\n\tcolor: ", ";\n"])), colors.colors.COOL_GREY_65);
107
127
  // ------ dividers ------
108
- var Divider = styled.styled.hr(templateObject_7 || (templateObject_7 = _tslib.__makeTemplateObject(["\n background-color: ", ";\n border: none;\n height: 1px;\n margin: ", ";\n outline: none;\n"], ["\n background-color: ", ";\n border: none;\n height: 1px;\n margin: ", ";\n outline: none;\n"])), function (_a) {
128
+ var Divider = styled.styled.hr(templateObject_12 || (templateObject_12 = _tslib.__makeTemplateObject(["\n background-color: ", ";\n border: none;\n height: 1px;\n margin: ", ";\n outline: none;\n"], ["\n background-color: ", ";\n border: none;\n height: 1px;\n margin: ", ";\n outline: none;\n"])), function (_a) {
109
129
  var $themeOverride = _a.$themeOverride, theme = _a.theme;
110
130
  return ($themeOverride === null || $themeOverride === void 0 ? void 0 : $themeOverride.dividerColor) || theme.userCard.dividerColor;
111
131
  }, function (_a) {
112
132
  var $bottomMargin = _a.$bottomMargin, $topMargin = _a.$topMargin;
113
133
  return "".concat($topMargin || 0, "px -7px ").concat($bottomMargin || 0, "px");
114
134
  });
115
- var Option = styled.styled.div(templateObject_8 || (templateObject_8 = _tslib.__makeTemplateObject(["\n align-items: center;\n cursor: pointer;\n display: flex;\n gap: ", "px;\n margin-bottom: ", "px;\n position: relative;\n ", ";\n height: ", ";\n width: ", ";\n ", ";\n z-index: 1;\n &:after {\n content: \"\";\n background-color: transparent;\n border-radius: 4px;\n bottom: -7px;\n left: -10px;\n position: absolute;\n right: -10px;\n top: -7px;\n transition: background-color 350ms ease-out 50ms;\n z-index: -1;\n }\n &:hover {\n &:after {\n background-color: ", ";\n }\n }\n &:active {\n top: 1px;\n }\n"], ["\n align-items: center;\n cursor: pointer;\n display: flex;\n gap: ", "px;\n margin-bottom: ", "px;\n position: relative;\n ", ";\n height: ", ";\n width: ", ";\n ", ";\n z-index: 1;\n &:after {\n content: \"\";\n background-color: transparent;\n border-radius: 4px;\n bottom: -7px;\n left: -10px;\n position: absolute;\n right: -10px;\n top: -7px;\n transition: background-color 350ms ease-out 50ms;\n z-index: -1;\n }\n &:hover {\n &:after {\n background-color: ", ";\n }\n }\n &:active {\n top: 1px;\n }\n"])), function (_a) {
135
+ var Option = styled.styled.div(templateObject_13 || (templateObject_13 = _tslib.__makeTemplateObject(["\n align-items: center;\n cursor: pointer;\n display: flex;\n gap: ", "px;\n margin-bottom: ", "px;\n position: relative;\n ", ";\n height: ", ";\n width: ", ";\n ", ";\n z-index: 1;\n &:after {\n content: \"\";\n background-color: transparent;\n border-radius: 4px;\n bottom: -7px;\n left: -10px;\n position: absolute;\n right: -10px;\n top: -7px;\n transition: background-color 350ms ease-out 50ms;\n z-index: -1;\n }\n &:hover {\n &:after {\n background-color: ", ";\n }\n }\n &:active {\n top: 1px;\n }\n"], ["\n align-items: center;\n cursor: pointer;\n display: flex;\n gap: ", "px;\n margin-bottom: ", "px;\n position: relative;\n ", ";\n height: ", ";\n width: ", ";\n ", ";\n z-index: 1;\n &:after {\n content: \"\";\n background-color: transparent;\n border-radius: 4px;\n bottom: -7px;\n left: -10px;\n position: absolute;\n right: -10px;\n top: -7px;\n transition: background-color 350ms ease-out 50ms;\n z-index: -1;\n }\n &:hover {\n &:after {\n background-color: ", ";\n }\n }\n &:active {\n top: 1px;\n }\n"])), function (_a) {
116
136
  var $iconSize = _a.$iconSize;
117
137
  return 29 - ($iconSize || 16);
118
138
  }, function (_a) {
@@ -134,25 +154,25 @@ var Option = styled.styled.div(templateObject_8 || (templateObject_8 = _tslib.__
134
154
  var $themeOverride = _a.$themeOverride, theme = _a.theme;
135
155
  return ($themeOverride === null || $themeOverride === void 0 ? void 0 : $themeOverride.linkHoverColor) || theme.userCard.linkHoverColor;
136
156
  });
137
- var OptionIconBox = styled.styled.div(templateObject_9 || (templateObject_9 = _tslib.__makeTemplateObject(["\n align-items: center;\n display: flex;\n justify-content: center;\n height: ", "px;\n width: ", "px;\n"], ["\n align-items: center;\n display: flex;\n justify-content: center;\n height: ", "px;\n width: ", "px;\n"])), function (_a) {
157
+ var OptionIconBox = styled.styled.div(templateObject_14 || (templateObject_14 = _tslib.__makeTemplateObject(["\n align-items: center;\n display: flex;\n justify-content: center;\n height: ", "px;\n width: ", "px;\n"], ["\n align-items: center;\n display: flex;\n justify-content: center;\n height: ", "px;\n width: ", "px;\n"])), function (_a) {
138
158
  var $iconSize = _a.$iconSize;
139
159
  return $iconSize || 16;
140
160
  }, function (_a) {
141
161
  var $iconSize = _a.$iconSize;
142
162
  return $iconSize || 16;
143
163
  });
144
- var OptionIcon = styled.styled.div(templateObject_10 || (templateObject_10 = _tslib.__makeTemplateObject(["\n height: ", "px;\n width: ", "px;\n"], ["\n height: ", "px;\n width: ", "px;\n"])), function (_a) {
164
+ var OptionIcon = styled.styled.div(templateObject_15 || (templateObject_15 = _tslib.__makeTemplateObject(["\n height: ", "px;\n width: ", "px;\n"], ["\n height: ", "px;\n width: ", "px;\n"])), function (_a) {
145
165
  var $iconSize = _a.$iconSize;
146
166
  return $iconSize || 16;
147
167
  }, function (_a) {
148
168
  var $iconSize = _a.$iconSize;
149
169
  return $iconSize || 16;
150
170
  });
151
- var OptionText = styled.styled(BodyLEmphasis.BodySSemiBold)(templateObject_11 || (templateObject_11 = _tslib.__makeTemplateObject(["\n color: ", ";\n white-space: normal;\n text-overflow: ellipsis;\n overflow: hidden;\n padding-right: 5px;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n word-break: break-word;\n\toverflow-wrap: break-word;\n"], ["\n color: ", ";\n white-space: normal;\n text-overflow: ellipsis;\n overflow: hidden;\n padding-right: 5px;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n word-break: break-word;\n\toverflow-wrap: break-word;\n"])), function (_a) {
171
+ var OptionText = styled.styled(BodyLEmphasis.BodySSemiBold)(templateObject_16 || (templateObject_16 = _tslib.__makeTemplateObject(["\n color: ", ";\n padding-right: 5px;\n"], ["\n color: ", ";\n padding-right: 5px;\n"])), function (_a) {
152
172
  var theme = _a.theme, $themeOverride = _a.$themeOverride;
153
173
  return ($themeOverride === null || $themeOverride === void 0 ? void 0 : $themeOverride.textColor) || theme.userCard.textColor;
154
174
  });
155
- var Organization = styled.styled.div(templateObject_12 || (templateObject_12 = _tslib.__makeTemplateObject(["\n align-items: center;\n background-color: transparent;\n border: 1px solid ", ";\n border-radius: 4px;\n cursor: ", ";\n display: flex;\n ", ";\n gap: 14px;\n height: ", "px;\n margin-bottom: ", "px;\n margin-left: -7px;\n margin-right: -7px;\n padding-left: ", "px;\n pointer-events: ", ";\n position: relative;\n ", ";\n &:hover {\n background-color: ", ";\n }\n &:active {\n top: 1px;\n }\n"], ["\n align-items: center;\n background-color: transparent;\n border: 1px solid ", ";\n border-radius: 4px;\n cursor: ", ";\n display: flex;\n ", ";\n gap: 14px;\n height: ", "px;\n margin-bottom: ", "px;\n margin-left: -7px;\n margin-right: -7px;\n padding-left: ", "px;\n pointer-events: ", ";\n position: relative;\n ", ";\n &:hover {\n background-color: ", ";\n }\n &:active {\n top: 1px;\n }\n"])), function (_a) {
175
+ var Organization = styled.styled.div(templateObject_17 || (templateObject_17 = _tslib.__makeTemplateObject(["\n align-items: center;\n background-color: transparent;\n border: 1px solid ", ";\n border-radius: 4px;\n cursor: ", ";\n display: flex;\n ", ";\n gap: 14px;\n height: ", "px;\n margin-bottom: ", "px;\n margin-left: ", "px;\n margin-right: ", "px;\n padding-left: ", "px;\n pointer-events: ", ";\n position: relative;\n ", ";\n &:hover {\n background-color: ", ";\n }\n &:active {\n top: 1px;\n }\n"], ["\n align-items: center;\n background-color: transparent;\n border: 1px solid ", ";\n border-radius: 4px;\n cursor: ", ";\n display: flex;\n ", ";\n gap: 14px;\n height: ", "px;\n margin-bottom: ", "px;\n margin-left: ", "px;\n margin-right: ", "px;\n padding-left: ", "px;\n pointer-events: ", ";\n position: relative;\n ", ";\n &:hover {\n background-color: ", ";\n }\n &:active {\n top: 1px;\n }\n"])), function (_a) {
156
176
  var $isActive = _a.$isActive;
157
177
  return ($isActive ? colors.colors.BLUE_25 : "transparent");
158
178
  }, function (_a) {
@@ -167,6 +187,12 @@ var Organization = styled.styled.div(templateObject_12 || (templateObject_12 = _
167
187
  }, function (_a) {
168
188
  var $isLoading = _a.$isLoading, $noBottomMargin = _a.$noBottomMargin;
169
189
  return ($noBottomMargin ? ($isLoading ? 2 : 0) : $isLoading ? 27 : 5);
190
+ }, function (_a) {
191
+ var $isLoading = _a.$isLoading;
192
+ return ($isLoading ? 0 : -7);
193
+ }, function (_a) {
194
+ var $isLoading = _a.$isLoading;
195
+ return ($isLoading ? 0 : -7);
170
196
  }, function (_a) {
171
197
  var $hasIcon = _a.$hasIcon;
172
198
  return ($hasIcon ? 7 : 21);
@@ -180,20 +206,19 @@ var Organization = styled.styled.div(templateObject_12 || (templateObject_12 = _
180
206
  var $themeOverride = _a.$themeOverride, theme = _a.theme;
181
207
  return ($themeOverride === null || $themeOverride === void 0 ? void 0 : $themeOverride.linkHoverColor) || theme.userCard.linkHoverColor;
182
208
  });
183
- var OrganizationIconBox = styled.styled(OptionIconBox)(templateObject_13 || (templateObject_13 = _tslib.__makeTemplateObject(["\n height: ", "px;\n width: 36px;\n flex-shrink: 0;\n"], ["\n height: ", "px;\n width: 36px;\n flex-shrink: 0;\n"])), function (_a) {
209
+ var OrganizationIconBox = styled.styled(OptionIconBox)(templateObject_18 || (templateObject_18 = _tslib.__makeTemplateObject(["\n height: ", "px;\n width: 36px;\n flex-shrink: 0;\n"], ["\n height: ", "px;\n width: 36px;\n flex-shrink: 0;\n"])), function (_a) {
184
210
  var $iconSize = _a.$iconSize;
185
211
  return $iconSize || 36;
186
212
  });
187
- var OrganizationIcon = styled.styled.div(templateObject_14 || (templateObject_14 = _tslib.__makeTemplateObject(["\n height: ", "px;\n width: ", "px;\n"], ["\n height: ", "px;\n width: ", "px;\n"])), function (_a) {
213
+ var OrganizationIcon = styled.styled.div(templateObject_19 || (templateObject_19 = _tslib.__makeTemplateObject(["\n height: ", "px;\n width: ", "px;\n"], ["\n height: ", "px;\n width: ", "px;\n"])), function (_a) {
188
214
  var $iconSize = _a.$iconSize;
189
215
  return $iconSize || 36;
190
216
  }, function (_a) {
191
217
  var $iconSize = _a.$iconSize;
192
218
  return $iconSize || 36;
193
219
  });
194
- var ActiveIcon = styled.styled.div(templateObject_15 || (templateObject_15 = _tslib.__makeTemplateObject(["\n height: 15px;\n margin: 0 10px 0 auto;\n width: 15px;\n flex-shrink: 0;\n"], ["\n height: 15px;\n margin: 0 10px 0 auto;\n width: 15px;\n flex-shrink: 0;\n"])));
195
- var NegativeCreep = styled.styled.div(templateObject_16 || (templateObject_16 = _tslib.__makeTemplateObject(["\n margin: 0 -11px;\n"], ["\n margin: 0 -11px;\n"])));
196
- var SignOutWrapper = styled.styled.div(templateObject_17 || (templateObject_17 = _tslib.__makeTemplateObject(["\n background-color: ", ";\n padding: 0 42px 30px;\n z-index: 2;\n border-radius: 0 0\n ", ";\n"], ["\n background-color: ", ";\n padding: 0 42px 30px;\n z-index: 2;\n border-radius: 0 0\n ", ";\n"])), function (_a) {
220
+ var ActiveIcon = styled.styled.div(templateObject_20 || (templateObject_20 = _tslib.__makeTemplateObject(["\n height: 15px;\n margin: 0 10px 0 auto;\n width: 15px;\n flex-shrink: 0;\n"], ["\n height: 15px;\n margin: 0 10px 0 auto;\n width: 15px;\n flex-shrink: 0;\n"])));
221
+ var SignOutWrapper = styled.styled.div(templateObject_21 || (templateObject_21 = _tslib.__makeTemplateObject(["\n background-color: ", ";\n padding: 0 42px 30px;\n z-index: 2;\n border-radius: 0 0\n ", ";\n"], ["\n background-color: ", ";\n padding: 0 42px 30px;\n z-index: 2;\n border-radius: 0 0\n ", ";\n"])), function (_a) {
197
222
  var $themeOverride = _a.$themeOverride, theme = _a.theme;
198
223
  return ($themeOverride === null || $themeOverride === void 0 ? void 0 : $themeOverride.backgroundColor) || theme.userCard.backgroundColor;
199
224
  }, function (_a) {
@@ -202,16 +227,45 @@ var SignOutWrapper = styled.styled.div(templateObject_17 || (templateObject_17 =
202
227
  ? "".concat($themeOverride === null || $themeOverride === void 0 ? void 0 : $themeOverride.cardBorderRadius, "px ").concat($themeOverride === null || $themeOverride === void 0 ? void 0 : $themeOverride.cardBorderRadius, "px")
203
228
  : "".concat(theme.userCard.cardBorderRadius, "px ").concat(theme.userCard.cardBorderRadius, "px");
204
229
  });
205
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17;
230
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21;
206
231
 
207
- var OPTIONS_DIVIDER_ID = "optionsDivider";
232
+ var ORGS_DIVIDER_ID = "orgsDivider";
208
233
  var SIGN_OUT_DIVIDER_ID = "signOutDivider";
209
234
  var SIGN_OUT_TEXT = "Sign Out";
210
- var ELEMENTS_DIVIDER_ID = "elementsDivider";
211
235
 
236
+ function getWindowDimensions() {
237
+ var height = isEmptyObject.isBrowser ? window.innerHeight : 0;
238
+ var width = isEmptyObject.isBrowser ? window.innerWidth : 0;
239
+ return {
240
+ width: width,
241
+ height: height,
242
+ };
243
+ }
244
+ function useWindowDimensions() {
245
+ var _a = React.useState(getWindowDimensions()), windowDimensions = _a[0], setWindowDimensions = _a[1];
246
+ React.useEffect(function () {
247
+ function handleResize() {
248
+ setWindowDimensions(isEmptyObject.isBrowser ? getWindowDimensions() : { height: 0, width: 0 });
249
+ }
250
+ window === null || window === void 0 ? void 0 : window.addEventListener("resize", handleResize);
251
+ return function () { return window === null || window === void 0 ? void 0 : window.removeEventListener("resize", handleResize); };
252
+ }, []);
253
+ return windowDimensions;
254
+ }
255
+
256
+ // This returns a number that is the nearest number of whole rows that fits inside of space, plus 0.5 rows. This is so that it will be obvious that the container will scroll.
257
+ var findOptimalScrollingheight = function (_a) {
258
+ var space = _a.space, row = _a.row;
259
+ var numberOfRows = Math.floor(space / row);
260
+ var optimalHeight = (numberOfRows + 0.5) * row;
261
+ return optimalHeight;
262
+ };
263
+
264
+ var FLUFF = 25; // Something is off in the measurements. This corrects it. It may be a Storybook issue.
265
+ var SIGN_OUT_HEIGHT = 80;
212
266
  var UserCard = function (_a) {
213
267
  var _b, _c, _d;
214
- var activeOrg = _a.activeOrg, avatarImageUrl = _a.avatarImageUrl, children = _a.children, _e = _a.isLoading, isLoading = _e === void 0 ? false : _e, isVisible = _a.isVisible, loopTabing = _a.loopTabing, options = _a.options, onEsc = _a.onEsc, onSignOut = _a.onSignOut, organizations = _a.organizations, topOffset = _a.topOffset, userEmail = _a.userEmail, userName = _a.userName, themeOverride = _a.themeOverride;
268
+ var activeOrg = _a.activeOrg, avatarImageUrl = _a.avatarImageUrl, _e = _a.isLoading, isLoading = _e === void 0 ? false : _e, isVisible = _a.isVisible, loopTabing = _a.loopTabing, options = _a.options, onEsc = _a.onEsc, onSignOut = _a.onSignOut, organizations = _a.organizations, _f = _a.orgSearchThreshold, orgSearchThreshold = _f === void 0 ? 10 : _f, topOffset = _a.topOffset, userEmail = _a.userEmail, userName = _a.userName, themeOverride = _a.themeOverride;
215
269
  var baseRef = React.useRef(null);
216
270
  var hasOptions = ((_b = options === null || options === void 0 ? void 0 : options.length) !== null && _b !== void 0 ? _b : 0) > 0;
217
271
  var hasOrgs = ((_c = organizations === null || organizations === void 0 ? void 0 : organizations.length) !== null && _c !== void 0 ? _c : 0) > 0;
@@ -226,6 +280,49 @@ var UserCard = function (_a) {
226
280
  borderRadius: themeOverride.avatarBorderRadius,
227
281
  }
228
282
  : undefined;
283
+ // ----- Calculate menu height -----
284
+ // Mostly this is to allow the orgs to expand to fill the space.
285
+ var _g = useMeasureWatchResize.useMeasureWatchResize(), nameGroupRef = _g[0], nameGroupMeasure = _g[1];
286
+ var theme = styled.useTheme();
287
+ var middleSectionHeightOffset = ((themeOverride === null || themeOverride === void 0 ? void 0 : themeOverride.gradientSectionHeight) || theme.userCard.gradientSectionHeight) + (topOffset || 0) + (hasSignOut ? SIGN_OUT_HEIGHT : 0);
288
+ var avatarHeightHalf = ((themeOverride === null || themeOverride === void 0 ? void 0 : themeOverride.avatarSize) || theme.userCard.avatarSize) / 2;
289
+ var userDetailsPadding = USER_DETAILS_PADDING;
290
+ var scrollingHeightOffset = middleSectionHeightOffset + userDetailsPadding + avatarHeightHalf + (nameGroupMeasure.height || 0);
291
+ // Org search
292
+ var _h = React.useState(""), searchValue = _h[0], setSearchValue = _h[1];
293
+ var _j = React.useState(), filteredOrganizations = _j[0], setFilteredOrganizations = _j[1];
294
+ React.useEffect(function () {
295
+ if (!searchValue) {
296
+ setFilteredOrganizations(organizations);
297
+ return;
298
+ }
299
+ var filtered = organizations === null || organizations === void 0 ? void 0 : organizations.filter(function (org) { return org.text.toLowerCase().includes(searchValue.toLowerCase()); });
300
+ setFilteredOrganizations(filtered);
301
+ }, [organizations, searchValue]);
302
+ // Pin org height during search
303
+ var height = useWindowDimensions().height;
304
+ var _k = React.useState(0), orgsScrollerHeight = _k[0], setOrgsScrollHeight = _k[1];
305
+ // Switch scrolling strategy based on the size of the contents
306
+ // - if there's enough room, the organizations scroll independently
307
+ // - if there isn't enough room, or there aren't any organizations, everything except the logout button and header scroll together
308
+ var _l = React.useState(hasOrgs), onlyScrollOrgs = _l[0], setOnlyScrollOrgs = _l[1];
309
+ React.useEffect(function () {
310
+ var _a;
311
+ var numberOfOrgs = (_a = organizations === null || organizations === void 0 ? void 0 : organizations.length) !== null && _a !== void 0 ? _a : 0;
312
+ var maxSpaceForOrgs = 450; // 8.5 orgs worth of space
313
+ var minSpaceForOrgs = 150;
314
+ var baseHeight = height - BASE_HEIGHT_OFFSET;
315
+ var orgListHeight = numberOfOrgs * 53 + ORG_SCROLLER_PADDING;
316
+ var optimalScrollingHeight = findOptimalScrollingheight({ space: baseHeight - scrollingHeightOffset - FLUFF, row: 53 });
317
+ var availableSpaceForOrgs = optimalScrollingHeight > maxSpaceForOrgs ? maxSpaceForOrgs : optimalScrollingHeight;
318
+ var orgsNeedToScroll = orgListHeight > availableSpaceForOrgs;
319
+ var orgsHaveSpaceToScroll = availableSpaceForOrgs > minSpaceForOrgs;
320
+ setOnlyScrollOrgs(orgsNeedToScroll && orgsHaveSpaceToScroll);
321
+ if (orgsNeedToScroll && orgsHaveSpaceToScroll) {
322
+ setOrgsScrollHeight(availableSpaceForOrgs);
323
+ }
324
+ }, [height, organizations, scrollingHeightOffset]);
325
+ // ----- Handle tabbing behavior -----
229
326
  var eventListener = function (event) {
230
327
  var _a;
231
328
  var isEscPressed = event.key === "Escape" || event.keyCode === 27;
@@ -269,26 +366,26 @@ var UserCard = function (_a) {
269
366
  window.removeEventListener("keydown", eventListener);
270
367
  };
271
368
  }, [isVisible]);
272
- return (jsxRuntime.jsxs(UserCardBase, { ref: baseRef, "$themeOverride": themeOverride, children: [jsxRuntime.jsx(GradientHeader, { "$themeOverride": themeOverride }), jsxRuntime.jsx(AvatarWrapper, { "$themeOverride": themeOverride, children: jsxRuntime.jsx(Avatar.Avatar, { backgroundGradient: (themeOverride === null || themeOverride === void 0 ? void 0 : themeOverride.avatarBackgroundColor) || gradients.gradients.avatar, square: themeOverride === null || themeOverride === void 0 ? void 0 : themeOverride.squareAvatar, imageUrl: avatarImageUrl, placeholderInitials: getInitialsOnly.getInitialsOnly(userName), themeOverride: avatarThemeOverride }) }), jsxRuntime.jsxs(UserDetails, { "$themeOverride": themeOverride, "$topOffset": topOffset, "$hasSignOut": hasSignOut, children: [jsxRuntime.jsx(Name, { "$isLoading": isLoading, "$themeOverride": themeOverride, children: userName }), jsxRuntime.jsx(Email, { "$isLoading": isLoading, "$themeOverride": themeOverride, children: jsxRuntime.jsx(TruncatePicker.TruncatePicker, { children: userEmail }) }), (hasOrgs || showLoadingOrgs) && (jsxRuntime.jsx(Divider, { "$topMargin": 16, "$bottomMargin": 16, "data-testid": OPTIONS_DIVIDER_ID, "$themeOverride": themeOverride })), showLoadingOrgs ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Organization, { "$isLoading": true, "$loadingWidth": 85 }), jsxRuntime.jsx(Organization, { "$isLoading": true, "$loadingWidth": 135 })] })) : (organizations === null || organizations === void 0 ? void 0 : organizations.map(function (option, index) {
273
- var Icon = option.Icon, iconSize = option.iconSize, onClick = option.onClick, text = option.text, id = option.id;
274
- var isActive = activeOrg === id;
275
- var hasIcon = !!Icon;
276
- return (jsxRuntime.jsxs(Organization, _tslib.__assign({ "$iconSize": iconSize, "$isActive": !!(isActive && multipleOrgs), "$hasIcon": hasIcon, "$noBottomMargin": index === organizations.length - 1, "$onlyOrg": !multipleOrgs, onClick: function (event) { return onClick({ option: option, event: event }); }, onKeyPress: function (event) {
277
- if (pressedEnter.pressedEnter(event)) {
278
- onClick({ option: option, event: event });
279
- }
280
- } }, (!isActive ? { role: "button" } : {}), { tabIndex: isActive ? -1 : 0, "$themeOverride": themeOverride, children: [hasIcon && (jsxRuntime.jsx(OrganizationIconBox, { "$iconSize": iconSize, children: jsxRuntime.jsx(OrganizationIcon, { "$iconSize": iconSize, children: jsxRuntime.jsx(Icon, { fill: themeOverride === null || themeOverride === void 0 ? void 0 : themeOverride.textColor }) }) })), jsxRuntime.jsx(OptionText, { "$themeOverride": themeOverride, children: text }), isActive && multipleOrgs && (jsxRuntime.jsx(ActiveIcon, { children: jsxRuntime.jsx(CheckmarkCircle.CheckmarkCircle, { fill: colors.colors.AQUA_75 }) }))] }), id));
281
- })), (hasOptions || showLoadingOptions) && (jsxRuntime.jsx(Divider, { "$topMargin": 16, "$bottomMargin": 30, "data-testid": OPTIONS_DIVIDER_ID, "$themeOverride": themeOverride })), showLoadingOptions ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Option, { "$isLoading": true, "$loadingWidth": 85 }), jsxRuntime.jsx(Option, { "$isLoading": true, "$loadingWidth": 135 })] })) : (options === null || options === void 0 ? void 0 : options.map(function (option, index) {
282
- var Icon = option.Icon, iconSize = option.iconSize, onClick = option.onClick, text = option.text;
283
- var hasIcon = !!Icon;
284
- return (jsxRuntime.jsxs(Option, { "$iconSize": iconSize, "$noBottomMargin": index === options.length - 1, onClick: function (event) { return onClick({ option: option, event: event }); }, onKeyPress: function (event) {
285
- if (pressedEnter.pressedEnter(event)) {
286
- onClick({ option: option, event: event });
287
- }
288
- }, role: "button", tabIndex: 0, "$themeOverride": themeOverride, children: [hasIcon && (jsxRuntime.jsx(OptionIconBox, { "$iconSize": iconSize, children: jsxRuntime.jsx(OptionIcon, { "$iconSize": iconSize, children: jsxRuntime.jsx(Icon, { fill: themeOverride === null || themeOverride === void 0 ? void 0 : themeOverride.textColor }) }) })), jsxRuntime.jsx(OptionText, { "$themeOverride": themeOverride, children: text })] }, text));
289
- })), React__default.default.Children.map(children, function (element) {
290
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Divider, { "$topMargin": hasOptions ? 30 : 16, "$bottomMargin": 16, "data-testid": ELEMENTS_DIVIDER_ID, "$themeOverride": themeOverride }), jsxRuntime.jsx(NegativeCreep, { children: element })] }));
291
- })] }), hasSignOut && (jsxRuntime.jsxs(SignOutWrapper, { "$themeOverride": themeOverride, children: [jsxRuntime.jsx(Divider, { "$topMargin": 1, "$bottomMargin": 30, "data-testid": SIGN_OUT_DIVIDER_ID, "$themeOverride": themeOverride }), jsxRuntime.jsxs(Option, { "$loadingWidth": 100, "$noBottomMargin": true, onClick: function () { return onSignOut === null || onSignOut === void 0 ? void 0 : onSignOut(); }, onKeyPress: function (event) {
369
+ return (jsxRuntime.jsxs(UserCardBase, { ref: baseRef, "$themeOverride": themeOverride, children: [jsxRuntime.jsx(GradientHeader, { "$themeOverride": themeOverride }), jsxRuntime.jsx(AvatarWrapper, { "$themeOverride": themeOverride, children: jsxRuntime.jsx(Avatar.Avatar, { backgroundGradient: (themeOverride === null || themeOverride === void 0 ? void 0 : themeOverride.avatarBackgroundColor) || gradients.gradients.avatar, square: themeOverride === null || themeOverride === void 0 ? void 0 : themeOverride.squareAvatar, imageUrl: avatarImageUrl, placeholderInitials: getInitialsOnly.getInitialsOnly(userName), themeOverride: avatarThemeOverride }) }), jsxRuntime.jsxs(UserDetails, { "$heightOffset": middleSectionHeightOffset, "$isScroller": !onlyScrollOrgs, children: [jsxRuntime.jsxs(NonScrollingGroup, { ref: nameGroupRef, children: [jsxRuntime.jsx(Name, { "$isLoading": isLoading, "$themeOverride": themeOverride, children: userName }), jsxRuntime.jsx(Email, { "$isLoading": isLoading, "$themeOverride": themeOverride, children: jsxRuntime.jsx(TruncatePicker.TruncatePicker, { children: userEmail }) }), jsxRuntime.jsx(OptionsBox, { children: showLoadingOptions ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Option, { "$isLoading": true, "$loadingWidth": 85 }), jsxRuntime.jsx(Option, { "$isLoading": true, "$loadingWidth": 135 })] })) : (options === null || options === void 0 ? void 0 : options.map(function (option, index) {
370
+ var Icon = option.Icon, iconSize = option.iconSize, onClick = option.onClick, text = option.text;
371
+ var hasIcon = !!Icon;
372
+ return (jsxRuntime.jsxs(Option, { "$iconSize": iconSize, "$noBottomMargin": index === options.length - 1, onClick: function (event) { return onClick({ option: option, event: event }); }, onKeyPress: function (event) {
373
+ if (pressedEnter.pressedEnter(event)) {
374
+ onClick({ option: option, event: event });
375
+ }
376
+ }, role: "button", tabIndex: 0, "$themeOverride": themeOverride, children: [hasIcon && (jsxRuntime.jsx(OptionIconBox, { "$iconSize": iconSize, children: jsxRuntime.jsx(OptionIcon, { "$iconSize": iconSize, children: jsxRuntime.jsx(Icon, { fill: themeOverride === null || themeOverride === void 0 ? void 0 : themeOverride.textColor }) }) })), jsxRuntime.jsx(OptionText, { "$themeOverride": themeOverride, children: jsxRuntime.jsx(TruncatePicker.TruncatePicker, { lines: 2, children: text }) })] }, text));
377
+ })) }), (hasOrgs || showLoadingOrgs) && (jsxRuntime.jsx(Divider, { "$topMargin": 16, "$bottomMargin": 16, "data-testid": ORGS_DIVIDER_ID, "$themeOverride": themeOverride })),
378
+ // Passing 0 intentionally disables the search feature
379
+ organizations && orgSearchThreshold && organizations.length > orgSearchThreshold ? (jsxRuntime.jsxs(SearchGroup, { className: "SearchGroup", children: [jsxRuntime.jsx(SearchText, { children: "Organizations:" }), jsxRuntime.jsx(SearchInput.SearchInput, { clearButton: true, inputHeight: 32, inputWidth: 189, onValueChange: function (value) { return setSearchValue(value); }, value: searchValue })] })) : null] }), hasOrgs || showLoadingOrgs ? (showLoadingOrgs ? (jsxRuntime.jsxs(NonScrollingGroup, { children: [jsxRuntime.jsx(Organization, { "$isLoading": true, "$loadingWidth": 85 }), jsxRuntime.jsx(Organization, { "$isLoading": true, "$loadingWidth": 135 })] })) : (jsxRuntime.jsx(ScrollingGroup, { "$isScroller": onlyScrollOrgs, "$scrollerHeight": orgsScrollerHeight, children: filteredOrganizations === null || filteredOrganizations === void 0 ? void 0 : filteredOrganizations.map(function (option, index) {
380
+ var Icon = option.Icon, iconSize = option.iconSize, onClick = option.onClick, text = option.text, id = option.id;
381
+ var isActive = activeOrg === id;
382
+ var hasIcon = !!Icon;
383
+ return (jsxRuntime.jsxs(Organization, _tslib.__assign({ "$iconSize": iconSize, "$isActive": !!(isActive && multipleOrgs), "$hasIcon": hasIcon, "$noBottomMargin": true, "$onlyOrg": !multipleOrgs, onClick: function (event) { return onClick({ option: option, event: event }); }, onKeyPress: function (event) {
384
+ if (pressedEnter.pressedEnter(event)) {
385
+ onClick({ option: option, event: event });
386
+ }
387
+ } }, (!isActive ? { role: "button" } : {}), { tabIndex: isActive ? -1 : 0, "$themeOverride": themeOverride, children: [hasIcon && (jsxRuntime.jsx(OrganizationIconBox, { "$iconSize": iconSize, children: jsxRuntime.jsx(OrganizationIcon, { "$iconSize": iconSize, children: jsxRuntime.jsx(Icon, { fill: themeOverride === null || themeOverride === void 0 ? void 0 : themeOverride.textColor }) }) })), jsxRuntime.jsx(OptionText, { "$themeOverride": themeOverride, children: text }), isActive && multipleOrgs && (jsxRuntime.jsx(ActiveIcon, { children: jsxRuntime.jsx(CheckmarkCircle.CheckmarkCircle, { fill: colors.colors.AQUA_75 }) }))] }), id));
388
+ }) }))) : null] }), hasSignOut && (jsxRuntime.jsxs(SignOutWrapper, { "$themeOverride": themeOverride, children: [jsxRuntime.jsx(Divider, { "$topMargin": 0, "$bottomMargin": 27, "data-testid": SIGN_OUT_DIVIDER_ID, "$themeOverride": themeOverride }), jsxRuntime.jsxs(Option, { "$loadingWidth": 100, "$noBottomMargin": true, onClick: function () { return onSignOut === null || onSignOut === void 0 ? void 0 : onSignOut(); }, onKeyPress: function (event) {
292
389
  if (pressedEnter.pressedEnter(event)) {
293
390
  onSignOut === null || onSignOut === void 0 ? void 0 : onSignOut();
294
391
  }
@@ -1 +1 @@
1
- {"version":3,"file":"UserCard.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"UserCard.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -25,10 +25,18 @@ require('./useMeasure-CDq3dPfD.js');
25
25
  require('./addOrRemoveById.cjs');
26
26
  require('dayjs');
27
27
  require('./gradients.cjs');
28
+ require('./useMeasureWatchResize-CU_JgvQD.js');
28
29
  require('./BodyLEmphasis.cjs');
29
30
  require('./Loading.cjs');
30
31
  require('./Scroller.cjs');
31
32
  require('./focusAfter.cjs');
33
+ require('./SearchInput-C_l6yEs0.js');
34
+ require('./IconButton-CQJHjOTO.js');
35
+ require('./ButtonColorFamilyEnum.cjs');
36
+ require('./Search.cjs');
37
+ require('./InlineInput-Ct3Zz8pE.js');
38
+ require('./CloseCircle.cjs');
39
+ require('./Inputs-C0rtyojv.js');
32
40
 
33
41
  var UserCardModal = function (props) {
34
42
  var _a;
@@ -1 +1 @@
1
- {"version":3,"file":"UserCardModal.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"UserCardModal.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -625,7 +625,7 @@ var cerebellumTheme = {
625
625
  squareAvatar: false,
626
626
  linkHoverColor: colors.colors.BLUE_3,
627
627
  textColor: colors.colors.COOL_GREY_100,
628
- width: 309,
628
+ width: 400,
629
629
  },
630
630
  userInformationCard: {
631
631
  backgroundGradient: "#5377ec, #c0aaff",
@@ -15,7 +15,7 @@ var absoluteAfter = function (props) {
15
15
  };
16
16
  var focusAfter = function (props) {
17
17
  var borderRadius = props.borderRadius, focusColor = props.focusColor, offset = props.offset;
18
- return "\n\t\t&:after {\n\t\t\t".concat(absoluteAfter({ offset: offset !== null && offset !== void 0 ? offset : -5 }), "\n\t\t\tborder: 1px solid transparent;\n\t\t\tborder-radius: ").concat(borderRadius !== null && borderRadius !== void 0 ? borderRadius : 8, "px;\n\t\t\topacity: 1;\n\t\t}\n\t\t&:focus-visible {\n\t\t\toutline: none;\n\t\t\t&:after {\n\t\t\t\tborder: 1px solid ").concat(focusColor, ";\n\t\t\t}\n\t\t}\n\t");
18
+ return "\n\t\t&:after {\n\t\t\t".concat(absoluteAfter({ offset: offset !== null && offset !== void 0 ? offset : -5 }), "\n\t\t\tborder: 1px solid transparent;\n\t\t\tborder-radius: ").concat(borderRadius !== null && borderRadius !== void 0 ? borderRadius : 8, "px;\n\t\t\topacity: 1;\n\t\t\tpointer-events: none;\n\t\t}\n\t\t&:focus-visible {\n\t\t\toutline: none;\n\t\t\t&:after {\n\t\t\t\tborder: 1px solid ").concat(focusColor, ";\n\t\t\t}\n\t\t}\n\t");
19
19
  };
20
20
 
21
21
  exports.absoluteAfter = absoluteAfter;
package/lib/cjs/index.cjs CHANGED
@@ -74,9 +74,7 @@ var PieChart = require('./PieChart-D3uL_1aI.js');
74
74
  var Radio = require('./Radio-C0Z72B-6.js');
75
75
  var RadioGroup = require('./RadioGroup-5kqdUsH_.js');
76
76
  var RadioItem = require('./RadioItem-BzjbTvVQ.js');
77
- var RJSForm = require('./RJSForm-BYMmS7or.js');
78
- require('./types-5wgDsApd.js');
79
- var RJSFormRenderer = require('./RJSFormRenderer-DEbHQ_kY.js');
77
+ var RJSFormRenderer = require('./RJSFormRenderer-DkuTGTRg.js');
80
78
  var Toast = require('./Toast-yHq_R4D7.js');
81
79
  require('react-dom');
82
80
  var ButtonColorFamilyEnum = require('./ButtonColorFamilyEnum.cjs');
@@ -303,8 +301,6 @@ require('dayjs');
303
301
  require('./filtering-BklQ4Sgb.js');
304
302
  require('./position-Ccz-m8HN.js');
305
303
  require('formik');
306
- require('@rjsf/core');
307
- require('@rjsf/validator-ajv8');
308
304
  require('./TableStyles-DHUGhvTF.js');
309
305
  require('immutability-helper');
310
306
  require('./DropdownInputStyles-B8RvsKz3.js');
@@ -749,7 +745,6 @@ exports.PieChart = PieChart.PieChart;
749
745
  exports.Radio = Radio.Radio;
750
746
  exports.RadioGroup = RadioGroup.RadioGroup;
751
747
  exports.RadioItem = RadioItem.RadioItem;
752
- exports.RJSForm = RJSForm.RJSForm;
753
748
  exports.RJSFormRenderer = RJSFormRenderer.RJSFormRenderer;
754
749
  exports.DialogHandler = Toast.DialogHandler;
755
750
  Object.defineProperty(exports, "ButtonColorFamilyEnum", {
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,12 +1,12 @@
1
- import { b as __makeTemplateObject, _ as __assign } from './_tslib-Cea_sJmA.js';
1
+ import { b as __makeTemplateObject, _ as __assign } from './_tslib-BcwB1KkQ.js';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import { styled } from 'styled-components';
5
5
  import './colors.js';
6
- import './IconComponentStyles-BBt1vuNf.js';
6
+ import './IconComponentStyles-DsanQokf.js';
7
7
  import { PlusCircle } from './PlusCircle.js';
8
8
  import { ButtonColorFamilyEnum } from './ButtonColorFamilyEnum.js';
9
- import './LoadingEllipsis-C1NXXo2M.js';
9
+ import './LoadingEllipsis-4SpjEvys.js';
10
10
  import './Button.js';
11
11
  import { SecondaryButton } from './SecondaryButton.js';
12
12
  import './ButtonVariantEnum.js';
@@ -20,4 +20,4 @@ var AddButton = function (props) {
20
20
  };
21
21
 
22
22
  export { AddButton as A };
23
- //# sourceMappingURL=AddButton-D3rUGbUd.js.map
23
+ //# sourceMappingURL=AddButton-DeNvxRVt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddButton-DeNvxRVt.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,15 +1,15 @@
1
- export { A as AddButton } from './AddButton-D3rUGbUd.js';
2
- import './_tslib-Cea_sJmA.js';
1
+ export { A as AddButton } from './AddButton-DeNvxRVt.js';
2
+ import './_tslib-BcwB1KkQ.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
5
5
  import 'styled-components';
6
6
  import './colors.js';
7
- import './IconComponentStyles-BBt1vuNf.js';
7
+ import './IconComponentStyles-DsanQokf.js';
8
8
  import './PlusCircle.js';
9
9
  import './colors-D-UTb8yU.js';
10
10
  import './pressedEnter.js';
11
11
  import './ButtonColorFamilyEnum.js';
12
- import './LoadingEllipsis-C1NXXo2M.js';
12
+ import './LoadingEllipsis-4SpjEvys.js';
13
13
  import './Button.js';
14
14
  import './ArrowLong.js';
15
15
  import './CaretDown.js';
@@ -1,12 +1,12 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { useState, useEffect } from 'react';
3
- import { S as SearchMenu } from './SearchMenu-h5HqVgJs.js';
4
- import { S as SlideIn } from './SlideIn-M1Hsy2X8.js';
5
- import { A as AddButton } from './AddButton-D3rUGbUd.js';
3
+ import { S as SearchMenu } from './SearchMenu-mI5sW4n0.js';
4
+ import { S as SlideIn } from './SlideIn-DEzdj3h8.js';
5
+ import { A as AddButton } from './AddButton-DeNvxRVt.js';
6
6
  import { colors } from './colors.js';
7
7
  import { isBrowser } from './isEmptyObject.js';
8
8
  import { u as useMeasure } from './useMeasure-D89v6c_A.js';
9
- import { b as __makeTemplateObject } from './_tslib-Cea_sJmA.js';
9
+ import { b as __makeTemplateObject } from './_tslib-BcwB1KkQ.js';
10
10
  import { styled } from 'styled-components';
11
11
 
12
12
  var AddMenuGroup = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n max-width: ", "px;\n position: relative;\n"], ["\n max-width: ", "px;\n position: relative;\n"])), function (_a) {
@@ -47,4 +47,4 @@ var AddMenu = function (_a) {
47
47
  };
48
48
 
49
49
  export { AddMenu as A };
50
- //# sourceMappingURL=AddMenu-DxgYV6Rn.js.map
50
+ //# sourceMappingURL=AddMenu-DGzK7716.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddMenu-DGzK7716.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}