@cloudscape-design/chart-components 1.0.28 → 1.0.29

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.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InternalBaseComponentProps } from "../internal/base-component/use-base-component";
3
2
  import { SomeRequired } from "../internal/utils/utils";
4
3
  import { CartesianChartProps } from "./interfaces";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CartesianChartProps } from "./interfaces";
3
2
  export type { CartesianChartProps };
4
3
  declare const CartesianChart: import("react").ForwardRefExoticComponent<CartesianChartProps & import("react").RefAttributes<CartesianChartProps.Ref>>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as CoreTypes from "../core/interfaces";
3
2
  import { NonCancelableEventHandler } from "../internal/events";
4
3
  export interface CartesianChartProps extends CoreTypes.BaseChartOptions, CoreTypes.CoreCartesianOptions, CoreTypes.WithCartesianI18nStrings {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type Highcharts from "highcharts";
3
2
  import { ChartSeriesMarkerType } from "../../internal/components/series-marker";
4
3
  import AsyncStore from "../../internal/utils/async-store";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import AsyncStore from "../../internal/utils/async-store";
3
2
  import { ChartExtraContext } from "./chart-extra-context";
4
3
  export interface ReactiveNodataState {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type Highcharts from "highcharts";
3
2
  import { ReadonlyAsyncStore } from "../../internal/utils/async-store";
4
3
  import { ReactiveAxisTitlesState } from "./chart-extra-axis-titles";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface ChartContainerProps {
3
2
  chart: (height: undefined | number) => React.ReactNode;
4
3
  verticalAxisTitle?: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ChartAPI } from "../chart-api";
3
2
  import { BaseI18nStrings } from "../interfaces";
4
3
  export declare function ChartFilters({ seriesFilter, additionalFilters, api, i18nStrings, }: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { NonCancelableEventHandler } from "../../internal/events";
3
2
  import { ChartAPI } from "../chart-api";
4
3
  import { CoreChartProps, CoreI18nStrings } from "../interfaces";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare function ChartHeader({ children }: {
3
2
  children: React.ReactNode;
4
3
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type Highcharts from "highcharts";
3
2
  import type * as InternalComponentTypes from "../internal/components/interfaces";
4
3
  import { type NonCancelableEventHandler } from "../internal/events";
package/core/utils.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type Highcharts from "highcharts";
3
2
  import { ChartSeriesMarkerType } from "../internal/components/series-marker";
4
3
  import { ChartLabels } from "./i18n-utils";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type Highcharts from "highcharts";
3
2
  export declare const colors: string[];
4
3
  export declare const chart: Highcharts.ChartOptions;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GetLegendTooltipContentProps, LegendItem, LegendTooltipContent } from "../interfaces";
3
2
  export type LegendAlignment = "horizontal" | "vertical";
4
3
  export type LegendHorizontalAlignment = "start" | "center" | "end";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface LegendItem {
3
2
  id: string;
4
3
  name: string;
@@ -1,5 +1,5 @@
1
1
  export var PACKAGE_SOURCE = "chart-components";
2
- export var PACKAGE_VERSION = "1.0.0 (2e81e972)";
2
+ export var PACKAGE_VERSION = "1.0.0 (724e5a0b)";
3
3
  export var THEME = "open-source-visual-refresh";
4
4
  export var ALWAYS_VISUAL_REFRESH = true;
5
- export var SYSTEM = "console";
5
+ export var SYSTEM = "core";
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "PACKAGE_SOURCE": "chart-components",
3
- "PACKAGE_VERSION": "1.0.0 (2e81e972)",
3
+ "PACKAGE_VERSION": "1.0.0 (724e5a0b)",
4
4
  "THEME": "open-source-visual-refresh",
5
5
  "ALWAYS_VISUAL_REFRESH": true,
6
- "SYSTEM": "console"
6
+ "SYSTEM": "core"
7
7
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type CancelableEventHandler<Detail = object> = (event: CustomEvent<Detail>) => void;
3
2
  export type NonCancelableEventHandler<Detail = {}> = (event: NonCancelableCustomEvent<Detail>) => void;
4
3
  export type NonCancelableCustomEvent<DetailType> = Omit<CustomEvent<DetailType>, "preventDefault">;
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "2e81e972af7d07b77e61b1db5c8667a65bb3c998"
2
+ "commit": "724e5a0b790e0d7a29cca0a930c4fedb5ab0c9aa"
3
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface TestI18nProviderProps {
3
2
  messages: Record<string, Record<string, string>>;
4
3
  locale?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudscape-design/chart-components",
3
- "version": "1.0.28",
3
+ "version": "1.0.29",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cloudscape-design/chart-components.git"
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InternalBaseComponentProps } from "../internal/base-component/use-base-component";
3
2
  import { SomeRequired } from "../internal/utils/utils";
4
3
  import { PieChartProps } from "./interfaces";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PieChartProps } from "./interfaces";
3
2
  export type { PieChartProps };
4
3
  declare const PieChart: import("react").ForwardRefExoticComponent<PieChartProps & import("react").RefAttributes<PieChartProps.Ref>>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as CoreTypes from "../core/interfaces";
3
2
  import { NonCancelableEventHandler } from "../internal/events";
4
3
  export interface PieChartProps extends CoreTypes.BaseChartOptions, CoreTypes.WithPieI18nStrings {