studiokit-scaffolding-js 7.0.14-alpha.1 → 7.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (374) hide show
  1. package/lib/components/ActionList.d.ts +2 -2
  2. package/lib/components/ActionList.js +166 -87
  3. package/lib/components/AlertDialog.d.ts +3 -3
  4. package/lib/components/AlertDialog.js +133 -18
  5. package/lib/components/AlertWithIcon.js +93 -52
  6. package/lib/components/ConnectedModal.d.ts +1 -2
  7. package/lib/components/ConnectedModal.js +41 -35
  8. package/lib/components/Dropdowns/GroupsDropdown.d.ts +4 -4
  9. package/lib/components/Dropdowns/GroupsDropdown.js +69 -82
  10. package/lib/components/Dropdowns/ManagedNavDropdown.d.ts +2 -2
  11. package/lib/components/Dropdowns/ManagedNavDropdown.js +96 -108
  12. package/lib/components/Dropdowns/UserDropdown.js +109 -70
  13. package/lib/components/Dropdowns/index.js +27 -11
  14. package/lib/components/EntityOwnerList.d.ts +3 -3
  15. package/lib/components/EntityOwnerList.js +52 -60
  16. package/lib/components/Error.js +107 -27
  17. package/lib/components/ErrorBoundary.js +133 -94
  18. package/lib/components/ErrorMessage.d.ts +2 -2
  19. package/lib/components/ErrorMessage.js +44 -14
  20. package/lib/components/Forms/DateField.d.ts +2 -2
  21. package/lib/components/Forms/DateField.js +63 -95
  22. package/lib/components/Forms/TimeField.d.ts +2 -2
  23. package/lib/components/Forms/TimeField.js +84 -108
  24. package/lib/components/Forms/index.js +27 -13
  25. package/lib/components/Groups/CreateEditCopySaveButtons.d.ts +2 -2
  26. package/lib/components/Groups/CreateEditCopySaveButtons.js +102 -14
  27. package/lib/components/Groups/ExternalGroups/Attach.d.ts +6 -7
  28. package/lib/components/Groups/ExternalGroups/Attach.js +213 -188
  29. package/lib/components/Groups/ExternalGroups/Table.js +183 -76
  30. package/lib/components/Groups/GroupCreateOrEditCommonProps.js +5 -1
  31. package/lib/components/Groups/RosterSyncInfo.js +140 -49
  32. package/lib/components/HOC/AccessibleAppComponent.d.ts +2 -2
  33. package/lib/components/HOC/AccessibleAppComponent.js +96 -119
  34. package/lib/components/HOC/ActivityRequiredComponent.d.ts +14 -14
  35. package/lib/components/HOC/ActivityRequiredComponent.js +72 -86
  36. package/lib/components/HOC/AsyncComponent.d.ts +9 -9
  37. package/lib/components/HOC/AsyncComponent.js +53 -129
  38. package/lib/components/HOC/AuthenticatedComponent.d.ts +4 -4
  39. package/lib/components/HOC/AuthenticatedComponent.js +59 -96
  40. package/lib/components/HOC/CollectionComponent.d.ts +12 -12
  41. package/lib/components/HOC/CollectionComponent.js +161 -161
  42. package/lib/components/HOC/CollectionFirstItemComponent.d.ts +13 -13
  43. package/lib/components/HOC/CollectionFirstItemComponent.js +49 -91
  44. package/lib/components/HOC/CollectionItemComponent.d.ts +9 -9
  45. package/lib/components/HOC/CollectionItemComponent.js +159 -158
  46. package/lib/components/HOC/ConnectedModalComponent.d.ts +9 -9
  47. package/lib/components/HOC/ConnectedModalComponent.js +96 -126
  48. package/lib/components/HOC/DataDependentComponent.d.ts +3 -55
  49. package/lib/components/HOC/DataDependentComponent.js +30 -79
  50. package/lib/components/HOC/EntityComponent.d.ts +13 -13
  51. package/lib/components/HOC/EntityComponent.js +63 -101
  52. package/lib/components/HOC/FullscreenModalComponent.d.ts +9 -9
  53. package/lib/components/HOC/FullscreenModalComponent.js +145 -165
  54. package/lib/components/HOC/GroupActivityRequiredComponent.d.ts +2 -2
  55. package/lib/components/HOC/GroupActivityRequiredComponent.js +32 -31
  56. package/lib/components/HOC/GuidComponent.d.ts +1 -1
  57. package/lib/components/HOC/GuidComponent.js +25 -64
  58. package/lib/components/HOC/ModelContextDependencyVerifyComponent.d.ts +28 -29
  59. package/lib/components/HOC/ModelContextDependencyVerifyComponent.js +36 -59
  60. package/lib/components/HOC/ModelErrorRedirectComponent.d.ts +10 -10
  61. package/lib/components/HOC/ModelErrorRedirectComponent.js +40 -83
  62. package/lib/components/HOC/SearchPersistorComponent.d.ts +4 -4
  63. package/lib/components/HOC/SearchPersistorComponent.js +243 -216
  64. package/lib/components/HOC/UnauthenticatedComponent.d.ts +12 -12
  65. package/lib/components/HOC/UnauthenticatedComponent.js +37 -82
  66. package/lib/components/HOC/UserComponent.d.ts +1 -1
  67. package/lib/components/HOC/UserComponent.js +12 -11
  68. package/lib/components/Icons/IconAlphaList.js +34 -20
  69. package/lib/components/Icons/IconExternalUser.js +34 -20
  70. package/lib/components/Icons/IconImpersonation.js +34 -20
  71. package/lib/components/Icons/IconStopImpersonating.js +34 -20
  72. package/lib/components/Icons/IconTable.js +35 -21
  73. package/lib/components/Icons/IconTableDeleteCol.js +34 -20
  74. package/lib/components/Icons/IconTableDeleteRow.js +34 -20
  75. package/lib/components/Icons/IconTableInsertCol.js +34 -20
  76. package/lib/components/Icons/IconTableInsertRow.js +34 -20
  77. package/lib/components/Impersonation/Button.d.ts +2 -2
  78. package/lib/components/Impersonation/Button.js +76 -56
  79. package/lib/components/Impersonation/Link.d.ts +2 -2
  80. package/lib/components/Impersonation/Link.js +76 -53
  81. package/lib/components/Impersonation/UserDetail.d.ts +2 -2
  82. package/lib/components/Impersonation/UserDetail.js +64 -15
  83. package/lib/components/Loading.js +27 -21
  84. package/lib/components/LockDownBrowser/Check.js +194 -107
  85. package/lib/components/LockDownBrowser/ExitButton.js +27 -14
  86. package/lib/components/LockDownBrowser/Launch.js +70 -85
  87. package/lib/components/Lti/Confirm.js +152 -33
  88. package/lib/components/Lti/CreateNonLtiGroupAlertDialog.d.ts +4 -2
  89. package/lib/components/Lti/CreateNonLtiGroupAlertDialog.js +170 -78
  90. package/lib/components/Lti/Launch.js +105 -49
  91. package/lib/components/Lti/LaunchGroup.js +85 -39
  92. package/lib/components/ManageTable.d.ts +1 -2
  93. package/lib/components/ManageTable.js +309 -104
  94. package/lib/components/ManageTableNoDataComponent.js +42 -22
  95. package/lib/components/NewVersionAlert.d.ts +2 -2
  96. package/lib/components/NewVersionAlert.js +82 -91
  97. package/lib/components/NotFound.js +87 -28
  98. package/lib/components/Notifications.d.ts +4 -4
  99. package/lib/components/Notifications.js +187 -169
  100. package/lib/components/PaginationNextButton.js +33 -21
  101. package/lib/components/PaginationPreviousButton.js +33 -21
  102. package/lib/components/Quill/CustomToolbar.d.ts +2 -2
  103. package/lib/components/Quill/CustomToolbar.js +432 -257
  104. package/lib/components/Quill/Formats/Image.d.ts +10 -25
  105. package/lib/components/Quill/Formats/Image.js +76 -82
  106. package/lib/components/Quill/Formats/List.d.ts +6 -3
  107. package/lib/components/Quill/Formats/List.js +50 -72
  108. package/lib/components/Quill/Formats/Video.d.ts +2 -1
  109. package/lib/components/Quill/Formats/Video.js +29 -43
  110. package/lib/components/Quill/ImageDropModule.d.ts +1 -1
  111. package/lib/components/Quill/ImageDropModule.js +142 -115
  112. package/lib/components/Quill/ImageWarning.d.ts +2 -2
  113. package/lib/components/Quill/ImageWarning.js +45 -32
  114. package/lib/components/Quill/ImageWithAltTextModal.d.ts +0 -1
  115. package/lib/components/Quill/ImageWithAltTextModal.js +425 -141
  116. package/lib/components/Quill/Specs/CustomImageSpec.d.ts +1 -1
  117. package/lib/components/Quill/Specs/CustomImageSpec.js +37 -45
  118. package/lib/components/Quill/Specs/CustomVideoSpec.d.ts +1 -1
  119. package/lib/components/Quill/Specs/CustomVideoSpec.js +27 -36
  120. package/lib/components/Quill/TableModule/Blots/BaseTableBlot.d.ts +2 -1
  121. package/lib/components/Quill/TableModule/Blots/BaseTableBlot.js +100 -116
  122. package/lib/components/Quill/TableModule/Blots/TableBlot.js +53 -66
  123. package/lib/components/Quill/TableModule/Blots/TableBodyBlot.js +54 -67
  124. package/lib/components/Quill/TableModule/Blots/TableCellBlot.d.ts +1 -1
  125. package/lib/components/Quill/TableModule/Blots/TableCellBlot.js +225 -241
  126. package/lib/components/Quill/TableModule/Blots/TableContainer.js +82 -99
  127. package/lib/components/Quill/TableModule/Blots/TableRowBlot.js +76 -87
  128. package/lib/components/Quill/TableModule/constants.js +45 -41
  129. package/lib/components/Quill/TableModule/index.css +25 -25
  130. package/lib/components/Quill/TableModule/index.d.ts +14 -5
  131. package/lib/components/Quill/TableModule/index.js +373 -313
  132. package/lib/components/Quill/TableModule/utils.js +45 -45
  133. package/lib/components/Quill/accessibilityFix.d.ts +0 -1
  134. package/lib/components/Quill/accessibilityFix.js +222 -238
  135. package/lib/components/Quill/index.js +36 -32
  136. package/lib/components/RefreshIndicator/Bordered.js +48 -32
  137. package/lib/components/RefreshIndicator/Inline.js +48 -33
  138. package/lib/components/RefreshIndicator/index.d.ts +2 -2
  139. package/lib/components/RefreshIndicator/index.js +263 -113
  140. package/lib/components/SearchControls.js +216 -31
  141. package/lib/components/SentryRoute.js +10 -23
  142. package/lib/components/Tables/RoleFilter.d.ts +3 -4
  143. package/lib/components/Tables/RoleFilter.js +71 -46
  144. package/lib/components/Tables/TextFilter.d.ts +2 -3
  145. package/lib/components/Tables/TextFilter.js +62 -20
  146. package/lib/components/UserRoles/Add.d.ts +3 -3
  147. package/lib/components/UserRoles/Add.js +199 -161
  148. package/lib/components/UserRoles/Context.js +8 -6
  149. package/lib/components/UserRoles/RoleCell.js +181 -100
  150. package/lib/components/UserRoles/Select.js +168 -54
  151. package/lib/components/UserRoles/Table.js +221 -102
  152. package/lib/components/UserRoles/index.d.ts +6 -6
  153. package/lib/components/UserRoles/index.js +535 -464
  154. package/lib/config/eslint/index.d.ts +2 -0
  155. package/lib/config/eslint/index.js +36 -0
  156. package/lib/config/eslint/lib/order.d.ts +3 -0
  157. package/lib/config/eslint/lib/order.js +30 -0
  158. package/lib/config/eslint/lib/prettier.d.ts +3 -0
  159. package/lib/config/eslint/lib/prettier.js +23 -0
  160. package/lib/config/eslint/lib/typescript.d.ts +2 -0
  161. package/lib/config/eslint/lib/typescript.js +98 -0
  162. package/lib/config/eslint/react.d.ts +2 -0
  163. package/lib/config/eslint/react.js +30 -0
  164. package/lib/constants/baseActivity.js +30 -26
  165. package/lib/constants/baseRole.js +14 -10
  166. package/lib/constants/configuration.d.ts +1 -1
  167. package/lib/constants/configuration.js +43 -39
  168. package/lib/constants/externalProviderType.js +10 -6
  169. package/lib/constants/fetchErrorData.js +15 -11
  170. package/lib/constants/index.js +137 -23
  171. package/lib/constants/lockDownBrowser.js +28 -24
  172. package/lib/constants/mockData.d.ts +4 -6
  173. package/lib/constants/mockData.js +383 -324
  174. package/lib/constants/modelStatus.js +15 -11
  175. package/lib/constants/notificationType.js +12 -8
  176. package/lib/constants/operatingSystem.js +12 -8
  177. package/lib/constants/shard.js +11 -7
  178. package/lib/constants/table.js +21 -21
  179. package/lib/constants/tier.js +12 -8
  180. package/lib/constants/userRole.d.ts +1 -2
  181. package/lib/constants/userRole.js +15 -17
  182. package/lib/css/components/_buttons.css +11 -3
  183. package/lib/css/components/_quill.css +3 -3
  184. package/lib/css/components/_tables.css +6 -5
  185. package/lib/css/utils/_display.css +12 -19
  186. package/lib/css/utils/_general.css +1 -1
  187. package/lib/css/utils/_text.css +2 -1
  188. package/lib/css/variables.css +0 -4
  189. package/lib/endpointMappings.js +197 -193
  190. package/lib/hooks/useCollection.js +83 -65
  191. package/lib/hooks/useCollectionConfiguration.d.ts +0 -1
  192. package/lib/hooks/useCollectionConfiguration.js +179 -82
  193. package/lib/hooks/useCollectionItem.js +155 -58
  194. package/lib/hooks/useEventCalback.d.ts +14 -0
  195. package/lib/hooks/useEventCalback.js +51 -0
  196. package/lib/hooks/useGuid.js +19 -8
  197. package/lib/hooks/usePrevious.d.ts +24 -1
  198. package/lib/hooks/usePrevious.js +82 -12
  199. package/lib/index.js +156 -36
  200. package/lib/redux/actionCreator.d.ts +6 -6
  201. package/lib/redux/actionCreator.js +51 -40
  202. package/lib/redux/actions/AuthAction.js +44 -31
  203. package/lib/redux/actions/ModalAction.d.ts +1 -1
  204. package/lib/redux/actions/ModalAction.js +10 -6
  205. package/lib/redux/actions/ModelAction.d.ts +1 -1
  206. package/lib/redux/actions/ModelAction.js +77 -49
  207. package/lib/redux/actions/NotificationAction.js +10 -6
  208. package/lib/redux/actions/SearchAction.js +9 -5
  209. package/lib/redux/actions/index.js +60 -16
  210. package/lib/redux/configureReducers.d.ts +2 -5
  211. package/lib/redux/configureReducers.js +61 -72
  212. package/lib/redux/configureStore.d.ts +2 -2
  213. package/lib/redux/configureStore.js +83 -115
  214. package/lib/redux/helpers.js +7 -2
  215. package/lib/redux/reducers/authReducer.js +50 -44
  216. package/lib/redux/reducers/index.js +41 -15
  217. package/lib/redux/reducers/modalsReducer.js +49 -52
  218. package/lib/redux/reducers/modelsReducer.d.ts +2 -2
  219. package/lib/redux/reducers/modelsReducer.js +136 -135
  220. package/lib/redux/reducers/notificationsReducer.js +26 -21
  221. package/lib/redux/reducers/searchReducer.js +18 -12
  222. package/lib/redux/sagas/appInsightsSaga.js +24 -62
  223. package/lib/redux/sagas/authSaga.js +287 -414
  224. package/lib/redux/sagas/caliperSaga.js +154 -248
  225. package/lib/redux/sagas/clockOffsetSaga.js +35 -76
  226. package/lib/redux/sagas/configurationSaga.js +13 -46
  227. package/lib/redux/sagas/downtimeApiErrorSaga.d.ts +0 -1
  228. package/lib/redux/sagas/downtimeApiErrorSaga.js +23 -64
  229. package/lib/redux/sagas/errorSaga.d.ts +0 -1
  230. package/lib/redux/sagas/errorSaga.js +29 -63
  231. package/lib/redux/sagas/googleAnalyticsSaga.js +29 -69
  232. package/lib/redux/sagas/identityProviderSaga.js +24 -69
  233. package/lib/redux/sagas/initialDataLoadSaga.js +38 -29
  234. package/lib/redux/sagas/lockDownBrowserErrorSaga.d.ts +0 -1
  235. package/lib/redux/sagas/lockDownBrowserErrorSaga.js +32 -81
  236. package/lib/redux/sagas/modelFetchSaga.js +331 -411
  237. package/lib/redux/sagas/noStoreSaga.d.ts +1 -1
  238. package/lib/redux/sagas/noStoreSaga.js +68 -101
  239. package/lib/redux/sagas/postLoginDataSaga.js +42 -74
  240. package/lib/redux/sagas/postLoginRedirectSaga.js +27 -68
  241. package/lib/redux/sagas/rootSaga.js +85 -137
  242. package/lib/redux/sagas/sentrySaga.js +29 -85
  243. package/lib/redux/sagas/userIdSaga.js +18 -54
  244. package/lib/services/codeProviderService.js +25 -29
  245. package/lib/services/dateService.js +12 -10
  246. package/lib/services/documentService.js +15 -10
  247. package/lib/services/fetchService.js +110 -144
  248. package/lib/services/persistenceService.d.ts +4 -4
  249. package/lib/services/persistenceService.js +45 -43
  250. package/lib/services/ticketProviderService.js +29 -33
  251. package/lib/services/tokenPersistenceService.js +13 -9
  252. package/lib/services/windowService.js +21 -17
  253. package/lib/startup.d.ts +1 -1
  254. package/lib/startup.js +115 -118
  255. package/lib/types/AppConfiguration.js +5 -1
  256. package/lib/types/Artifact.js +11 -7
  257. package/lib/types/BaseReduxState.js +5 -1
  258. package/lib/types/Client.js +5 -1
  259. package/lib/types/Collection.d.ts +3 -3
  260. package/lib/types/Collection.js +5 -1
  261. package/lib/types/Configuration.js +5 -1
  262. package/lib/types/DeepLinkingResponseRequest.js +5 -1
  263. package/lib/types/DeletableModel.js +5 -1
  264. package/lib/types/Event.js +5 -1
  265. package/lib/types/ExternalGroup.js +5 -1
  266. package/lib/types/ExternalProvider.js +5 -1
  267. package/lib/types/ExternalTerm.js +5 -1
  268. package/lib/types/Group.js +5 -1
  269. package/lib/types/IdentityProvider.js +5 -1
  270. package/lib/types/LtiLaunch.js +5 -1
  271. package/lib/types/NameOnlyEntity.js +5 -1
  272. package/lib/types/Notification.d.ts +2 -2
  273. package/lib/types/Notification.js +5 -1
  274. package/lib/types/OptionalRecord.d.ts +1 -1
  275. package/lib/types/OptionalRecord.js +5 -1
  276. package/lib/types/OwnerSchedule.d.ts +3 -1
  277. package/lib/types/OwnerSchedule.js +5 -1
  278. package/lib/types/PropertyOfType.d.ts +3 -3
  279. package/lib/types/PropertyOfType.js +5 -1
  280. package/lib/types/Quill.js +5 -1
  281. package/lib/types/RoleDescription.d.ts +0 -1
  282. package/lib/types/RoleDescription.js +5 -1
  283. package/lib/types/Search.js +5 -1
  284. package/lib/types/SimpleLocation.js +5 -1
  285. package/lib/types/UniTime.js +5 -1
  286. package/lib/types/User.js +5 -1
  287. package/lib/types/UserRole.js +5 -1
  288. package/lib/types/auth/AuthState.js +5 -1
  289. package/lib/types/auth/CasV1LoginRequestBody.js +5 -1
  290. package/lib/types/auth/ClientCredentials.js +5 -1
  291. package/lib/types/auth/CodeProviderService.js +5 -1
  292. package/lib/types/auth/LocalLoginRequestBody.js +5 -1
  293. package/lib/types/auth/TicketProviderService.js +5 -1
  294. package/lib/types/auth/TokenPersistenceService.js +5 -1
  295. package/lib/types/auth/index.js +82 -18
  296. package/lib/types/externals.d.js +2 -0
  297. package/lib/types/index.js +313 -39
  298. package/lib/types/net/EndpointConfig.js +5 -1
  299. package/lib/types/net/EndpointMapping.js +5 -1
  300. package/lib/types/net/EndpointMappings.js +5 -1
  301. package/lib/types/net/ErrorHandler.d.ts +1 -1
  302. package/lib/types/net/ErrorHandler.js +5 -1
  303. package/lib/types/net/FetchConfig.d.ts +1 -1
  304. package/lib/types/net/FetchConfig.js +5 -1
  305. package/lib/types/net/FetchErrorData.js +10 -6
  306. package/lib/types/net/FetchResult.d.ts +2 -2
  307. package/lib/types/net/FetchResult.js +5 -1
  308. package/lib/types/net/HTTPMethod.d.ts +1 -1
  309. package/lib/types/net/HTTPMethod.js +5 -1
  310. package/lib/types/net/HTTPStatusCode.js +16 -12
  311. package/lib/types/net/Metadata.js +5 -1
  312. package/lib/types/net/Model.js +5 -1
  313. package/lib/types/net/ModelCollection.js +5 -1
  314. package/lib/types/net/ModelsState.js +5 -1
  315. package/lib/types/net/OAuthToken.js +5 -1
  316. package/lib/types/net/OAuthTokenOrNull.d.ts +1 -1
  317. package/lib/types/net/OAuthTokenOrNull.js +5 -1
  318. package/lib/types/net/TokenAccessFunction.d.ts +1 -1
  319. package/lib/types/net/TokenAccessFunction.js +5 -1
  320. package/lib/types/net/index.js +181 -27
  321. package/lib/utils/baseActivity.d.ts +2 -2
  322. package/lib/utils/baseActivity.js +93 -91
  323. package/lib/utils/baseRole.js +37 -33
  324. package/lib/utils/collection.js +413 -291
  325. package/lib/utils/cookies.js +22 -37
  326. package/lib/utils/date.js +210 -210
  327. package/lib/utils/dom.js +145 -133
  328. package/lib/utils/domainIdentifier.js +9 -9
  329. package/lib/utils/entityUserRole.js +6 -2
  330. package/lib/utils/error.d.ts +1 -1
  331. package/lib/utils/error.js +18 -16
  332. package/lib/utils/events.js +37 -30
  333. package/lib/utils/externalGroup.js +25 -21
  334. package/lib/utils/externalProviders.js +8 -4
  335. package/lib/utils/externalTerms.js +9 -6
  336. package/lib/utils/fetch.d.ts +1 -1
  337. package/lib/utils/fetch.js +179 -176
  338. package/lib/utils/group.js +17 -9
  339. package/lib/utils/groupDates.d.ts +1 -1
  340. package/lib/utils/groupDates.js +43 -39
  341. package/lib/utils/groupRoles.js +28 -28
  342. package/lib/utils/lockDownBrowser.js +16 -12
  343. package/lib/utils/logger.js +30 -25
  344. package/lib/utils/lti.js +10 -5
  345. package/lib/utils/model.d.ts +2 -2
  346. package/lib/utils/model.js +35 -44
  347. package/lib/utils/number.js +13 -16
  348. package/lib/utils/promise.d.ts +6 -1
  349. package/lib/utils/promise.js +34 -15
  350. package/lib/utils/quill.js +60 -71
  351. package/lib/utils/route.d.ts +2 -2
  352. package/lib/utils/route.js +61 -60
  353. package/lib/utils/search.d.ts +1 -1
  354. package/lib/utils/search.js +78 -85
  355. package/lib/utils/shard.js +38 -41
  356. package/lib/utils/sort.d.ts +3 -3
  357. package/lib/utils/sort.js +62 -58
  358. package/lib/utils/string.js +14 -10
  359. package/lib/utils/table.d.ts +3 -3
  360. package/lib/utils/table.js +36 -33
  361. package/lib/utils/timezone.js +12 -26
  362. package/lib/utils/url.d.ts +2 -1
  363. package/lib/utils/url.js +139 -193
  364. package/lib/utils/user.js +59 -61
  365. package/lib/utils/userAgent.js +11 -11
  366. package/lib/utils/userRole.d.ts +3 -3
  367. package/lib/utils/userRole.js +46 -44
  368. package/package.json +90 -73
  369. package/lib/config/eslint/index.cjs +0 -21
  370. package/lib/config/eslint/lib/order.cjs +0 -22
  371. package/lib/config/eslint/lib/prettier.cjs +0 -18
  372. package/lib/config/eslint/lib/typescript.cjs +0 -86
  373. package/lib/config/eslint/react.cjs +0 -9
  374. package/lib/css/utils/_focus.css +0 -4
@@ -1,68 +1,70 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.convertToUserWithRoles = exports.sortByHighestAccessRole = exports.sortByRole = exports.getRoleText = exports.isExternal = exports.getUserId = void 0;
4
- var baseRole_1 = require("./baseRole");
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.sortByRole = exports.sortByHighestAccessRole = exports.isExternal = exports.getUserId = exports.getRoleText = exports.convertToUserWithRoles = void 0;
7
+ var _baseRole = require("./baseRole");
5
8
  /**
6
9
  * Get the user id for a `userRole`, either a `UserRole` or `EntityUserRole`.
7
10
  * @param userRole The user role
8
11
  */
9
- var getUserId = function (userRole) {
10
- return Object.prototype.hasOwnProperty.call(userRole, 'userId') ? userRole.userId : userRole.id;
11
- };
12
- exports.getUserId = getUserId;
12
+ const getUserId = userRole => Object.prototype.hasOwnProperty.call(userRole, 'userId') ? userRole.userId : userRole.id;
13
+
13
14
  /**
14
15
  * Get whether or not the `userRole` has a prop `isExternal` and it is `true`.
15
16
  * @param userRole The user role
16
17
  */
17
- var isExternal = function (userRole) {
18
- return Object.prototype.hasOwnProperty.call(userRole, 'isExternal') && userRole.isExternal === true;
19
- };
20
- exports.isExternal = isExternal;
18
+ exports.getUserId = getUserId;
19
+ const isExternal = userRole => Object.prototype.hasOwnProperty.call(userRole, 'isExternal') && userRole.isExternal === true;
20
+
21
21
  /**
22
22
  * Get the text for the given `userRole.role`. Defaults to using `textForBaseRole`.
23
23
  * @param textForRole Override method for providing role text
24
24
  */
25
- var getRoleText = function (textForRole) { return function (a) {
26
- return textForRole ? textForRole(a.role) : baseRole_1.textForBaseRole(a.role);
27
- }; };
28
- exports.getRoleText = getRoleText;
25
+ exports.isExternal = isExternal;
26
+ const getRoleText = textForRole => a => textForRole ? textForRole(a.role) : (0, _baseRole.textForBaseRole)(a.role);
27
+
29
28
  /**
30
29
  * Sort the userRoles by role, using the provided `roles` order
31
30
  * @param roles Roles ordered in descing access level
32
31
  */
33
- var sortByRole = function (roles) { return function (a, b) {
34
- var aIndex = roles.indexOf(a.role);
35
- var bIndex = roles.indexOf(b.role);
36
- if (aIndex !== bIndex) {
37
- return aIndex > bIndex ? 1 : -1;
38
- }
39
- return 0;
40
- }; };
41
- exports.sortByRole = sortByRole;
32
+ exports.getRoleText = getRoleText;
33
+ const sortByRole = roles => (a, b) => {
34
+ const aIndex = roles.indexOf(a.role);
35
+ const bIndex = roles.indexOf(b.role);
36
+ if (aIndex !== bIndex) {
37
+ return aIndex > bIndex ? 1 : -1;
38
+ }
39
+ return 0;
40
+ };
41
+
42
42
  /**
43
43
  * Sort the users by role, using the provided `roles` order
44
44
  * @param roles Roles ordered in descing access level
45
45
  */
46
- var sortByHighestAccessRole = function (roles) { return function (a, b) {
47
- var aRole = a.roles.sort(exports.sortByRole(roles))[0].role;
48
- var bRole = b.roles.sort(exports.sortByRole(roles))[0].role;
49
- var aIndex = roles.indexOf(aRole);
50
- var bIndex = roles.indexOf(bRole);
51
- if (aIndex !== bIndex) {
52
- return aIndex > bIndex ? 1 : -1;
53
- }
54
- return 0;
55
- }; };
46
+ exports.sortByRole = sortByRole;
47
+ const sortByHighestAccessRole = roles => (a, b) => {
48
+ const aRole = a.roles.sort(sortByRole(roles))[0].role;
49
+ const bRole = b.roles.sort(sortByRole(roles))[0].role;
50
+ const aIndex = roles.indexOf(aRole);
51
+ const bIndex = roles.indexOf(bRole);
52
+ if (aIndex !== bIndex) {
53
+ return aIndex > bIndex ? 1 : -1;
54
+ }
55
+ return 0;
56
+ };
56
57
  exports.sortByHighestAccessRole = sortByHighestAccessRole;
57
- var convertToUserWithRoles = function (userRole) {
58
- var userId = exports.getUserId(userRole);
59
- return {
60
- id: userId,
61
- firstName: userRole.firstName,
62
- lastName: userRole.lastName,
63
- email: userRole.email,
64
- uid: userRole.uid,
65
- roles: [userRole]
66
- };
58
+ const convertToUserWithRoles = userRole => {
59
+ const userId = getUserId(userRole);
60
+ return {
61
+ id: userId,
62
+ firstName: userRole.firstName,
63
+ lastName: userRole.lastName,
64
+ email: userRole.email,
65
+ uid: userRole.uid,
66
+ roles: [userRole]
67
+ };
67
68
  };
68
69
  exports.convertToUserWithRoles = convertToUserWithRoles;
70
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJfYmFzZVJvbGUiLCJyZXF1aXJlIiwiZ2V0VXNlcklkIiwidXNlclJvbGUiLCJPYmplY3QiLCJwcm90b3R5cGUiLCJoYXNPd25Qcm9wZXJ0eSIsImNhbGwiLCJ1c2VySWQiLCJpZCIsImV4cG9ydHMiLCJpc0V4dGVybmFsIiwiZ2V0Um9sZVRleHQiLCJ0ZXh0Rm9yUm9sZSIsImEiLCJyb2xlIiwidGV4dEZvckJhc2VSb2xlIiwic29ydEJ5Um9sZSIsInJvbGVzIiwiYiIsImFJbmRleCIsImluZGV4T2YiLCJiSW5kZXgiLCJzb3J0QnlIaWdoZXN0QWNjZXNzUm9sZSIsImFSb2xlIiwic29ydCIsImJSb2xlIiwiY29udmVydFRvVXNlcldpdGhSb2xlcyIsImZpcnN0TmFtZSIsImxhc3ROYW1lIiwiZW1haWwiLCJ1aWQiXSwic291cmNlcyI6WyIuLi8uLi9zcmMvdXRpbHMvdXNlclJvbGUudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVXNlclJvbGUsIFVzZXJXaXRoUm9sZXMgfSBmcm9tICcuLi90eXBlcy9Vc2VyUm9sZSdcbmltcG9ydCB7IHRleHRGb3JCYXNlUm9sZSB9IGZyb20gJy4vYmFzZVJvbGUnXG5cbi8qKlxuICogR2V0IHRoZSB1c2VyIGlkIGZvciBhIGB1c2VyUm9s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FBQSxzQkFBQSIsImlnbm9yZUxpc3QiOltdfQ==
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "studiokit-scaffolding-js",
3
- "version": "7.0.14-alpha.1",
3
+ "version": "7.1.1",
4
4
  "description": "Common scaffolding for Studio apps at Purdue",
5
5
  "repository": "https://gitlab.com/purdue-informatics/studiokit/studiokit-scaffolding-js",
6
6
  "license": "MIT",
@@ -10,10 +10,11 @@
10
10
  "lib"
11
11
  ],
12
12
  "scripts": {
13
- "build": "yarn clean && tsc -p ./tsconfig.build.json && yarn copy",
14
- "build:watch": "tsc -p ./tsconfig.build.json -w",
13
+ "build": "yarn clean && tsc -p ./tsconfig.build.json && yarn build:babel && yarn copy",
14
+ "build:babel": "yarn babel src --extensions \".ts,.tsx,.js,.jsx\" --out-dir lib --ignore \"**/*.test.ts,**/*.test.tsx,src/setupTests.ts\" --source-maps inline",
15
+ "typecheck": "tsc -p ./tsconfig.build.json --noEmit",
15
16
  "clean": "rimraf ./lib",
16
- "copy": "copyfiles -u 1 \"src/**/*.css\" lib && copyfiles -u 1 \"src/config/**/*.cjs\" lib",
17
+ "copy": "copyfiles -u 1 \"src/**/*.css\" lib && copyfiles lib",
17
18
  "coverage": "jest --coverage",
18
19
  "fix": "run-s 'fix:**'",
19
20
  "fix:code": "yarn lint:code --fix",
@@ -25,17 +26,17 @@
25
26
  "prepublishOnly": "yarn build",
26
27
  "test": "jest",
27
28
  "test:ci": "cross-env CI=true yarn test",
28
- "test:ci-junit": "cross-env CI=true npm run test -- --coverage --reporters='default' --reporters='jest-junit' --coverageReporters='cobertura' --coverageReporters='html'"
29
+ "test:ci-junit": "cross-env CI=true yarn test -- --coverage --reporters='default' --reporters='jest-junit' --coverageReporters='cobertura' --coverageReporters='html'"
29
30
  },
30
31
  "husky": {
31
32
  "hooks": {
32
33
  "pre-commit": "lint-staged",
33
- "pre-push": "npm run test"
34
+ "pre-push": "yarn test"
34
35
  }
35
36
  },
36
37
  "lint-staged": {
37
38
  "**/*.(j|t)s?(x)": [
38
- "yarn lint-code-core --fix"
39
+ "yarn fix:code"
39
40
  ],
40
41
  "*.css": [
41
42
  "stylelint --fix"
@@ -47,7 +48,7 @@
47
48
  "stylelint": {
48
49
  "extends": "stylelint-config-standard",
49
50
  "rules": {
50
- "indentation": "tab",
51
+ "import-notation": null,
51
52
  "at-rule-no-unknown": [
52
53
  true,
53
54
  {
@@ -55,7 +56,11 @@
55
56
  "import-glob"
56
57
  ]
57
58
  }
58
- ]
59
+ ],
60
+ "media-feature-range-notation": null,
61
+ "property-no-vendor-prefix": null,
62
+ "selector-class-pattern": null,
63
+ "selector-not-notation": "simple"
59
64
  },
60
65
  "ignoreFiles": "src/**/*.{ts,tsx,js,jsx}"
61
66
  },
@@ -75,40 +80,39 @@
75
80
  "preset": "ts-jest",
76
81
  "setupFilesAfterEnv": [
77
82
  "./src/setupTests.ts"
78
- ]
83
+ ],
84
+ "testEnvironment": "jsdom"
79
85
  },
80
86
  "resolutions": {
81
- "@sentry/browser": "^7.113.0",
82
- "@types/node": "~18.6.0",
83
- "@types/react": "^17.0.0",
87
+ "@sentry/browser": "10.23.0",
88
+ "@types/node": "~20.19.0",
89
+ "@types/react": "^17.0.89",
84
90
  "@types/react-router": "^5.1.11",
85
91
  "kind-of": "^6.0.3",
86
92
  "mixin-deep": "^1.3.2",
87
93
  "set-value": "^2.0.1"
88
94
  },
89
95
  "dependencies": {
90
- "@material-ui/core": "^4.11.3",
91
- "@material-ui/icons": "^4.11.2",
92
- "@material-ui/lab": "^4.0.0-alpha.57",
96
+ "@babel/runtime": "^7.28.4",
97
+ "@material-ui/core": "^4.12.4",
98
+ "@material-ui/icons": "^4.11.3",
99
+ "@material-ui/lab": "^4.0.0-alpha.61",
93
100
  "@microsoft/applicationinsights-web": "^3.1.0",
94
- "@redux-saga/core": "^1.1.3",
95
- "@redux-saga/types": "^1.1.0",
96
- "@sentry/react": "^7.113.0",
97
- "@types/history": "^4.7.8",
98
- "@types/lodash": "^4.14.202",
99
- "@types/pluralize": "^0.0.29",
101
+ "@redux-saga/core": "^1.4.2",
102
+ "@redux-saga/types": "^1.3.1",
103
+ "@sentry/react": "^10.23.0",
104
+ "@types/history": "^4.7.11",
105
+ "@types/lodash": "^4.17.20",
100
106
  "@types/quill": "^1.3.10",
101
- "@types/react": "^17.0.0",
102
- "@types/react-dom": "^17.0.0",
107
+ "@types/react-dom": "^17.0.26",
103
108
  "@types/react-helmet": "^6.1.0",
104
109
  "@types/react-modal": "^3.10.6",
105
110
  "@types/react-redux": "^7.1.16",
106
111
  "@types/react-router": "^5.1.11",
107
- "@types/react-router-bootstrap": "^0.24.5",
112
+ "@types/react-router-bootstrap": "~0.24.5",
108
113
  "@types/react-router-dom": "^5.1.7",
109
114
  "@types/react-table": "^6.8.7",
110
115
  "@types/redux-logger": "3.0.12",
111
- "@types/uuid": "^8.3.0",
112
116
  "bootstrap": "^4.6.0",
113
117
  "compare-versions": "^3.6.0",
114
118
  "connected-react-router": "^6.8.0",
@@ -117,77 +121,90 @@
117
121
  "local-storage-fallback": "^4.1.2",
118
122
  "lodash": "^4.17.21",
119
123
  "memoize-one": "^6.0.0",
120
- "moment": "^2.29.4",
121
- "moment-timezone": "^0.5.43",
124
+ "moment": "^2.30.1",
125
+ "moment-timezone": "^0.6.0",
122
126
  "parchment": "^1.1.4",
123
127
  "pluralize": "^8.0.0",
124
- "prop-types": "^15.7.2",
128
+ "prop-types": "^15.8.1",
125
129
  "query-string": "^6.13.8",
126
130
  "quill": "^1.3.7",
127
131
  "quill-blot-formatter": "purdue-tlt/quill-blot-formatter#a01562a213eb615abcdf2963457890e81ebc1ab3",
128
- "react-bootstrap": "^1.4.3",
132
+ "react-bootstrap": "^1.6.8",
133
+ "react-compiler-runtime": "^1.0.0",
129
134
  "react-ga4": "^2.1.0",
130
135
  "react-helmet": "^6.1.0",
131
- "react-modal": "^3.12.1",
136
+ "react-modal": "^3.16.3",
132
137
  "react-quill": "purdue-tlt/react-quill#fix/auto-focus",
133
- "react-redux": "^7.2.2",
134
- "react-router": "^5.2.0",
135
- "react-router-bootstrap": "^0.25.0",
136
- "react-router-dom": "^5.2.0",
138
+ "react-redux": "^7.2.9",
139
+ "react-router": "^5.3.4",
140
+ "react-router-bootstrap": "~0.25.0",
141
+ "react-router-dom": "^5.3.4",
137
142
  "react-super-responsive-table": "^5.2.0",
138
143
  "react-table": "^6.11.5",
139
- "redux": "^4.0.5",
140
- "redux-devtools-extension": "^2.13.8",
144
+ "redux": "^4.2.1",
145
+ "redux-devtools-extension": "^2.13.9",
141
146
  "redux-logger": "^3.0.6",
142
147
  "redux-persist": "^6.0.0",
143
- "redux-saga": "^1.1.3",
144
- "studiokit-caliper-js": "^1.0.25",
148
+ "redux-saga": "^1.3.0",
149
+ "studiokit-caliper-js": "1.0.27",
145
150
  "tachyons": "^4.12.0",
146
- "tslib": "^2.1.0",
147
- "uuid": "^8.3.2"
151
+ "tslib": "^2.8.1",
152
+ "uuid": "^11.1.0"
148
153
  },
149
154
  "devDependencies": {
150
- "@redux-saga/testing-utils": "^1.1.3",
151
- "@types/enzyme": "^3.10.8",
152
- "@types/enzyme-adapter-react-16": "^1.0.6",
153
- "@types/jest": "^26.0.20",
154
- "@types/mockdate": "^2.0.0",
155
- "@types/react": "^17.0.0",
156
- "@typescript-eslint/eslint-plugin": "4.33.0",
157
- "@typescript-eslint/parser": "4.33.0",
158
- "@wojtekmaj/enzyme-adapter-react-17": "^0.4.1",
159
- "babel-eslint": "^10.1.0",
155
+ "@babel/cli": "^7.28.3",
156
+ "@babel/core": "^7.28.4",
157
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
158
+ "@babel/plugin-transform-runtime": "^7.28.3",
159
+ "@babel/preset-env": "^7.28.3",
160
+ "@babel/preset-react": "^7.27.1",
161
+ "@babel/preset-typescript": "^7.27.1",
162
+ "@eslint/js": "^9.39.1",
163
+ "@redux-saga/testing-utils": "^1.1.5",
164
+ "@types/enzyme": "^3.10.19",
165
+ "@types/enzyme-adapter-react-16": "^1.0.9",
166
+ "@types/eslint-plugin-jsx-a11y": "^6.10.1",
167
+ "@types/jest": "^30.0.0",
168
+ "@types/mockdate": "^3.0.0",
169
+ "@types/pluralize": "^0.0.33",
170
+ "@types/react": "^17.0.89",
171
+ "@typescript-eslint/parser": "^8.46.3",
172
+ "@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
173
+ "babel-plugin-react-compiler": "^1.0.0",
160
174
  "copyfiles": "^2.4.1",
161
175
  "cross-env": "^7.0.3",
162
176
  "enzyme": "^3.11.0",
163
- "eslint": "^7.32.0",
164
- "eslint-config-prettier": "^7.2.0",
165
- "eslint-config-react-app": "^6.0.0",
166
- "eslint-import-resolver-node": "^0.3.9",
167
- "eslint-plugin-flowtype": "^5.10.0",
168
- "eslint-plugin-import": "~2.22.1",
169
- "eslint-plugin-jsx-a11y": "^6.9.0",
170
- "eslint-plugin-prettier": "^3.4.1",
171
- "eslint-plugin-react": "^7.35.0",
172
- "eslint-plugin-react-hooks": "^4.6.2",
177
+ "eslint": "^9.39.1",
178
+ "eslint-config-prettier": "^10.1.8",
179
+ "eslint-import-resolver-typescript": "^4.4.4",
180
+ "eslint-plugin-import": "~2.32.0",
181
+ "eslint-plugin-jsx-a11y": "^6.10.2",
182
+ "eslint-plugin-prettier": "~5.3.1",
183
+ "eslint-plugin-react": "^7.37.5",
184
+ "eslint-plugin-react-hooks": "^7.0.1",
185
+ "globals": "^16.5.0",
173
186
  "husky": "^4.3.8",
174
187
  "identity-obj-proxy": "^3.0.0",
175
- "jest": "^26.6.0",
176
- "jest-each": "^26.6.0",
188
+ "jest": "^30.2.0",
189
+ "jest-each": "^30.2.0",
190
+ "jest-environment-jsdom": "^30.2.0",
177
191
  "jest-fetch-mock": "^3.0.3",
178
- "jest-junit": "^12.0.0",
192
+ "jest-junit": "^16.0.0",
193
+ "jest-util": "^30.2.0",
194
+ "jiti": "^2.6.1",
179
195
  "lint-staged": "^10.5.3",
180
- "mockdate": "^3.0.2",
196
+ "mockdate": "^3.0.5",
181
197
  "npm-run-all": "^4.1.5",
182
- "prettier": "~2.2.1",
198
+ "prettier": "~3.6.2",
183
199
  "react": "^17.0.2",
184
- "react-dom": "^17.0.1",
200
+ "react-dom": "^17.0.2",
185
201
  "rimraf": "^3.0.2",
186
- "sort-package-json": "^1.48.1",
187
- "stylelint": "^13.9.0",
188
- "stylelint-config-standard": "^20.0.0",
189
- "ts-jest": "^26.4.4",
190
- "typescript": "~4.1.6"
202
+ "sort-package-json": "^1.57.0",
203
+ "stylelint": "^16.25.0",
204
+ "stylelint-config-standard": "^39.0.1",
205
+ "ts-jest": "^29.4.5",
206
+ "typescript": "~5.9.3",
207
+ "typescript-eslint": "^8.46.3"
191
208
  },
192
209
  "peerDependencies": {
193
210
  "@types/react": "^17.0.0",
@@ -203,5 +220,5 @@
203
220
  "optional": true
204
221
  }
205
222
  },
206
- "packageManager": "yarn@4.4.0"
223
+ "packageManager": "yarn@4.10.3"
207
224
  }
@@ -1,21 +0,0 @@
1
- module.exports = {
2
- parser: 'babel-eslint',
3
- parserOptions: {
4
- ecmaVersion: 2018,
5
- sourceType: 'module'
6
- },
7
- env: {
8
- es6: true,
9
- node: true,
10
- browser: true,
11
- jest: true
12
- },
13
- extends: ['eslint:recommended', './lib/order.cjs', 'prettier', './lib/prettier.cjs'],
14
- plugins: ['import', 'prettier'],
15
- overrides: [
16
- {
17
- files: ['**/*.ts?(x)'],
18
- extends: ['./lib/typescript.cjs']
19
- }
20
- ]
21
- }
@@ -1,22 +0,0 @@
1
- module.exports = {
2
- rules: {
3
- 'import/order': [
4
- 'error',
5
- {
6
- groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index'],
7
- alphabetize: {
8
- order: 'asc',
9
- caseInsensitive: true
10
- }
11
- }
12
- ],
13
- 'sort-imports': [
14
- 'error',
15
- {
16
- ignoreCase: true,
17
- ignoreDeclarationSort: true,
18
- ignoreMemberSort: false
19
- }
20
- ]
21
- }
22
- }
@@ -1,18 +0,0 @@
1
- module.exports = {
2
- rules: {
3
- 'prettier/prettier': [
4
- 'error',
5
- {
6
- trailingComma: 'none',
7
- useTabs: true,
8
- tabWidth: 4,
9
- semi: false,
10
- singleQuote: true,
11
- printWidth: 120,
12
- jsxBracketSameLine: true,
13
- arrowParens: 'avoid',
14
- endOfLine: 'auto'
15
- }
16
- ]
17
- }
18
- }
@@ -1,86 +0,0 @@
1
- module.exports = {
2
- parser: '@typescript-eslint/parser',
3
- parserOptions: {
4
- sourceType: 'module'
5
- // project: 'tsconfig.json', // set this in your project overrides
6
- },
7
- env: {
8
- es6: true,
9
- node: true,
10
- browser: true,
11
- jest: true
12
- },
13
- extends: [
14
- 'eslint:recommended',
15
- 'plugin:@typescript-eslint/eslint-recommended',
16
- 'plugin:@typescript-eslint/recommended',
17
- 'plugin:@typescript-eslint/recommended-requiring-type-checking',
18
- './order.cjs',
19
- 'prettier',
20
- 'prettier/@typescript-eslint',
21
- './prettier.cjs'
22
- ],
23
- plugins: ['@typescript-eslint', 'import', 'prettier'],
24
- rules: {
25
- '@typescript-eslint/explicit-function-return-type': 'off',
26
- '@typescript-eslint/explicit-module-boundary-types': 'off',
27
- '@typescript-eslint/interface-name-prefix': 'off',
28
- '@typescript-eslint/member-delimiter-style': [
29
- 'off',
30
- {
31
- multiline: {
32
- delimiter: 'none',
33
- requireLast: true
34
- },
35
- singleline: {
36
- delimiter: 'semi',
37
- requireLast: false
38
- }
39
- }
40
- ],
41
- '@typescript-eslint/no-empty-interface': 'off',
42
- '@typescript-eslint/no-explicit-any': 'off',
43
- '@typescript-eslint/no-unsafe-assignment': 'off',
44
- '@typescript-eslint/no-unsafe-return': 'off',
45
- '@typescript-eslint/no-unsafe-member-access': 'off',
46
- '@typescript-eslint/no-unsafe-call': 'off',
47
- '@typescript-eslint/restrict-template-expressions': 'off',
48
-
49
- '@typescript-eslint/ban-ts-comment': [
50
- 'error',
51
- {
52
- 'ts-expect-error': 'allow-with-description',
53
- 'ts-ignore': 'allow-with-description',
54
- 'ts-nocheck': 'allow-with-description',
55
- 'ts-check': false,
56
- minimumDescriptionLength: 3
57
- }
58
- ],
59
-
60
- '@typescript-eslint/ban-types': [
61
- 'error',
62
- {
63
- types: {
64
- '{}': false
65
- }
66
- }
67
- ],
68
-
69
- 'no-use-before-define': 'off',
70
- '@typescript-eslint/no-use-before-define': [
71
- 'warn',
72
- {
73
- functions: false,
74
- classes: false,
75
- variables: false,
76
- typedefs: false
77
- }
78
- ],
79
-
80
- semi: 'off',
81
- '@typescript-eslint/semi': ['off', null],
82
-
83
- camelcase: 'off',
84
- '@typescript-eslint/camelcase': 'off'
85
- }
86
- }
@@ -1,9 +0,0 @@
1
- module.exports = {
2
- extends: ['react-app', './index.cjs', 'prettier/react', './lib/prettier.cjs'],
3
- overrides: [
4
- {
5
- files: ['**/*.ts?(x)'],
6
- extends: ['react-app', './lib/typescript.cjs', 'prettier/react', './lib/prettier.cjs']
7
- }
8
- ]
9
- }
@@ -1,4 +0,0 @@
1
- /* global visible focus */
2
- :focus-visible {
3
- outline: 0.2rem solid var(--color-focus-outline);
4
- }