diff --git a/CHANGELOG.md b/CHANGELOG.md index ed2948056..0a0812763 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ * `` use `lodash.isEmpty` to check for empty `state.status` in re-initialization checks on component update. Fixes STSMACOM-876. * `` improve "Display as pop-up" markup and fix label a11y issue. Refs STSMACOM-882. * Change the request URL limit for `REQUEST_URL_LIMIT` due to increase to 8192. Refs STSMACOM-887. +* Correctly import from `stripes-*` libraries. Refs STSMACOM-884. ## [9.2.3] IN PROGRESS diff --git a/lib/ChangeDueDateDialog/LoanList.js b/lib/ChangeDueDateDialog/LoanList.js index e73c64406..4e2454ea8 100644 --- a/lib/ChangeDueDateDialog/LoanList.js +++ b/lib/ChangeDueDateDialog/LoanList.js @@ -3,7 +3,7 @@ import PropTypes from 'prop-types'; import { get } from 'lodash'; import { FormattedMessage, FormattedTime, useIntl } from 'react-intl'; import { Checkbox, MultiColumnList } from '@folio/stripes-components'; -import getEffectiveCallNumber from '@folio/stripes-util/lib/effectiveCallNumber'; +import { getEffectiveCallNumber } from '@folio/stripes-util'; const propTypes = { alerts: PropTypes.object, diff --git a/lib/PasswordValidationField/PasswordValidationField.js b/lib/PasswordValidationField/PasswordValidationField.js index 0dbc4e6c4..dffd25864 100644 --- a/lib/PasswordValidationField/PasswordValidationField.js +++ b/lib/PasswordValidationField/PasswordValidationField.js @@ -6,8 +6,7 @@ import { Field as ReduxFormField } from 'redux-form'; import { Field as FinalFormField } from 'react-final-form'; import isEmpty from 'lodash/isEmpty'; -import { TextField } from '@folio/stripes-components'; -import omitProps from '@folio/stripes-components/util/omitProps'; +import { TextField, omitProps } from '@folio/stripes-components'; const defaultValidationHandler = (errors) => { if (!isEmpty(errors)) { diff --git a/lib/SearchAndSort/advancedSearchQueryToRows.js b/lib/SearchAndSort/advancedSearchQueryToRows.js index 7677625a2..a35b02606 100644 --- a/lib/SearchAndSort/advancedSearchQueryToRows.js +++ b/lib/SearchAndSort/advancedSearchQueryToRows.js @@ -1,8 +1,8 @@ import { - BOOLEAN_OPERATORS, - DEFAULT_SEARCH_OPTION, - MATCH_OPTIONS, -} from '@folio/stripes-components/lib/AdvancedSearch'; + ADVANCED_SEARCH_BOOLEAN_OPERATORS as BOOLEAN_OPERATORS, + ADVANCED_SEARCH_DEFAULT_SEARCH_OPTION as DEFAULT_SEARCH_OPTION, + ADVANCED_SEARCH_MATCH_OPTIONS as MATCH_OPTIONS, +} from '@folio/stripes-components'; const advancedSearchQueryToRows = (queryValue) => { if (!queryValue) {