Skip to content

Releases: folio-org/stripes-smart-components

v10.1.0 - Trillium

14 Apr 20:21

Choose a tag to compare

v10.1.0 - Trillium

  • Apply wrappers with flow() instead of annotations. Refs STSMACOM-896.
  • ConfigManager - Add userId property to retrieve the user's own settings from mod-settings. Refs STSMACOM-902.
  • Pass props for rendering aside content for <EditCustomFieldsRecord>'s accordion. Refs STSMACOM-903.
  • Add hideEditButton, interactive and canClickRow props to NotesSmartAccordion components, add a sort icon for the list headers, and remove the padding of the ql-editor container. Refs STSMACOM-904.
  • Update button label for creating new notes in NotesAccordion. Refs STSMACOM-906.
  • Add configNamePrefix prop to custom fields components to be able to store section titles separately for different entityTypes. Fixes STSMACOM-790.
  • Migrate custom fields from mod-configuration to mod-settings. Fixes STSMACOM-910.
  • Migrate tags from mod-configuration to mod-settings. Refs STSMACOM-911.
  • <ControlledVocab> - added a new onCreateFail prop to allow parent components to specify custom error handling. Refs STSMACOM-913.
  • Settings Custom Fields View - include the "Display in accordion", "Hidden" fields, and re-order the fields. Refs STSMACOM-914.
  • Settings Custom Fields Edit - include the "Display in accordion", "Hidden" fields, and re-order the fields. Refs STSMACOM-916.
  • ConfigManager - added new lastMenu prop and pass it to <Pane>. Refs STSMACOM-918.
  • EditCustomFieldsRecord - add sectionId prop support for accordion-specific field rendering; Add new useCustomFieldsQuery and useSectionTitleQuery hooks to avoid duplicate requests. Refs STSMACOM-920.
  • ViewCustomFieldsRecord - add sectionId prop support for accordion-specific field rendering. Refs STSMACOM-921.
  • EditCustomFieldsRecord - Improve custom fields default value handling for create vs edit modes. Refs STSMACOM-922.
  • Add mutateEntity prop to TagsAccordion component. Refs STSMACOM-923.
  • Validate custom fields by filtering out those with empty refId in useCustomFieldsQuery. Fixes STSMACOM-917.
  • <SearchAndSortQuery> - add addIsInitialParameterToQuery prop to control whether to add _isInitial query parameter to query when searching.
  • <NotesAssigningModal> - make "Status" and "# of assignments" columns non-interactive to prevent sorting by those columns. Refs STSMACOM-925.
  • withTags - consider tags enabled if the value is a boolean true for settings/entries. Refs STSMACOM-928.
  • <Tags> - reset loading state after an entity has been successfully updated. Fixes STSMACOM-932.
  • ViewMetaData - add tenantId prop support and refactor to use react-query. Refs STSMACOM-931.
  • EditCustomFieldsSettings - redirect to the view custom fields settings page when clicking the Cancel button. Fixes STSMACOM-930.
  • EditCustomFieldsRecord - fix single select fields resetting to default when cleared. FIXES STSMACOM-933.
  • EditCustomFieldsSettings - use isFetchingCustomFields instead of isLoadingCustomFields in useCustomFieldsQuery to prevent useOptionsStatsFetch from fetching stale custom fields and auto-opening an accordion. Fixes STSMACOM-934.
  • Provide the ability to hide system custom fields from settings. Refs STSMACOM-938.
  • Settings - NavListItem incorrectly highlighted when routes share a common prefix. FIXES STSMACOM-939.
  • ViewCustomFieldsRecord - add allowedRefIds, isSectionTitleEnabled, and showAccordion props. Refs STSMACOM-940.
  • Dependency correction: do not lock @rehooks/local-storage. Refs STSMACOM-941.
  • Dependency correction: include @babel/runtime, a peer of react-image. Refs STSMACOM-941.
  • Dependency correction: remember bumping react-intl to v7? Yeah? Actually do that. Refs STSMACOM-941.
  • <DateRangeFilter> - set only the start date field as a focus ref. Fixes STSMACOM-944.
  • Add a limit of 100 for tenant rules in the PasswordValidationField. Fixes STSMACOM-942.
  • Add a default empty object for customFieldsValues so that ViewCustomFieldsRecord can render NoValue when no values are provided. Refs STSMACOM-946.
  • Improve ProxyForm layout and validation logic. Refs STSMACOM-948.

v10.0.4 Sunflower 2025-R1 CSP-5

05 Jan 21:55
v10.0.4
1401085

Choose a tag to compare

  • Add optional chaining to mutator.updaters.GET() call in ViewMetaData to prevent the page from crashing if the component is not connected. Fixes STSMACOM-937.

v10.0.3 Sunflower 2025-R1 CSP-5

31 Dec 17:22
v10.0.3
83aaccd

Choose a tag to compare

  • Silently handle fetch errors in ViewMetaData during tenant switching. Fixes STSMACOM-935.
  • Happy New Year!

v10.0.2 Sunflower 2025-R1 CSP-1

29 Jul 20:08
v10.0.2
6181dc3

Choose a tag to compare

  • Add hideEditButton, interactive and canClickRow props to NotesSmartAccordion components, add a sort icon for the list headers, and remove the padding of the ql-editor container. Refs STSMACOM-904.

v9.2.7 Ramsons 2024-R2 CSP-3

14 May 16:56
v9.2.7
8001880

Choose a tag to compare

  • Add hideEditButton, interactive and canClickRow props to NotesSmartAccordion components, add a sort icon for the list headers, and remove the padding of the ql-editor container. Refs STSMACOM-904.

v10.0.1 Sunflower 2025-R1 GA

12 Mar 16:57
v10.0.1
83863a3

Choose a tag to compare

  • Apply wrappers with _.flow() instead of annotations. Refs STSMACOM-896.

v10.0.0 Sunflower 2025-R1 RC-1

25 Feb 03:26
v10.0.0
6bed0db

Choose a tag to compare

  • Reset qindex once the search field is empty. Fixes STSMACOM-872.
  • Use <IfAnyPermission> and stripes.hasAnyPerm to check for Notes assign/unassign perm. Fixes STSMACOM-875.
  • Fetch updaters in <ViewMetaData> on props.metadata changes. Fixes STSMACOM-878.
  • Use this.resources in StripesConnectedSource instead of accessing props directly. Fixes STSMACOM-879.
  • DateRangeFilter - set the wrongDatesOrder to false when the field value changes. Fixes STSMACOM-880.
  • Upgrade notes to v4.0. Refs STSMACOM-861.
  • Improve confirmation modal footer for ControlledVocab component. Refs STSMACOM-863.
  • Add the endDateInputRef prop to DateRangeFilter to access the end date element. Refs STSMACOM-859.
  • Remove unnecessary aria-rowindex in ItemView and ItemEdit components. Fixes STSMACOM-871.
  • Check for active status of <Settings> navigation links independently from the applied href and query string. Query string should only be applied to active link. Refs STSMACOM-837.
  • <EditableListForm> use lodash.isEmpty to check for empty state.status in re-initialization checks on component update. Fixes STSMACOM-876.
  • <NoteFields> 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.
  • BREAKING Upgrade @folio/stripes-* dependencies. Refs STSMACOM-891.
  • <EntryManager> sort entries by id if the requested sort-key is absent. Refs STSMACOM-893.
  • BREAKING Upgrade react-intl to v7. Refs STSMACOM-892.

v9.2.6

10 Dec 13:01
v9.2.6
2ca71e5

Choose a tag to compare

  • Use <IfAnyPermission> and stripes.hasAnyPerm to check for Notes assign/unassign perm. Fixes STSMACOM-875.
  • DateRangeFilter - set the wrongDatesOrder to false when the field value changes. Fixes STSMACOM-880.

v9.2.5

05 Dec 17:16
v9.2.5
524926c

Choose a tag to compare

  • Fetch updaters in <ViewMetaData> on props.metadata changes. Fixes STSMACOM-878.
  • Use this.resources in StripesConnectedSource instead of accessing props directly. Fixes STSMACOM-879.

v9.2.4

03 Dec 10:38
v9.2.4
90ac7bd

Choose a tag to compare

  • Check for active status of <Settings> navigation links independently from the applied href and query string. Query string should only be applied to active link. Refs STSMACOM-837.
  • <EditableListForm> use lodash.isEmpty to check for empty state.status in re-initialization checks on component update. Fixes STSMACOM-876.