Uploaded image for project: 'ui-data-import'
  1. ui-data-import
  2. UIDATIMP-927

prefer @folio/stripes exports to private paths when importing components

    XMLWordPrintable

Details

    • Folijet Sprint 115, Folijet Sprint 116
    • 1
    • Folijet

    Description

      Overview: component imports should happen through the @folio/stripes/${repo} namespace rather than directly via the repo's private path. e.g. prefer

      import LocationSelection from '@folio/stripes/smart-components/LocationSelection';
      

      instead of

      import LocationSelection from '@folio/stripes-smart-components/lib/LocationSelection';
      

      The following files contain incorrect imports:

      ./ui-data-import/src/settings/MappingProfiles/detailsSections/edit/MappingMARCBibDetails.js:10:} from '@folio/stripes-components';
      ./ui-data-import/src/settings/MappingProfiles/detailsSections/view/ViewRepeatableField.js:8:} from '@folio/stripes-components';
      ./ui-data-import/src/components/withReferenceValues/withReferenceValues.js:8:import { Label } from '@folio/stripes-components';
      ./ui-data-import/src/components/DatePickerDecorator/DatePickerDecorator.js:14:import { Label } from '@folio/stripes-components';
      ./ui-data-import/src/components/ProhibitionIcon/ProhibitionIcon.js:5:import { Tooltip } from '@folio/stripes-components';
      ./ui-data-import/src/components/ProfileTree/ProfileLinker/LinkerTrigger.js:9:} from '@folio/stripes-components';
      ./ui-data-import/src/components/ProfileTree/ProfileLinker/LinkerButton.js:8:import { Button } from '@folio/stripes-components';
      ./ui-data-import/src/components/ProfileTree/ProfileLinker/LinkerMenu.js:10:} from '@folio/stripes-components';
      ./ui-data-import/src/components/ProfileTree/ProfileLabel.js:18:} from '@folio/stripes-components';
      ./ui-data-import/src/components/ProfileTree/ProfileBranch.js:16:import { Accordion } from '@folio/stripes-components';
      ./ui-data-import/src/components/RecordTypesSelect/components/IncomingRecordMenu.js:8:} from '@folio/stripes-components';
      ./ui-data-import/src/components/MappedHeader/MappedHeader.js:4:import { Headline } from '@folio/stripes-components';
      ./ui-data-import/src/components/TextDate/TextDate.js:24:import { AVAILABLE_PLACEMENTS } from '@folio/stripes-components/lib/Popper';
      
      

      Attn: Ivan Kryzhanovskyi

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Ivan Kryzhanovskyi Ivan Kryzhanovskyi
                zburke Zak_Burke
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases