@mindly/ui-components 5.24.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;
@@ -3,6 +3,7 @@ type AppFooterProps = {
3
3
  children?: React.ReactNode;
4
4
  transparent?: boolean;
5
5
  bottomSaveArea?: boolean;
6
+ borderTop?: boolean;
6
7
  };
7
8
  declare const _default: React.NamedExoticComponent<AppFooterProps>;
8
9
  export default _default;
@@ -4,6 +4,7 @@ type IconButtonProps = {
4
4
  className?: string;
5
5
  routerLink?: string;
6
6
  onClick?: (e: React.MouseEvent<HTMLIonButtonElement>) => void;
7
+ fill?: 'clear' | 'filled';
7
8
  };
8
9
  declare const _default: React.NamedExoticComponent<IconButtonProps>;
9
10
  export default _default;
package/dist/index.d.ts CHANGED
@@ -1432,6 +1432,7 @@ type AppFooterProps = {
1432
1432
  children?: React__default.ReactNode;
1433
1433
  transparent?: boolean;
1434
1434
  bottomSaveArea?: boolean;
1435
+ borderTop?: boolean;
1435
1436
  };
1436
1437
  declare const _default$e: React__default.NamedExoticComponent<AppFooterProps>;
1437
1438
 
@@ -1617,6 +1618,7 @@ type CircleRatingDataProps = {
1617
1618
  size: keyof typeof CircleRatingSize;
1618
1619
  maxValue: number;
1619
1620
  isReverse?: boolean;
1621
+ isShowBreakPoints?: boolean;
1620
1622
  };
1621
1623
  type CircleRatingDataResult = {
1622
1624
  circleSize: number;
@@ -1685,6 +1687,7 @@ type IconButtonProps = {
1685
1687
  className?: string;
1686
1688
  routerLink?: string;
1687
1689
  onClick?: (e: React__default.MouseEvent<HTMLIonButtonElement>) => void;
1690
+ fill?: 'clear' | 'filled';
1688
1691
  };
1689
1692
  declare const _default$5: React__default.NamedExoticComponent<IconButtonProps>;
1690
1693
 
@@ -1782,7 +1785,7 @@ declare function useToastContext(): ToastState<MindlyToastProps>;
1782
1785
 
1783
1786
  declare const SIZES: SizeValues;
1784
1787
  declare const BREAKPOINT_ICON_SIZE = 20;
1785
- declare function useCircleRatingRenderData({ progress, size, maxValue, isReverse, }: CircleRatingDataProps): CircleRatingDataResult;
1788
+ declare function useCircleRatingRenderData({ progress, size, maxValue, isReverse, isShowBreakPoints, }: CircleRatingDataProps): CircleRatingDataResult;
1786
1789
  declare function useRangeIndex({ progress, maxValue, ranges, isReverse }: ProgressRangeProps): number;
1787
1790
  declare function getProgressForBreakPoint({ maxValue, breakPoint, }: {
1788
1791
  maxValue: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "5.24.0",
3
+ "version": "5.25.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",
@@ -62,6 +62,9 @@ export default {
62
62
  bg: 'rgb(var(--badges-info-bg) / <alpha-value>)',
63
63
  },
64
64
  },
65
+ skeleton: {
66
+ color: 'rgb(var(--Skeleton-color) / <alpha-value>)',
67
+ },
65
68
  borders: {
66
69
  divider: 'rgb(var(--borders-divider) / 0.1)',
67
70
  },
@@ -53,6 +53,8 @@
53
53
  --color-info-green: 66 173 82;
54
54
 
55
55
  --borders-divider: 33 33 33;
56
+
57
+ --Skeleton-color: 238 238 238;
56
58
  }
57
59
 
58
60
  :root[data-app-theme="specialist"] {