jamespot-react-components 1.0.221 → 1.0.222

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,11 +1,14 @@
1
1
  import React from 'react';
2
+ import { Colors } from 'styles/theme';
2
3
  export declare const CSSProgressBarWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
4
  export declare const CSSProgressBar: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
4
5
  width: number;
5
6
  color: string;
6
7
  }, never>;
7
- export declare const JRCProgressBar: ({ value, total, threshold, }: {
8
+ export type JRCProgressBarProps = {
8
9
  value: number;
9
10
  total: number;
10
- threshold?: number | undefined;
11
- }) => React.JSX.Element;
11
+ threshold?: number;
12
+ colorProgressBar?: Colors;
13
+ };
14
+ export declare const JRCProgressBar: ({ value, total, threshold, colorProgressBar }: JRCProgressBarProps) => React.JSX.Element;
@@ -8,6 +8,7 @@ export type JRCBaseTooltipProps = {
8
8
  tooltip: any;
9
9
  children: ReactNode;
10
10
  dataEventOff: 'click' | 'mouseleave';
11
+ description?: string;
11
12
  className?: string;
12
13
  color: {
13
14
  border?: string;
@@ -1,4 +1,4 @@
1
- import { WidgetQuickSurveyContentArr, WidgetQuickSurveyResponses, WidgetLegacyMixedBoolean } from 'jamespot-user-api';
1
+ import { WidgetLegacyMixedBoolean, WidgetQuickSurveyContentArr, WidgetQuickSurveyResponses } from 'jamespot-user-api';
2
2
  import React from 'react';
3
3
  type JRCWidgetQuickSurveyProps = {
4
4
  limit: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-react-components",
3
- "version": "1.0.221",
3
+ "version": "1.0.222",
4
4
  "description": "",
5
5
  "main": "./build/jamespot-react-components.js",
6
6
  "types": "./build/src/index.d.ts",