@digital-b2c/coreui-kit 0.11.14 → 0.11.16

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.
package/dist/index.d.cts CHANGED
@@ -196,7 +196,7 @@ interface ResourceCardItemProps {
196
196
 
197
197
  declare const ResourceCardItem: ({ item, view }: ResourceCardItemProps) => react_jsx_runtime.JSX.Element;
198
198
 
199
- type FilterOption = 'all' | 'pdf' | 'link';
199
+ type FilterOption = 'all' | 'pdf' | 'externalLink';
200
200
  type SortOption = 'latest' | 'oldest' | 'az' | 'za';
201
201
  interface FilterBarProps {
202
202
  view: ResourceView;
package/dist/index.d.ts CHANGED
@@ -196,7 +196,7 @@ interface ResourceCardItemProps {
196
196
 
197
197
  declare const ResourceCardItem: ({ item, view }: ResourceCardItemProps) => react_jsx_runtime.JSX.Element;
198
198
 
199
- type FilterOption = 'all' | 'pdf' | 'link';
199
+ type FilterOption = 'all' | 'pdf' | 'externalLink';
200
200
  type SortOption = 'latest' | 'oldest' | 'az' | 'za';
201
201
  interface FilterBarProps {
202
202
  view: ResourceView;
package/dist/index.mjs CHANGED
@@ -843,7 +843,7 @@ var FilterBar_module_default = {
843
843
  selected: "FilterBar_module_selected"
844
844
  };
845
845
  var FILTER_OPTIONS = [
846
- { value: "link", label: "Link", icon: "externalLink" },
846
+ { value: "externalLink", label: "Link", icon: "externalLink" },
847
847
  { value: "pdf", label: "PDF", icon: "pdf" }
848
848
  ];
849
849
  var SORT_OPTIONS = [
@@ -3295,6 +3295,7 @@ var ResourcesGridList = ({
3295
3295
  if (typeof window !== "undefined" && categoryText) {
3296
3296
  const url = `${window.location.pathname}#${categoryText}`;
3297
3297
  window.history.replaceState(null, "", url);
3298
+ window.dispatchEvent(new HashChangeEvent("hashchange"));
3298
3299
  }
3299
3300
  if (isMobile) setIsSidebarOpen(false);
3300
3301
  };