@datawheel/bespoke 1.0.0-rc.20 → 1.0.0-rc.22

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.
@@ -77,7 +77,7 @@ interface ExploreContextType {
77
77
  translations: ExploreTranslations;
78
78
  setTranslations: (t: ExploreTranslations) => void;
79
79
  showSelectors: boolean;
80
- initExplore?: (p: number | undefined, v: number | undefined, q: string | undefined) => void;
80
+ initExplore?: (p?: number | undefined, v?: number | undefined, q?: string | undefined) => void;
81
81
  }
82
82
  declare const useExplore: () => ExploreContextType;
83
83
  interface ExploreProviderProps {
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { FC, ReactElement, ReactNode } from 'react';
3
- import { E as ExploreTranslations, R as ReportTileProps } from './Search-C-9ALKJo.mjs';
4
- export { b as BespokeExploreProvider, a as BespokeReportItemProps, B as BespokeSearch, u as useBespokeExplore } from './Search-C-9ALKJo.mjs';
3
+ import { E as ExploreTranslations, R as ReportTileProps } from './Search-CpmCBiYZ.mjs';
4
+ export { b as BespokeExploreProvider, a as BespokeReportItemProps, B as BespokeSearch, u as useBespokeExplore } from './Search-CpmCBiYZ.mjs';
5
5
  import { ActionIconProps, ModalProps, TooltipProps } from '@mantine/core';
6
6
  import './types-WI9fSG9b.mjs';
7
7
  import 'sequelize';
package/dist/report.d.mts CHANGED
@@ -1,13 +1,13 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { E as ExploreTranslations, a as ReportItemProps, R as ReportTileProps } from './Search-C-9ALKJo.mjs';
2
+ import { E as ExploreTranslations, a as ReportItemProps, R as ReportTileProps } from './Search-CpmCBiYZ.mjs';
3
3
  import './auth-D3PWImeZ.mjs';
4
4
  import { MRT_Localization } from 'mantine-react-table';
5
5
  import { ReactNode } from 'react';
6
6
  import { ModalProps, AutocompleteProps } from '@mantine/core';
7
- import './types-WI9fSG9b.mjs';
8
- import 'sequelize';
7
+ export { u as SearchReportItem } from './types-WI9fSG9b.mjs';
9
8
  import 'next-auth';
10
9
  import 'next-auth/react';
10
+ import 'sequelize';
11
11
 
12
12
  type TranslationKeys$3 = "data_source" | "no_data_src" | "viz_source" | "error_generating" | "choose_data_src" | "original_src" | "loading" | "error_preview" | "open_in_window" | "formatted_src" | "formatted_group" | "raw_group" | "rows_preview" | "choose_format" | "processing_file" | "download" | "preview" | "copy" | "copied";
13
13
  type DataTabTranslations = Record<TranslationKeys$3, string>;
@@ -115,7 +115,7 @@ interface BespokeComponentsType {
115
115
  interface BespokeRendererProps {
116
116
  className?: string;
117
117
  pathSegmentsKey: string;
118
- translations: ReportTranslations;
118
+ translations?: ReportTranslations;
119
119
  buildTime: string;
120
120
  components?: Partial<BespokeComponentsType>;
121
121
  profilePrefix: string;
@@ -129,4 +129,4 @@ interface BespokeRendererProps {
129
129
  */
130
130
  declare function BespokeRenderer({ className, pathSegmentsKey, translations, components, buildTime, siteProps, profilePrefix, loader, sectionLoader, mode, }: BespokeRendererProps): react_jsx_runtime.JSX.Element;
131
131
 
132
- export { type BespokeComponentsType, BespokeRenderer, type BespokeRendererProps, type ReportTranslations as BespokeReportTranslations, type PdfSectionSelectorPanelProps };
132
+ export { type BespokeComponentsType, BespokeRenderer, type BespokeRendererProps, type ReportTranslations as BespokeReportTranslations, type PdfSectionSelectorPanelProps, ReportItemProps, ReportTileProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datawheel/bespoke",
3
- "version": "1.0.0-rc.20",
3
+ "version": "1.0.0-rc.22",
4
4
  "description": "Content management system for creating automated data reports",
5
5
  "exports": {
6
6
  ".": {