@appquality/unguess-design-system 3.1.45 → 3.1.47-sentiment-beta

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.
@@ -0,0 +1,31 @@
1
+ import { ChartTooltipFunction } from "../_types";
2
+ type SentimentData = {
3
+ id: string;
4
+ data: {
5
+ x: string;
6
+ y?: number;
7
+ custom_data?: string;
8
+ }[];
9
+ };
10
+ export interface SentimentChartProps {
11
+ data: SentimentData;
12
+ width: string;
13
+ height: string;
14
+ margin?: {
15
+ top?: number;
16
+ right?: number;
17
+ bottom?: number;
18
+ left?: number;
19
+ };
20
+ tooltip?: ChartTooltipFunction;
21
+ i18n?: {
22
+ sentimentsValues: {
23
+ veryPositive: string;
24
+ positive: string;
25
+ neutral: string;
26
+ negative: string;
27
+ veryNegative: string;
28
+ };
29
+ };
30
+ }
31
+ export {};
@@ -0,0 +1,2 @@
1
+ import { SentimentChartProps } from "./_types";
2
+ export declare const SentimentChart: ({ data, width, height, margin, tooltip, i18n, }: SentimentChartProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { SentimentChartProps } from "./_types";
2
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SentimentChartProps>;
3
+ export declare const WithCustomTooltip: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SentimentChartProps>;
4
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, SentimentChartProps>;
5
+ export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DropdownArgs, SelectArgs } from "./_types";
3
2
  import { MenuArgs } from "../menu/_types";
4
3
  interface IItem {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { EditorArgs } from "./_types";
3
2
  interface EditorStoryArgs extends EditorArgs {
4
3
  children?: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TooltipArgs } from "./_types";
3
2
  export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, TooltipArgs>;
4
3
  declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const AnchorTag: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, any>;
3
2
  declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
4
3
  [x: string]: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, any>;
3
2
  declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
4
3
  [x: string]: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "3.1.45",
3
+ "version": "3.1.47-sentiment-beta",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",