Uploaded image for project: 'ui-data-export'
  1. ui-data-export
  2. UIDEXP-234

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

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 5.0.0
    • None
    • Firebird Sprint 120
    • 1
    • Firebird

    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-export/src/settings/DataExportSettings/DataExportSettings.js:13:import { Callout } from '@folio/stripes-components';
      ./ui-data-export/src/settings/MappingProfiles/DuplicateMappingProfileRoute/DuplicateMappingProfileRoute.js:4:import { stripesConnect } from '@folio/stripes-core';
      ./ui-data-export/src/settings/MappingProfiles/MappingProfilesTransformationsModal/TransformationsField/TransformationFieldGroup/TransformationFieldGroup.js:11:} from '@folio/stripes-components';
      ./ui-data-export/src/settings/MappingProfiles/MappingProfileDetailsRoute/MappingProfileDetailsRoute.js:8:import { stripesConnect } from '@folio/stripes-core';
      ./ui-data-export/src/settings/MappingProfiles/MappingProfilesForm/FolioRecordTypeField/utils/constants.js:5:import { InfoPopover } from '@folio/stripes-components';
      ./ui-data-export/src/settings/MappingProfiles/EditMappingProfileRoute/EditMappingProfileRoute.js:6:import { stripesConnect } from '@folio/stripes-core';
      ./ui-data-export/src/components/MultiColumnList/GridCell/GridCell.css:2:  composes: mclCell from '@folio/stripes-components/lib/MultiColumnList/MCLRenderer.css';
      ./ui-data-export/src/components/MultiColumnList/GridCell/GridCell.css:3:  composes: mclCellStyle from '@folio/stripes-components/lib/MultiColumnList/MCLRenderer.css';
      ./ui-data-export/src/components/MultiColumnList/HeaderGridRow/HeaderRow.css:2:  composes: mclHeaderRow from '@folio/stripes-components/lib/MultiColumnList/MCLRenderer.css';
      ./ui-data-export/src/components/MultiColumnList/HeaderGridRow/HeaderRow.css:6:  composes: mclHeader from '@folio/stripes-components/lib/MultiColumnList/MCLRenderer.css';
      ./ui-data-export/src/components/MultiColumnList/GridRow/GridRow.css:2:  composes: mclRow from '@folio/stripes-components/lib/MultiColumnList/MCLRenderer.css';
      ./ui-data-export/src/components/MultiColumnList/GridRow/GridRow.css:6:  composes: mclIsOdd from '@folio/stripes-components/lib/MultiColumnList/MCLRenderer.css';
      
      

      Attn: Viktor Soroka

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                vash Vadym Shchekotilin
                zburke Zak_Burke
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases