@datawheel/bespoke 1.0.0-rc.21 → 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,5 +1,5 @@
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';
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datawheel/bespoke",
3
- "version": "1.0.0-rc.21",
3
+ "version": "1.0.0-rc.22",
4
4
  "description": "Content management system for creating automated data reports",
5
5
  "exports": {
6
6
  ".": {