@mindly/ui-components 5.25.0 → 5.25.1

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,7 +1,7 @@
1
1
  import { SizeValues, CircleRatingRange, CircleRatingDataProps, CircleRatingDataResult, CircleRatingLegendProps, ProgressRangeProps, BreakPointPositionResult, CircleRatingContextData } from '../types/ratingCircleTypes';
2
2
  export declare const SIZES: SizeValues;
3
3
  export declare const BREAKPOINT_ICON_SIZE = 20;
4
- export declare function useCircleRatingRenderData({ progress, size, maxValue, isReverse, }: CircleRatingDataProps): CircleRatingDataResult;
4
+ export declare function useCircleRatingRenderData({ progress, size, maxValue, isReverse, isShowBreakPoints, }: CircleRatingDataProps): CircleRatingDataResult;
5
5
  export declare function useRangeIndex({ progress, maxValue, ranges, isReverse }: ProgressRangeProps): number;
6
6
  export declare function getProgressForBreakPoint({ maxValue, breakPoint, }: {
7
7
  maxValue: number;
@@ -17,6 +17,7 @@ export type CircleRatingDataProps = {
17
17
  size: keyof typeof CircleRatingSize;
18
18
  maxValue: number;
19
19
  isReverse?: boolean;
20
+ isShowBreakPoints?: boolean;
20
21
  };
21
22
  export type CircleRatingDataResult = {
22
23
  circleSize: number;
package/dist/index.d.ts CHANGED
@@ -1618,6 +1618,7 @@ type CircleRatingDataProps = {
1618
1618
  size: keyof typeof CircleRatingSize;
1619
1619
  maxValue: number;
1620
1620
  isReverse?: boolean;
1621
+ isShowBreakPoints?: boolean;
1621
1622
  };
1622
1623
  type CircleRatingDataResult = {
1623
1624
  circleSize: number;
@@ -1784,7 +1785,7 @@ declare function useToastContext(): ToastState<MindlyToastProps>;
1784
1785
 
1785
1786
  declare const SIZES: SizeValues;
1786
1787
  declare const BREAKPOINT_ICON_SIZE = 20;
1787
- declare function useCircleRatingRenderData({ progress, size, maxValue, isReverse, }: CircleRatingDataProps): CircleRatingDataResult;
1788
+ declare function useCircleRatingRenderData({ progress, size, maxValue, isReverse, isShowBreakPoints, }: CircleRatingDataProps): CircleRatingDataResult;
1788
1789
  declare function useRangeIndex({ progress, maxValue, ranges, isReverse }: ProgressRangeProps): number;
1789
1790
  declare function getProgressForBreakPoint({ maxValue, breakPoint, }: {
1790
1791
  maxValue: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "5.25.0",
3
+ "version": "5.25.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",