@risalabs_frontend_org/oasis-ui-kit 0.29.0 → 0.31.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.
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import "./status-alert-bar.scss";
3
+ export declare const STATUS_ALERT_BAR_DEFAULT_COLORS: {
4
+ readonly backgroundColor: "#ffffff";
5
+ readonly borderColor: "#ffe8e8";
6
+ readonly accentColor: "#cc0300";
7
+ readonly accentOnColor: "#ffffff";
8
+ };
9
+ export interface StatusAlertBarColors {
10
+ backgroundColor?: string;
11
+ borderColor?: string;
12
+ accentColor?: string;
13
+ accentOnColor?: string;
14
+ }
15
+ export interface StatusAlertBarProps {
16
+ tagLabel?: string;
17
+ mainMessage: string;
18
+ reviewLabel?: string;
19
+ showLeftIcon?: boolean;
20
+ leftIcon?: React.ReactNode;
21
+ onLeftIconClick?: () => void;
22
+ showCloseIcon?: boolean;
23
+ closeIcon?: React.ReactNode;
24
+ onClose?: () => void;
25
+ showTag?: boolean;
26
+ showAlertIcon?: boolean;
27
+ colors?: StatusAlertBarColors;
28
+ className?: string;
29
+ iconSize?: number;
30
+ leftIconSize?: number;
31
+ alertIcon?: React.ReactNode;
32
+ }
33
+ export declare function StatusAlertBar({ tagLabel, mainMessage, reviewLabel, showLeftIcon, showCloseIcon, leftIcon, closeIcon, onLeftIconClick, onClose, showTag, showAlertIcon, colors, className, iconSize, leftIconSize, alertIcon, }: StatusAlertBarProps): React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@risalabs_frontend_org/oasis-ui-kit",
3
- "version": "0.29.0",
3
+ "version": "0.31.0",
4
4
  "description": "RISA Oasis UI",
5
5
  "private": false,
6
6
  "main": "dist/index.js",