@vizzly/dashboard 0.8.1 → 0.8.2-dev-4ac76b0195bc8bd9f3866e4cdcdac08e26caeff3

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.
Files changed (151) hide show
  1. package/dist/charts/src/PieChart/CorePieChart.d.ts +1 -0
  2. package/dist/charts/src/XYChart/Annotations.d.ts +1 -0
  3. package/dist/charts/src/XYChart/XYChart.d.ts +1 -0
  4. package/dist/charts/src/XYChart/getCurveType.d.ts +7 -0
  5. package/dist/charts/src/XYChart/logic/constants.d.ts +2 -0
  6. package/dist/charts/src/XYChart/types.d.ts +1 -1
  7. package/dist/charts/src/types.d.ts +2 -0
  8. package/dist/charts/src/utils/buildStyleOverrides.d.ts +1 -1
  9. package/dist/dashboard/src/SetupError.d.ts +1 -0
  10. package/dist/dashboard/src/contexts/GlobalProvider/useGlobalProvider.d.ts +6 -0
  11. package/dist/dashboard/src/index.d.ts +1 -0
  12. package/dist/dashboard/src/types.d.ts +1 -0
  13. package/dist/index.js +1 -1
  14. package/dist/shared-logic/src/Aggregate/Aggregate.d.ts +2 -0
  15. package/dist/shared-logic/src/Callbacks/labelFormat.d.ts +2 -0
  16. package/dist/shared-logic/src/Component/types.d.ts +8 -0
  17. package/dist/shared-logic/src/DashboardAPI/dashboardAPI/updating.d.ts +2 -0
  18. package/dist/shared-logic/src/Logger/Logger.d.ts +2 -0
  19. package/dist/shared-logic/src/Logger/types.d.ts +1 -1
  20. package/dist/shared-logic/src/Query/validate.d.ts +1 -0
  21. package/dist/shared-logic/src/QueryEngineConfig/redshift.d.ts +2 -0
  22. package/dist/shared-logic/src/Theme/types.d.ts +2 -0
  23. package/dist/shared-logic/src/Translations/translation.types.d.ts +7 -0
  24. package/dist/shared-logic/src/VizzlyConfig/validate.d.ts +1 -0
  25. package/dist/shared-logic/src/api/queryEngine/createDashboard.d.ts +3 -1
  26. package/dist/shared-logic/src/api/vizzly/createDashboard.d.ts +3 -1
  27. package/dist/shared-logic/src/api/vizzly/updateDashboard.d.ts +2 -0
  28. package/dist/shared-ui/src/api/useQueryEffect/download.d.ts +1 -1
  29. package/dist/shared-ui/src/base/AppStyles/AppStyles.styles.d.ts +1 -1
  30. package/dist/shared-ui/src/base/Button/Button.d.ts +1 -0
  31. package/dist/shared-ui/src/base/DateTime/DateRangePicker.d.ts +7 -0
  32. package/dist/shared-ui/src/base/DateTime/DateTimeFilter.d.ts +0 -4
  33. package/dist/shared-ui/src/base/DateTimeInput.d.ts +1 -0
  34. package/dist/shared-ui/src/base/EmptyState/Illustration.d.ts +1 -0
  35. package/dist/shared-ui/src/base/HeroCenteredForm/Notice.d.ts +1 -0
  36. package/dist/shared-ui/src/base/ListView/index.d.ts +2 -2
  37. package/dist/shared-ui/src/base/Section/Section.d.ts +1 -1
  38. package/dist/shared-ui/src/base/Select/Select.types.d.ts +1 -0
  39. package/dist/shared-ui/src/base/Select/Wrapper.d.ts +1 -0
  40. package/dist/shared-ui/src/base/layout/View.d.ts +1 -0
  41. package/dist/shared-ui/src/base/utils/titleFormat.d.ts +1 -0
  42. package/dist/shared-ui/src/buildStyleOverrides.d.ts +1 -1
  43. package/dist/shared-ui/src/components/AdditionalFilter/AdditionalFilter.d.ts +1 -0
  44. package/dist/shared-ui/src/components/AdditionalFilter/AdditionalSingleSelectFilter/index.d.ts +1 -0
  45. package/dist/shared-ui/src/components/AdditionalFilter/DateFilter/index.d.ts +1 -0
  46. package/dist/shared-ui/src/components/AreaChart/AreaChart.d.ts +1 -0
  47. package/dist/shared-ui/src/components/ChartHelper.d.ts +3 -3
  48. package/dist/shared-ui/src/components/ComboChart/ComboChart.d.ts +1 -0
  49. package/dist/shared-ui/src/components/Component.d.ts +1 -0
  50. package/dist/shared-ui/src/components/CustomComponent/CustomComponent.d.ts +1 -0
  51. package/dist/shared-ui/src/components/DataPropsEditor/DataPanelFromConfig.d.ts +1 -0
  52. package/dist/shared-ui/src/components/DataPropsEditor.d.ts +1 -0
  53. package/dist/shared-ui/src/components/DataTable/DataTable.d.ts +1 -0
  54. package/dist/shared-ui/src/components/DataTable/DataTableView.d.ts +1 -0
  55. package/dist/shared-ui/src/components/DataTable/TableHeader.d.ts +1 -0
  56. package/dist/shared-ui/src/components/DataTable/buildTableRepresentation.d.ts +1 -1
  57. package/dist/shared-ui/src/components/GlobalFilters/GlobalFilters.d.ts +1 -0
  58. package/dist/shared-ui/src/components/GlobalFilters/GlobalFiltersView.d.ts +1 -0
  59. package/dist/shared-ui/src/components/Icons/ComponentIcons.d.ts +1 -0
  60. package/dist/shared-ui/src/components/LineChart/LineChart.d.ts +1 -0
  61. package/dist/shared-ui/src/components/LocalFilter/DateTimeFilter/DataProps.d.ts +1 -0
  62. package/dist/shared-ui/src/components/LocalFilter/SelectFilter/DataProps.d.ts +1 -0
  63. package/dist/shared-ui/src/components/LocalFilter/View.d.ts +1 -0
  64. package/dist/shared-ui/src/components/MercatorMap/MercatorMap.d.ts +1 -0
  65. package/dist/shared-ui/src/components/MercatorMap/View.d.ts +1 -0
  66. package/dist/shared-ui/src/components/Parameters/ChangeViewMeasures.d.ts +5 -2
  67. package/dist/shared-ui/src/components/Parameters/ParametersView.d.ts +1 -0
  68. package/dist/shared-ui/src/components/Pickers/MetricsSelect.d.ts +1 -0
  69. package/dist/shared-ui/src/components/PieChart/PieChart.d.ts +1 -0
  70. package/dist/shared-ui/src/components/Progress/Progress.d.ts +1 -0
  71. package/dist/shared-ui/src/components/Progress/ProgressView.d.ts +1 -0
  72. package/dist/shared-ui/src/components/ScatterChart/ScatterChart.d.ts +1 -0
  73. package/dist/shared-ui/src/components/SingleStat/SingleStat.d.ts +1 -0
  74. package/dist/shared-ui/src/components/Studio/AdminTools/AdminTools.d.ts +2 -0
  75. package/dist/shared-ui/src/components/Studio/Studio.d.ts +1 -0
  76. package/dist/shared-ui/src/components/Studio/StudioApp/Cell.d.ts +1 -0
  77. package/dist/shared-ui/src/components/Studio/StudioApp/ComponentOptions.d.ts +1 -0
  78. package/dist/shared-ui/src/components/Studio/StudioApp.d.ts +1 -0
  79. package/dist/shared-ui/src/components/Studio/StudioContexts.d.ts +2 -1
  80. package/dist/shared-ui/src/components/StylePropsEditor.d.ts +1 -0
  81. package/dist/shared-ui/src/components/Table/PrefixModal.d.ts +1 -0
  82. package/dist/shared-ui/src/components/ViewHeader/ViewHeader.d.ts +1 -0
  83. package/dist/shared-ui/src/contexts/DashboardBehaviour/context.d.ts +4 -3
  84. package/dist/shared-ui/src/contexts/DashboardBehaviour/types.d.ts +3 -0
  85. package/dist/shared-ui/src/headlessui/components/dialog/dialog.d.ts +10 -10
  86. package/dist/shared-ui/src/headlessui/components/disclosure/disclosure.d.ts +3 -3
  87. package/dist/shared-ui/src/headlessui/components/focus-trap/focus-trap.d.ts +1 -1
  88. package/dist/shared-ui/src/headlessui/components/label/label.d.ts +1 -1
  89. package/dist/shared-ui/src/headlessui/components/popover/popover.d.ts +10 -10
  90. package/dist/shared-ui/src/headlessui/components/portal/portal.d.ts +1 -1
  91. package/dist/shared-ui/src/headlessui/components/switch/switch.d.ts +15 -15
  92. package/dist/shared-ui/src/headlessui/components/tabs/tabs.d.ts +9 -9
  93. package/dist/shared-ui/src/headlessui/hooks/use-id.d.ts +1 -2
  94. package/dist/shared-ui/src/headlessui/internal/focus-sentinel.d.ts +1 -0
  95. package/dist/shared-ui/src/headlessui/internal/hidden.d.ts +1 -1
  96. package/dist/shared-ui/src/index.d.ts +1 -0
  97. package/dist/shared-ui/src/library/Accordion.d.ts +1 -0
  98. package/dist/shared-ui/src/library/Button/index.d.ts +1 -0
  99. package/dist/shared-ui/src/library/ComboBox.d.ts +1 -0
  100. package/dist/shared-ui/src/library/DataPanel/AxesInput.d.ts +1 -0
  101. package/dist/shared-ui/src/library/DataPanel/Comparison/DeltaTimeTruncListViewOptions.d.ts +1 -0
  102. package/dist/shared-ui/src/library/DataPanel/CustomFieldInput/PercentageModal.d.ts +1 -0
  103. package/dist/shared-ui/src/library/DataPanel/CustomMetricsInput.d.ts +1 -0
  104. package/dist/shared-ui/src/library/DataPanel/DimensionInput.d.ts +1 -0
  105. package/dist/shared-ui/src/library/DataPanel/FieldCollectorInput.d.ts +1 -0
  106. package/dist/shared-ui/src/library/DataPanel/FieldsInput.d.ts +1 -0
  107. package/dist/shared-ui/src/library/DataPanel/FilterInput/AttributesToFields.d.ts +3 -3
  108. package/dist/shared-ui/src/library/DataPanel/FilterInput/FilterInputForm.d.ts +1 -0
  109. package/dist/shared-ui/src/library/DataPanel/FilterInput/IndividualFilter.d.ts +1 -0
  110. package/dist/shared-ui/src/library/DataPanel/FilterInput/attributesToFieldsFuncs.d.ts +3 -0
  111. package/dist/shared-ui/src/library/DataPanel/FilterInput/queryFilterToWipFilter.d.ts +2 -1
  112. package/dist/shared-ui/src/library/DataPanel/FilterInput/useFilterInputForm.d.ts +2 -1
  113. package/dist/shared-ui/src/library/DataPanel/FilterInput.d.ts +1 -0
  114. package/dist/shared-ui/src/library/DataPanel/MeasuresInput.d.ts +1 -0
  115. package/dist/shared-ui/src/library/DataPanel/QueryOpInput.d.ts +1 -0
  116. package/dist/shared-ui/src/library/DataPanel/SelectDataSet.d.ts +1 -0
  117. package/dist/shared-ui/src/library/DataPanel/SortInput.d.ts +1 -0
  118. package/dist/shared-ui/src/library/DataPanel/TimeDimensionInput.d.ts +1 -0
  119. package/dist/shared-ui/src/library/DataPanel/sections/AdvancedFilterSection.d.ts +1 -0
  120. package/dist/shared-ui/src/library/DataPanel/sections/ComboChartCompareSection.d.ts +1 -0
  121. package/dist/shared-ui/src/library/DataPanel/sections/ComboChartMetricInputSection.d.ts +1 -0
  122. package/dist/shared-ui/src/library/DataPanel/sections/CustomMetricsSection.d.ts +1 -0
  123. package/dist/shared-ui/src/library/DataPanel/sections/DataSetSection.d.ts +1 -0
  124. package/dist/shared-ui/src/library/DataPanel/sections/DrilldownSection.d.ts +1 -0
  125. package/dist/shared-ui/src/library/DataPanel/sections/FieldCollectorSection.d.ts +1 -0
  126. package/dist/shared-ui/src/library/DataPanel/sections/FieldsInputSection.d.ts +1 -0
  127. package/dist/shared-ui/src/library/DataPanel/sections/LabelledMetricSection.d.ts +1 -0
  128. package/dist/shared-ui/src/library/DataPanel/sections/LimitSection.d.ts +1 -0
  129. package/dist/shared-ui/src/library/DataPanel/sections/PaginationSection.d.ts +1 -0
  130. package/dist/shared-ui/src/library/DataPanel/sections/SortSection.d.ts +1 -0
  131. package/dist/shared-ui/src/library/DataPanel/sections/ViewsSection.d.ts +1 -0
  132. package/dist/shared-ui/src/library/DisplayStatusReport.d.ts +1 -0
  133. package/dist/shared-ui/src/library/Editor/View.d.ts +1 -0
  134. package/dist/shared-ui/src/library/Editor.d.ts +1 -0
  135. package/dist/shared-ui/src/library/Library/ComponentInLibrary.d.ts +1 -0
  136. package/dist/shared-ui/src/library/Library/ViewsInLibrary.d.ts +1 -0
  137. package/dist/shared-ui/src/library/OverridesDeveloperInfoModal.d.ts +1 -0
  138. package/dist/shared-ui/src/library/PanelInput/NumberInput.d.ts +1 -0
  139. package/dist/shared-ui/src/library/SetupNotice.d.ts +1 -0
  140. package/dist/shared-ui/src/library/SetupReportModal.d.ts +1 -0
  141. package/dist/shared-ui/src/library/Stepper.d.ts +1 -0
  142. package/dist/shared-ui/src/library/StepperIcons.d.ts +1 -0
  143. package/dist/shared-ui/src/library/StylePanel/BooleanInput.d.ts +1 -0
  144. package/dist/shared-ui/src/library/StylePanel/ColourInput.d.ts +1 -0
  145. package/dist/shared-ui/src/library/StylePanel/FontFamilyInput.d.ts +1 -0
  146. package/dist/shared-ui/src/library/StylePanel/FormatSelectInput.d.ts +1 -0
  147. package/dist/shared-ui/src/library/StylePanel/TextInput.d.ts +1 -0
  148. package/dist/shared-ui/src/library/effectHooks/useHeight.d.ts +1 -1
  149. package/dist/shared-ui/src/library/effectHooks/useWidth.d.ts +1 -1
  150. package/dist/shared-ui/src/types.d.ts +11 -6
  151. package/package.json +3 -7
@@ -27,7 +27,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
27
27
  children?: React.ReactNode;
28
28
  }>>(props: Pick<import("../../types").PropsOf<TTag_1>, Exclude<keyof import("../../types").PropsOf<TTag_1>, "children" | "className" | "as" | "refName">> & {
29
29
  as?: TTag_1 | undefined;
30
- children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.ReactFragment | React.ReactPortal | ((bag: TabsRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
30
+ children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: TabsRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
31
31
  refName?: string | undefined;
32
32
  } & (true extends (import("../../types").PropsOf<TTag_1> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_1> ? true : never) ? {
33
33
  className?: import("../../types").PropsOf<TTag_1>["className"] | ((bag: TabsRenderPropArg) => string) | undefined;
@@ -48,7 +48,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
48
48
  };
49
49
  Panel: (<TTag_4 extends React.ElementType<any> = "div">(props: (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "id" | "children" | "className" | "as" | "refName">> & {
50
50
  as?: TTag_4 | undefined;
51
- children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.ReactFragment | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
51
+ children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
52
52
  refName?: string | undefined;
53
53
  } & (true extends (import("../../types").PropsOf<TTag_4> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_4> ? true : never) ? {
54
54
  className?: import("../../types").PropsOf<TTag_4>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
@@ -58,7 +58,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
58
58
  unmount?: boolean | undefined;
59
59
  }) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "id" | "children" | "className" | "as" | "refName">> & {
60
60
  as?: TTag_4 | undefined;
61
- children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.ReactFragment | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
61
+ children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
62
62
  refName?: string | undefined;
63
63
  } & (true extends (import("../../types").PropsOf<TTag_4> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_4> ? true : never) ? {
64
64
  className?: import("../../types").PropsOf<TTag_4>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
@@ -68,7 +68,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
68
68
  static?: boolean | undefined;
69
69
  }) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "role" | "as" | "refName">> & {
70
70
  as?: TTag_4 | undefined;
71
- children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.ReactFragment | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
71
+ children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
72
72
  refName?: string | undefined;
73
73
  } & (true extends (import("../../types").PropsOf<TTag_4> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_4> ? true : never) ? {
74
74
  className?: import("../../types").PropsOf<TTag_4>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
@@ -78,7 +78,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
78
78
  unmount?: boolean | undefined;
79
79
  }) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "role" | "as" | "refName">> & {
80
80
  as?: TTag_4 | undefined;
81
- children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.ReactFragment | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
81
+ children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
82
82
  refName?: string | undefined;
83
83
  } & (true extends (import("../../types").PropsOf<TTag_4> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_4> ? true : never) ? {
84
84
  className?: import("../../types").PropsOf<TTag_4>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
@@ -88,7 +88,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
88
88
  static?: boolean | undefined;
89
89
  }) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
90
90
  as?: TTag_4 | undefined;
91
- children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.ReactFragment | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
91
+ children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
92
92
  refName?: string | undefined;
93
93
  } & (true extends (import("../../types").PropsOf<TTag_4> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_4> ? true : never) ? {
94
94
  className?: import("../../types").PropsOf<TTag_4>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
@@ -98,7 +98,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
98
98
  unmount?: boolean | undefined;
99
99
  }) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
100
100
  as?: TTag_4 | undefined;
101
- children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.ReactFragment | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
101
+ children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
102
102
  refName?: string | undefined;
103
103
  } & (true extends (import("../../types").PropsOf<TTag_4> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_4> ? true : never) ? {
104
104
  className?: import("../../types").PropsOf<TTag_4>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
@@ -108,7 +108,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
108
108
  static?: boolean | undefined;
109
109
  }) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "as" | "refName" | "tabIndex">> & {
110
110
  as?: TTag_4 | undefined;
111
- children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.ReactFragment | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
111
+ children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
112
112
  refName?: string | undefined;
113
113
  } & (true extends (import("../../types").PropsOf<TTag_4> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_4> ? true : never) ? {
114
114
  className?: import("../../types").PropsOf<TTag_4>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
@@ -118,7 +118,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
118
118
  unmount?: boolean | undefined;
119
119
  }) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "as" | "refName" | "tabIndex">> & {
120
120
  as?: TTag_4 | undefined;
121
- children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.ReactFragment | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
121
+ children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
122
122
  refName?: string | undefined;
123
123
  } & (true extends (import("../../types").PropsOf<TTag_4> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_4> ? true : never) ? {
124
124
  className?: import("../../types").PropsOf<TTag_4>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare let useId: typeof React.useId;
1
+ export declare let useId: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface FocusSentinelProps {
2
3
  onFocus(): boolean;
3
4
  }
@@ -7,7 +7,7 @@ export declare enum Features {
7
7
  }
8
8
  export declare let Hidden: (<TTag extends ElementType<any> = "div">(props: Pick<import("../types").PropsOf<TTag>, Exclude<keyof import("../types").PropsOf<TTag>, "children" | "className" | "as" | "refName">> & {
9
9
  as?: TTag | undefined;
10
- children?: string | number | boolean | import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | import("react").ReactFragment | import("react").ReactPortal | ((bag: {}) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>) | null | undefined;
10
+ children?: string | number | boolean | {} | import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | Iterable<import("react").ReactNode> | import("react").ReactPortal | ((bag: {}) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>) | null | undefined;
11
11
  refName?: string | undefined;
12
12
  } & (true extends (import("../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../types").PropsOf<TTag> ? true : never) ? {
13
13
  className?: import("../types").PropsOf<TTag>["className"] | ((bag: {}) => string) | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export * from './types';
2
3
  export * from './types';
3
4
  import './twin.d.ts';
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { Props } from '../base/Accordion';
2
3
  export declare const Accordion: (props: Omit<Props, 'Icon'>) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents, VizzlyTheming } from '../../types';
2
3
  export declare type Props = VizzlyComponents.ComponentOverrides.Props.Button & {
3
4
  autoFeedback?: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SelectOption } from '../base/Select/Select.types';
2
3
  import { AsyncSelectOptions } from '../base/Select/types';
3
4
  import { TextOverride } from '../../../shared-logic/src/Translations/types';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../../types';
2
3
  import { SupportedTimeTruncFunctions } from '../../../../shared-logic/src/TimeDimension/types';
3
4
  import { QueryAttributes } from '../../../../shared-logic/src/QueryAttributes/types';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSet as DataSetType } from '../../../../../shared-logic/src/DataSet/types';
2
3
  import { QueryAttributes } from '../../../../../shared-logic/src/QueryAttributes/types';
3
4
  import { QueryEngineConfig } from '../../../../../shared-logic/src/QueryEngineConfig/types';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSet } from '../../../../../shared-logic/src/DataSet/types';
2
3
  import { CustomField, PercentageField, SimplePercentageField } from '../../../../../shared-logic/src/CustomField/types';
3
4
  import { QueryEngineConfig } from '../../../../../shared-logic/src/QueryEngineConfig/types';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSet } from '../../../../shared-logic/src/DataSet/types';
2
3
  import { CustomField } from '../../../../shared-logic/src/CustomField/types';
3
4
  import 'twin.macro';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../../types';
2
3
  import { FieldFilterOptions } from '../../../../shared-logic/src/DataSet/types';
3
4
  import { QueryAttributes } from '../../../../shared-logic/src/QueryAttributes/types';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InitValue } from '../../base/ListView/ListView';
2
3
  import { DataSet as DataSetType, FieldFilterOptions } from '../../../../shared-logic/src/DataSet/types';
3
4
  import { QueryAttributes } from '../../../../shared-logic/src/QueryAttributes/types';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../../types';
2
3
  import { QueryAttributes } from '../../../../shared-logic/src/QueryAttributes/types';
3
4
  declare type ManagedProps = {
@@ -3,7 +3,7 @@ import * as Measure from '../../../../../shared-logic/src/Measure';
3
3
  import { QueryAttributes as QueryAttributesType } from '../../../../../shared-logic/src/QueryAttributes/types';
4
4
  import { FilterFieldType } from './types';
5
5
  import { TextOverride } from '../../../../../shared-logic/src/Translations/types';
6
+ import { SupportedAggregates } from '../../../../../shared-logic/src/Aggregate';
6
7
  export declare const dimensionToFields: (dataSet: DataSetType, dimension: QueryAttributesType.Dimension[]) => FilterFieldType[];
7
- export declare const measuresToFields: (dataSet: DataSetType, measures: QueryAttributesType.Measure[], enableChangeToNumber: boolean, textOverride: TextOverride) => FilterFieldType[];
8
- export declare const attributesToFields: (dataSet: DataSetType, dimension: QueryAttributesType.Dimension[], measures: QueryAttributesType.Measure[], enableChangeToNumber: boolean, textOverride: TextOverride) => FilterFieldType[];
9
- export declare function adjustFieldForCountAndUnique(dataSetField: DataSetType.Field, fieldFunction: string, enableChangeToNumber?: boolean): DataSetType.Field;
8
+ export declare const measuresToFields: (dataSet: DataSetType, measures: QueryAttributesType.Measure[], enableChangeToNumber: boolean, textOverride: TextOverride, supportedAggregates: SupportedAggregates) => FilterFieldType[];
9
+ export declare const attributesToFields: (dataSet: DataSetType, dimension: QueryAttributesType.Dimension[], measures: QueryAttributesType.Measure[], enableChangeToNumber: boolean, textOverride: TextOverride, supportedAggregates: SupportedAggregates) => FilterFieldType[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { QueryAttributes } from '../../../../../shared-logic/src/QueryAttributes/types';
2
3
  import { DataSet as DataSetType } from '../../../../../shared-logic/src/DataSet/types';
3
4
  import { FilterFieldType, WipFilter } from './types';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSet } from '../../../../../shared-logic/src/DataSet/types';
2
3
  import { FilterFieldType, WipFilter } from './types';
3
4
  import { SupportedQueryOperators } from '../QueryOpInput';
@@ -0,0 +1,3 @@
1
+ import { SupportedAggregates } from '../../../../../shared-logic/src/Aggregate';
2
+ import { DataSet as DataSetType } from '../../../../../shared-logic/src/DataSet/types';
3
+ export declare function adjustFieldForNonNumeric(dataSetField: DataSetType.Field, fieldFunction: string, supportedAggregates: SupportedAggregates, enableChangeToNumber?: boolean): DataSetType.Field;
@@ -1,5 +1,6 @@
1
1
  import { DataSet as DataSetType } from '../../../../../shared-logic/src/DataSet/types';
2
2
  import { QueryAttributes } from '../../../../../shared-logic/src/QueryAttributes/types';
3
3
  import { WipFilter } from './types';
4
- declare function queryFilterToWipFilter(filter: QueryAttributes.Filter[][], dataSet: DataSetType, enableChangeToNumber?: boolean): WipFilter[][];
4
+ import { SupportedAggregates } from '../../../../../shared-logic/src/Aggregate';
5
+ declare function queryFilterToWipFilter(filter: QueryAttributes.Filter[][], dataSet: DataSetType, supportedAggregates: SupportedAggregates, enableChangeToNumber?: boolean): WipFilter[][];
5
6
  export default queryFilterToWipFilter;
@@ -1,12 +1,13 @@
1
1
  import { DataSet } from '../../../../../shared-logic/src/DataSet/types';
2
2
  import { QueryAttributes } from '../../../../../shared-logic/src/QueryAttributes/types';
3
3
  import { WipFilter } from './types';
4
+ import { SupportedAggregates } from '../../../../../shared-logic/src/Aggregate';
4
5
  declare type FilterFormOptions = {
5
6
  startWithEmptyField?: boolean;
6
7
  maxFilters?: number;
7
8
  enableChangeToNumber: boolean;
8
9
  };
9
- declare const useFilterInputForm: (currentFilter: QueryAttributes.Filter[][], dataSet: DataSet, options?: FilterFormOptions) => {
10
+ declare const useFilterInputForm: (currentFilter: QueryAttributes.Filter[][], dataSet: DataSet, supportedAggregates: SupportedAggregates, options?: FilterFormOptions) => {
10
11
  addOrFilter: () => void;
11
12
  deleteWipFilter: (orFilterIndex: number, andFilterIndex: number) => void;
12
13
  updateWipFilter: (wipFilter: WipFilter, orFilterIndex: number, andFilterIndex: number) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../../types';
2
3
  import 'twin.macro';
3
4
  import { QueryAttributes } from '../../../../shared-logic/src/QueryAttributes/types';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../../types';
2
3
  import { DataSet as DataSetType, FieldFilterOptions } from '../../../../shared-logic/src/DataSet/types';
3
4
  import { DashboardBehaviour } from '../../contexts/DashboardBehaviour/types';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSet } from '../../../../shared-logic/src/DataSet/types';
2
3
  import { QueryAttributes as QueryAttributesType } from '../../../../shared-logic/src/QueryAttributes/types';
3
4
  import { WipFilter } from './FilterInput/types';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../../types';
2
3
  import { DataSet as DataSetType } from '../../../../shared-logic/src/DataSet/types';
3
4
  declare type ManagedProps = {};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../../types';
2
3
  import { QueryAttributes as QueryAttributesType } from '../../../../shared-logic/src/QueryAttributes/types';
3
4
  declare type ManagedProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../../types';
2
3
  import { DataSet as DataSetType } from '../../../../shared-logic/src/DataSet/types';
3
4
  import { SupportedTimeTruncFunctions } from '../../../../shared-logic/src/TimeDimension/types';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../../../types';
2
3
  declare type Props = VizzlyComponents.ComponentOverrides.Props.SectionProps;
3
4
  export declare const AdvancedFilterSection: (props: Props) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../../../types';
2
3
  declare type Props = VizzlyComponents.ComponentOverrides.Props.SectionProps;
3
4
  export declare const ComboChartCompareSection: (props: Props) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../../../types';
2
3
  declare type Props = VizzlyComponents.ComponentOverrides.Props.SectionProps;
3
4
  export declare const ComboChartMetricInputSection: (props: Props) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../../../types';
2
3
  declare type Props = VizzlyComponents.ComponentOverrides.Props.SectionProps;
3
4
  export declare const CustomMetricsSection: (props: Props) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../../../types';
2
3
  declare type Props = VizzlyComponents.ComponentOverrides.Props.SectionProps;
3
4
  export declare const DataSetSection: (props: Props) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../../../types';
2
3
  declare type Props = VizzlyComponents.ComponentOverrides.Props.SectionProps;
3
4
  export declare const DrilldownSection: (props: Props) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../../../types';
2
3
  import { FieldCollectorSection as FieldCollectorSectionType } from '../../../../../shared-logic/src/DataPanelConfig/types';
3
4
  declare type Props = VizzlyComponents.ComponentOverrides.Props.SectionProps<FieldCollectorSectionType>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../../../types';
2
3
  declare type Props = VizzlyComponents.ComponentOverrides.Props.SectionProps;
3
4
  export declare const FieldsInputSection: (props: Props) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../../../types';
2
3
  import { LabelledMetricSection as LabelledMetricSectionType } from '../../../../../shared-logic/src/DataPanelConfig/types';
3
4
  declare type Props = VizzlyComponents.ComponentOverrides.Props.SectionProps<LabelledMetricSectionType>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../../../types';
2
3
  declare type Props = VizzlyComponents.ComponentOverrides.Props.SectionProps;
3
4
  export declare const LimitSection: (props: Props) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../../../types';
2
3
  declare type Props = VizzlyComponents.ComponentOverrides.Props.SectionProps;
3
4
  export declare const PaginationSection: (props: Props) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { QueryAttributes } from '../../../../../shared-logic/src/QueryAttributes/types';
2
3
  import { VizzlyComponents } from '../../../types';
3
4
  import { Component } from '../../../../../shared-logic/src/Component/types';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../../../types';
2
3
  import { SelectViewProps } from '../SelectView';
3
4
  declare type Props = VizzlyComponents.ComponentOverrides.Props.SectionProps & SelectViewProps;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import 'twin.macro';
2
3
  import { QueryEngineStatusReport } from '../../../shared-logic/src/QueryEngine/types';
3
4
  export declare const STRATEGY_TO_TITLE: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type Props = {
2
3
  defaultTabOpen?: number;
3
4
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare type Origin = 'dashboard' | 'library';
2
3
  export declare const Editor: (props: {
3
4
  onClose?: () => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import 'twin.macro';
2
3
  import { Component as ComponentType } from '../../../../shared-logic/src/Component/types';
3
4
  import { ViewsInLibraryProps } from './types';
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { ViewsInLibraryProps } from './types';
2
3
  export declare const ViewsInLibrary: (props: ViewsInLibraryProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import 'twin.macro';
2
3
  export declare const OverridesDeveloperInfoModal: () => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import 'twin.macro';
2
3
  declare type Props = {
3
4
  label: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../types';
2
3
  import 'twin.macro';
3
4
  import { QueryEngineEndpoint } from '../../../shared-logic/src/QueryEngineConfig/types';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Component } from '../../../shared-logic/src/Component/types';
2
3
  declare type Props = {
3
4
  isOpen: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const Stepper: (props: {
2
3
  atStepIndex: number;
3
4
  steps: string[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const Completed: (props: any) => JSX.Element;
2
3
  export declare const InProgress: (props: any) => JSX.Element;
3
4
  export declare const ToBeDone: (props: any) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type Props = {
2
3
  label: string;
3
4
  currentValue: boolean | null | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type Props = {
2
3
  label: string;
3
4
  currentValue: string | null | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import 'twin.macro';
2
3
  declare type Props = {
3
4
  setFontFamily: (format: string) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare type SelectInputProps = {
2
3
  label: string;
3
4
  currentValue: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type Props = {
2
3
  label: string;
3
4
  currentValue: number | string | undefined;
@@ -1,2 +1,2 @@
1
1
  import { Ref } from 'react';
2
- export declare const useHeight: () => [Ref<HTMLHeadingElement>, number];
2
+ export declare const useHeight: (changes?: string | undefined) => [Ref<HTMLHeadingElement>, number];
@@ -1,2 +1,2 @@
1
1
  import { Ref } from 'react';
2
- export declare const useWidth: () => [Ref<HTMLHeadingElement>, number];
2
+ export declare const useWidth: (changes?: string | undefined) => [Ref<HTMLHeadingElement>, number];
@@ -72,14 +72,19 @@ export declare namespace VizzlyComponents {
72
72
  rightAligned?: boolean;
73
73
  id?: string;
74
74
  };
75
+ /**
76
+ * Represents the input props for a DateTimeRangeInputChange event.
77
+ * It can contain either a non-null object with start and end properties,
78
+ * or a null value.
79
+ */
75
80
  type DateTimeRangeInputChangeProps = {
76
- startDate: Date | null;
77
- endDate: Date | null;
78
- startTime?: string | null;
79
- endTime?: string | null;
80
- };
81
+ /** Returns the combined Date and Time for the Start value */
82
+ start: Date | null;
83
+ /** Returns the combined Date and Time for the End value */
84
+ end: Date | null;
85
+ } | null;
81
86
  type DateTimeRangeInput = {
82
- onChange: ({ startDate, endDate, startTime, endTime }: DateTimeRangeInputChangeProps) => void;
87
+ onChange: (values: DateTimeRangeInputChangeProps) => void;
83
88
  onClear: () => void;
84
89
  type?: 'date' | 'date_time';
85
90
  startDate?: Date;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vizzly/dashboard",
3
3
  "author": "james@vizzly.co",
4
- "version": "0.8.1",
4
+ "version": "0.8.2-dev-4ac76b0195bc8bd9f3866e4cdcdac08e26caeff3",
5
5
  "source": "src/index.tsx",
6
6
  "types": "./dist/dashboard/src/index.d.ts",
7
7
  "main": "dist/index.js",
@@ -44,7 +44,7 @@
44
44
  "@vizzly/joi": "^17.7.0",
45
45
  "lodash": "^4.17.21",
46
46
  "lodash-es": "^4.17.21",
47
- "react-dates-17": "22.0.4",
47
+ "react-dates-17": "22.0.8",
48
48
  "react-dnd": "^15.1",
49
49
  "react-dnd-html5-backend": "^15.0.1",
50
50
  "react-popper": "^2.3.0",
@@ -61,10 +61,6 @@
61
61
  "@babel/preset-typescript": "^7.15.0",
62
62
  "@emotion/babel-plugin": "*",
63
63
  "@size-limit/preset-small-lib": "^8.1.0",
64
- "@storybook/addon-essentials": "^6.5.12",
65
- "@storybook/addon-links": "^6.5.12",
66
- "@storybook/addons": "^6.5.9",
67
- "@storybook/react": "^6.5.12",
68
64
  "@testing-library/jest-dom": "^5.14.1",
69
65
  "@testing-library/react": "^12.1.2",
70
66
  "@testing-library/user-event": "^14.2.3",
@@ -72,7 +68,7 @@
72
68
  "@types/isomorphic-fetch": "^0.0.36",
73
69
  "@types/jest": "^27.0.2",
74
70
  "@types/lodash": "^4.14.186",
75
- "@types/react": "^18.0.15",
71
+ "@types/react": "^17.0.2",
76
72
  "@types/react-dom": "^18.0.6",
77
73
  "@types/topojson-client": "^3.1.1",
78
74
  "@types/uuid": "^8.3.4",