@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.
- package/dist/cjs/configs/tailwind/colors.d.ts +3 -0
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/lib2/shared/hooks/useCircleRating.d.ts +1 -1
- package/dist/cjs/lib2/shared/types/ratingCircleTypes.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/AppFooter_v2/AppFooter_v2.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/IconButton/IconButton.d.ts +1 -0
- package/dist/esm/configs/tailwind/colors.d.ts +3 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/lib2/shared/hooks/useCircleRating.d.ts +1 -1
- package/dist/esm/lib2/shared/types/ratingCircleTypes.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/AppFooter_v2/AppFooter_v2.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/IconButton/IconButton.d.ts +1 -0
- package/dist/index.d.ts +4 -1
- package/package.json +1 -1
- package/src/configs/tailwind/colors.ts +3 -0
- package/src/lib2/shared/css/tailwind.css +2 -0
|
@@ -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;
|
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