@k-int/stripes-kint-components 5.1.3 → 5.2.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 (207) hide show
  1. package/CHANGELOG.md +23 -7
  2. package/README.md +3 -1
  3. package/es/lib/constants/comparators.js +6 -1
  4. package/es/lib/utils/filterParsers/deparseKiwtQueryFilters.js +2 -2
  5. package/es/lib/utils/filterParsers/parseKiwtQueryString.js +1 -1
  6. package/package.json +13 -4
  7. package/src/lib/constants/comparators.js +10 -6
  8. package/src/lib/utils/filterParsers/deparseKiwtQueryFilters.js +2 -2
  9. package/src/lib/utils/filterParsers/parseKiwtQueryString.js +0 -1
  10. package/es/artifacts/coverage-jest/lcov-report/block-navigation.js +0 -69
  11. package/es/artifacts/coverage-jest/lcov-report/prettify.js +0 -814
  12. package/es/artifacts/coverage-jest/lcov-report/sorter.js +0 -181
  13. package/junit.xml +0 -293
  14. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +0 -373
  15. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +0 -1468
  16. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +0 -146
  17. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +0 -88
  18. package/src/artifacts/coverage-jest/lcov-report/ComboButton/ComboButton.js.html +0 -568
  19. package/src/artifacts/coverage-jest/lcov-report/ComboButton/index.html +0 -131
  20. package/src/artifacts/coverage-jest/lcov-report/ComboButton/index.js.html +0 -88
  21. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +0 -667
  22. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +0 -1240
  23. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +0 -1474
  24. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +0 -733
  25. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +0 -176
  26. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +0 -97
  27. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/testResources.js.html +0 -793
  28. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEdit.js.html +0 -208
  29. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +0 -352
  30. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +0 -835
  31. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +0 -1300
  32. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +0 -454
  33. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +0 -206
  34. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.js.html +0 -100
  35. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/testResources.js.html +0 -271
  36. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +0 -499
  37. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +0 -568
  38. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +0 -415
  39. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +0 -340
  40. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +0 -502
  41. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +0 -251
  42. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.js.html +0 -103
  43. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/testResources.js.html +0 -223
  44. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +0 -271
  45. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +0 -199
  46. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +0 -253
  47. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +0 -211
  48. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +0 -445
  49. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +0 -619
  50. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +0 -176
  51. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.js.html +0 -94
  52. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/testResources.js.html +0 -571
  53. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.html +0 -116
  54. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.js.html +0 -175
  55. package/src/artifacts/coverage-jest/lcov-report/CycleButton/CycleButton.js.html +0 -217
  56. package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.html +0 -131
  57. package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.js.html +0 -88
  58. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/EditableRefdataCategoryList.js.html +0 -751
  59. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.html +0 -131
  60. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.js.html +0 -88
  61. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +0 -853
  62. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +0 -131
  63. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +0 -88
  64. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +0 -280
  65. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +0 -259
  66. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +0 -412
  67. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +0 -313
  68. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +0 -574
  69. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +0 -161
  70. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +0 -94
  71. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +0 -146
  72. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +0 -94
  73. package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +0 -379
  74. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +0 -131
  75. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +0 -88
  76. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/FormattedKintMessage.js.html +0 -247
  77. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.html +0 -131
  78. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.js.html +0 -88
  79. package/src/artifacts/coverage-jest/lcov-report/IconSelect/IconSelect.js.html +0 -508
  80. package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.html +0 -131
  81. package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.js.html +0 -88
  82. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +0 -361
  83. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +0 -131
  84. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +0 -88
  85. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +0 -205
  86. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +0 -131
  87. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +0 -88
  88. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +0 -370
  89. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +0 -131
  90. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +0 -88
  91. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/ResponsiveButtonGroup.js.html +0 -580
  92. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.html +0 -146
  93. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.js.html +0 -88
  94. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js.html +0 -301
  95. package/src/artifacts/coverage-jest/lcov-report/RichSelect/RichSelect.js.html +0 -718
  96. package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.html +0 -146
  97. package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.js.html +0 -91
  98. package/src/artifacts/coverage-jest/lcov-report/RichSelect/useSelectedOption.js.html +0 -127
  99. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +0 -1069
  100. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +0 -400
  101. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +0 -131
  102. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +0 -88
  103. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +0 -131
  104. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +0 -91
  105. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +0 -346
  106. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +0 -131
  107. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +0 -88
  108. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +0 -307
  109. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +0 -131
  110. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +0 -88
  111. package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +0 -214
  112. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +0 -131
  113. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +0 -88
  114. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +0 -220
  115. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +0 -208
  116. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +0 -146
  117. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +0 -91
  118. package/src/artifacts/coverage-jest/lcov-report/SettingsFormContainer/SettingsFormContainer.js.html +0 -409
  119. package/src/artifacts/coverage-jest/lcov-report/SettingsFormContainer/index.html +0 -131
  120. package/src/artifacts/coverage-jest/lcov-report/SettingsFormContainer/index.js.html +0 -88
  121. package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +0 -913
  122. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +0 -131
  123. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +0 -88
  124. package/src/artifacts/coverage-jest/lcov-report/base.css +0 -224
  125. package/src/artifacts/coverage-jest/lcov-report/block-navigation.js +0 -87
  126. package/src/artifacts/coverage-jest/lcov-report/constants/comparators.js.html +0 -124
  127. package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +0 -121
  128. package/src/artifacts/coverage-jest/lcov-report/constants/endpoints.js.html +0 -91
  129. package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +0 -94
  130. package/src/artifacts/coverage-jest/lcov-report/constants/index.html +0 -161
  131. package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +0 -97
  132. package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +0 -131
  133. package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +0 -91
  134. package/src/artifacts/coverage-jest/lcov-report/favicon.png +0 -0
  135. package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +0 -401
  136. package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +0 -142
  137. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +0 -161
  138. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +0 -94
  139. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useAppSettings.js.html +0 -292
  140. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +0 -214
  141. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +0 -463
  142. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +0 -161
  143. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +0 -94
  144. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +0 -520
  145. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +0 -181
  146. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +0 -163
  147. package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +0 -157
  148. package/src/artifacts/coverage-jest/lcov-report/hooks/useAvailableCustomProperties.js.html +0 -205
  149. package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +0 -325
  150. package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +0 -295
  151. package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKey.js.html +0 -151
  152. package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKeyStore.js.html +0 -199
  153. package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +0 -118
  154. package/src/artifacts/coverage-jest/lcov-report/hooks/useKintIntl.js.html +0 -238
  155. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +0 -274
  156. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +0 -196
  157. package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +0 -136
  158. package/src/artifacts/coverage-jest/lcov-report/hooks/useModConfigEntries.js.html +0 -226
  159. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +0 -283
  160. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateModConfigEntry.js.html +0 -238
  161. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataCategory.js.html +0 -274
  162. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +0 -322
  163. package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +0 -208
  164. package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +0 -265
  165. package/src/artifacts/coverage-jest/lcov-report/hooks/useSASQQueryMeta.js.html +0 -187
  166. package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +0 -166
  167. package/src/artifacts/coverage-jest/lcov-report/index.html +0 -641
  168. package/src/artifacts/coverage-jest/lcov-report/prettify.css +0 -1
  169. package/src/artifacts/coverage-jest/lcov-report/prettify.js +0 -2
  170. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/index.html +0 -161
  171. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/index.js.html +0 -94
  172. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useAppSettings.js.html +0 -292
  173. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettingSection.js.html +0 -211
  174. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettings.js.html +0 -466
  175. package/src/artifacts/coverage-jest/lcov-report/sort-arrow-sprite.png +0 -0
  176. package/src/artifacts/coverage-jest/lcov-report/sorter.js +0 -196
  177. package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +0 -181
  178. package/src/artifacts/coverage-jest/lcov-report/utils/filterParsers/deparseKiwtQueryFilters.js.html +0 -181
  179. package/src/artifacts/coverage-jest/lcov-report/utils/filterParsers/index.html +0 -176
  180. package/src/artifacts/coverage-jest/lcov-report/utils/filterParsers/index.js.html +0 -124
  181. package/src/artifacts/coverage-jest/lcov-report/utils/filterParsers/parseKiwtQueryFilters.js.html +0 -211
  182. package/src/artifacts/coverage-jest/lcov-report/utils/filterParsers/parseKiwtQueryGroups.js.html +0 -367
  183. package/src/artifacts/coverage-jest/lcov-report/utils/filterParsers/parseKiwtQueryString.js.html +0 -184
  184. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +0 -109
  185. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +0 -637
  186. package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +0 -124
  187. package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +0 -211
  188. package/src/artifacts/coverage-jest/lcov-report/utils/index.html +0 -341
  189. package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +0 -190
  190. package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +0 -127
  191. package/src/artifacts/coverage-jest/lcov-report/utils/modConfigEntriesQueryKey.js.html +0 -142
  192. package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +0 -142
  193. package/src/artifacts/coverage-jest/lcov-report/utils/parseKiwtQueryGroups.js.html +0 -361
  194. package/src/artifacts/coverage-jest/lcov-report/utils/parseModConfigEntry.js.html +0 -130
  195. package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +0 -109
  196. package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +0 -112
  197. package/src/artifacts/coverage-jest/lcov-report/utils/renderHelpText.js.html +0 -166
  198. package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +0 -145
  199. package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +0 -130
  200. package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +0 -127
  201. package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +0 -112
  202. package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +0 -370
  203. package/src/artifacts/coverage-jest/lcov-report/validators/index.html +0 -131
  204. package/src/artifacts/coverage-jest/lcov-report/validators/index.js.html +0 -88
  205. package/src/artifacts/coverage-jest/lcov-report/validators/validators.js.html +0 -370
  206. package/src/artifacts/coverage-jest/lcov.info +0 -5423
  207. package/yarn-error.log +0 -129
package/CHANGELOG.md CHANGED
@@ -1,13 +1,29 @@
1
- ## 5.1.3 2023-10-18
2
- * ERM-3055 For custom properties with a pick list, "Not set" should always appear first in the list
1
+ ## [5.2.1](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/compare/v5.2.0...v5.2.1) (2023-10-31)
3
2
 
4
- ## 5.1.2 2023-10-06
5
- * CustomPropertyEdit
6
- * Added sorting by label to refdata type custom property options
7
3
 
8
- ## 5.1.1 2023-10-03
9
- * comparators - added !~ (Does not contain) comparator to constants array
4
+ ### Bug Fixes
5
+
6
+ * Do not add a space after search operator when doing groupings ([969a887](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/commit/969a887861b6286162ab6c48e4bb492f3cd508c4))
7
+
8
+ # [5.2.0](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/compare/v5.1.0...v5.2.0) (2023-10-23)
9
+
10
+
11
+ ### Bug Fixes
10
12
 
13
+ * add semantic release script to package.json ([834206b](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/commit/834206b41d67e9931ad9d02dc706d35f37b816c7))
14
+ * Sorting ([6c7d321](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/commit/6c7d321a92cca6209be114cc2495b346d9c6c7ee))
15
+
16
+
17
+ ### Features
18
+
19
+ * Added comparator ([e955e4e](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/commit/e955e4ee593208b1ae2a30f5603e9fb3d1469a67))
20
+ * **build:** Cause a bump to 5.2 and update reade ([582333d](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/commit/582333d46fcd489ea01a820199fbffeef7ce7280))
21
+ * CustomPropertyField multi-value ([1fb183d](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/commit/1fb183d9792947a6180a4a9d013ac33900d89dad))
22
+
23
+ ## 5.2.0 In progress
24
+ * comparators - added !~ (Does not contain) comparator to constants array
25
+ * CustomPropertyEdit
26
+ * Added sorting by label to refdata type custom property options
11
27
  ## 5.1.0 2023-09-26
12
28
  * KIWT filter parsers
13
29
  * parseKiwtQueryFilters - will parse grouped KIWT query strings into structured array
package/README.md CHANGED
@@ -43,4 +43,6 @@ Release major | Latest release | Flower releases present in (ERM) | Flower compa
43
43
  v1 | 1.7.0 | Lotus | Kiwi - Morning Glory |
44
44
  v2 | 2.8.6 | Morning Glory | Kiwi - Morning Glory |
45
45
  v3 | 3.2.3 | Nolana | Morning Glory - Nolana |
46
- v4 | 4.7.0 | Orchid | Morning Glory - Orchid+ |
46
+ v4 | 4.7.0 | Orchid | Morning Glory - Orchid+ |
47
+ v5 | 5.1.3 | Poppy | Morning Glory - Poppy+ |
48
+
@@ -4,4 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _default = exports.default = ['==', '!=', '=~', '!~', '=i=', 'isEmpty', 'isNotEmpty', 'isSet', 'isNotSet', 'isNull', 'isNotNull'];
7
+ var _default = exports.default = ['==', '!=', '=~', '!~', '=i=',
8
+ /*
9
+ * The following comparators include a space, it is _important_ that this space is here.
10
+ * Note that this defines the "default" usage of comparators to be UNSPACED
11
+ */
12
+ ' isEmpty', ' isNotEmpty', ' isSet', ' isNotSet', ' isNull', ' isNotNull'];
@@ -6,9 +6,9 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.deparseKiwtQueryFiltersObject = exports.default = void 0;
7
7
  // Does not validate object... make sure you pass it the right thing
8
8
  const deparseKiwtQueryFiltersObject = queryObject => {
9
- let returnString = `${queryObject.path} ${queryObject.comparator}`;
9
+ let returnString = `${queryObject.path}${queryObject.comparator}`;
10
10
  if (queryObject.value) {
11
- returnString += ` ${queryObject.value}`;
11
+ returnString += `${queryObject.value}`;
12
12
  }
13
13
  return returnString;
14
14
  };
@@ -18,7 +18,7 @@ const THIRD = 2;
18
18
  const parseKiwtQueryString = queryString => {
19
19
  const comparatorMatch = new RegExp(`(${_comparators.default.join('|')})`);
20
20
  // See parseKiwtQueryGroups for breakdown of why this filter is needed
21
- const splitString = queryString.split(comparatorMatch).map(ss => ss.trim()).filter(Boolean);
21
+ const splitString = queryString.split(comparatorMatch).filter(Boolean);
22
22
 
23
23
  /*
24
24
  * As far as I can tell, with input of a SINGLE query string at a time,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k-int/stripes-kint-components",
3
- "version": "5.1.3",
3
+ "version": "5.2.1",
4
4
  "description": "Stripes Component library for K-Int specific applications",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -14,7 +14,11 @@
14
14
  "build": "yarn build:es",
15
15
  "clean": "rm -rf ./node_modules ./*/node_modules ./yarn.lock && yarn install --ignore-scripts",
16
16
  "clean-build": "yarn clean && yarn build",
17
- "prepare": "yarn build"
17
+ "prepare": "yarn build",
18
+ "semantic-release": "semantic-release"
19
+ },
20
+ "publishConfig": {
21
+ "access": "public"
18
22
  },
19
23
  "dependencies": {
20
24
  "@rehooks/local-storage": "^2.4.4",
@@ -59,7 +63,7 @@
59
63
  "prop-types-extra": ">=1.1.0",
60
64
  "react": "^18.2.0",
61
65
  "react-dom": "^18.2.0",
62
- "react-intl": "^6.4.4",
66
+ "react-intl": "^5.7.0",
63
67
  "react-query": "^3.6.0",
64
68
  "react-redux": "^7.0.0",
65
69
  "react-router": "^5.2.0",
@@ -69,7 +73,12 @@
69
73
  "regenerator-runtime": "^0.13.3",
70
74
  "rxjs": "^6.6.3",
71
75
  "sinon": "^14.0.0",
72
- "typescript": "^2.8.0"
76
+ "typescript": "^2.8.0",
77
+ "@semantic-release/git": "^10.0.1",
78
+ "@semantic-release/gitlab": "^12.0.6",
79
+ "@semantic-release/npm": "^11.0.0",
80
+ "@semantic-release/changelog": "^6.0.3",
81
+ "semantic-release": "^22.0.5"
73
82
  },
74
83
  "peerDependencies": {
75
84
  "@folio/stripes": ">=9.0.0",
@@ -4,10 +4,14 @@ export default [
4
4
  '=~',
5
5
  '!~',
6
6
  '=i=',
7
- 'isEmpty',
8
- 'isNotEmpty',
9
- 'isSet',
10
- 'isNotSet',
11
- 'isNull',
12
- 'isNotNull',
7
+ /*
8
+ * The following comparators include a space, it is _important_ that this space is here.
9
+ * Note that this defines the "default" usage of comparators to be UNSPACED
10
+ */
11
+ ' isEmpty',
12
+ ' isNotEmpty',
13
+ ' isSet',
14
+ ' isNotSet',
15
+ ' isNull',
16
+ ' isNotNull',
13
17
  ];
@@ -1,8 +1,8 @@
1
1
  // Does not validate object... make sure you pass it the right thing
2
2
  export const deparseKiwtQueryFiltersObject = (queryObject) => {
3
- let returnString = `${queryObject.path} ${queryObject.comparator}`;
3
+ let returnString = `${queryObject.path}${queryObject.comparator}`;
4
4
  if (queryObject.value) {
5
- returnString += ` ${queryObject.value}`;
5
+ returnString += `${queryObject.value}`;
6
6
  }
7
7
 
8
8
  return returnString;
@@ -15,7 +15,6 @@ const parseKiwtQueryString = (queryString) => {
15
15
  const comparatorMatch = new RegExp(`(${comparators.join('|')})`);
16
16
  // See parseKiwtQueryGroups for breakdown of why this filter is needed
17
17
  const splitString = queryString.split(comparatorMatch)
18
- .map(ss => ss.trim())
19
18
  .filter(Boolean);
20
19
 
21
20
  /*
@@ -1,69 +0,0 @@
1
- "use strict";
2
-
3
- /* eslint-disable */
4
- var jumpToCode = function init() {
5
- // Classes of code we would like to highlight in the file view
6
- var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no'];
7
-
8
- // Elements to highlight in the file listing view
9
- var fileListingElements = ['td.pct.low'];
10
-
11
- // We don't want to select elements that are direct descendants of another match
12
- var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > `
13
-
14
- // Selecter that finds elements on the page to which we can jump
15
- var selector = fileListingElements.join(', ') + ', ' + notSelector + missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b`
16
-
17
- // The NodeList of matching elements
18
- var missingCoverageElements = document.querySelectorAll(selector);
19
- var currentIndex;
20
- function toggleClass(index) {
21
- missingCoverageElements.item(currentIndex).classList.remove('highlighted');
22
- missingCoverageElements.item(index).classList.add('highlighted');
23
- }
24
- function makeCurrent(index) {
25
- toggleClass(index);
26
- currentIndex = index;
27
- missingCoverageElements.item(index).scrollIntoView({
28
- behavior: 'smooth',
29
- block: 'center',
30
- inline: 'center'
31
- });
32
- }
33
- function goToPrevious() {
34
- var nextIndex = 0;
35
- if (typeof currentIndex !== 'number' || currentIndex === 0) {
36
- nextIndex = missingCoverageElements.length - 1;
37
- } else if (missingCoverageElements.length > 1) {
38
- nextIndex = currentIndex - 1;
39
- }
40
- makeCurrent(nextIndex);
41
- }
42
- function goToNext() {
43
- var nextIndex = 0;
44
- if (typeof currentIndex === 'number' && currentIndex < missingCoverageElements.length - 1) {
45
- nextIndex = currentIndex + 1;
46
- }
47
- makeCurrent(nextIndex);
48
- }
49
- return function jump(event) {
50
- if (document.getElementById('fileSearch') === document.activeElement && document.activeElement != null) {
51
- // if we're currently focused on the search input, we don't want to navigate
52
- return;
53
- }
54
- switch (event.which) {
55
- case 78: // n
56
- case 74:
57
- // j
58
- goToNext();
59
- break;
60
- case 66: // b
61
- case 75: // k
62
- case 80:
63
- // p
64
- goToPrevious();
65
- break;
66
- }
67
- };
68
- }();
69
- window.addEventListener('keydown', jumpToCode);