@risalabs_frontend_org/oasis-ui-kit 0.128.0 → 0.130.0

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.
@@ -10,6 +10,7 @@ interface ModalProps {
10
10
  onClose?: () => void | Promise<void>;
11
11
  cancelText: string;
12
12
  heightPercentage?: number;
13
+ maxHeightPercentage?: number;
13
14
  showSingleButton?: boolean;
14
15
  disableSave?: boolean;
15
16
  hideFooter?: boolean;
@@ -0,0 +1,26 @@
1
+ import React from "react";
2
+ import "./notification-icon.scss";
3
+ export type NotificationIconSize = "small" | "medium" | "large";
4
+ export type NotificationIndicatorType = "dot" | "count" | "pulse";
5
+ export interface NotificationIconProps {
6
+ icon: React.ReactNode;
7
+ count?: number;
8
+ showIndicator?: boolean;
9
+ indicatorType?: NotificationIndicatorType;
10
+ size?: NotificationIconSize;
11
+ iconSize?: number;
12
+ indicatorSize?: number;
13
+ maxCount?: number;
14
+ indicatorBackgroundColor?: string;
15
+ indicatorTextColor?: string;
16
+ indicatorOffset?: {
17
+ top?: string;
18
+ right?: string;
19
+ };
20
+ className?: string;
21
+ onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
22
+ ariaLabel?: string;
23
+ disabled?: boolean;
24
+ }
25
+ export declare const NotificationIcon: React.FC<NotificationIconProps>;
26
+ export default NotificationIcon;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@risalabs_frontend_org/oasis-ui-kit",
3
- "version": "0.128.0",
3
+ "version": "0.130.0",
4
4
  "description": "RISA Oasis UI",
5
5
  "private": false,
6
6
  "main": "dist/index.js",