dga-ui-react 1.6.1 → 1.8.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.
package/dist/index.d.ts CHANGED
@@ -218,10 +218,11 @@ interface DGA_GridProps extends HTMLAttributes<HTMLDivElement> {
218
218
  }
219
219
  declare const Grid: React.FC<DGA_GridProps>;
220
220
 
221
+ type InlineAlertType = ThemeColorName & "destructive";
221
222
  interface DGA_InlineAlertProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
222
223
  leadText: React.ReactNode;
223
224
  helpText?: React.ReactNode;
224
- type?: ThemeColorName;
225
+ type?: InlineAlertType;
225
226
  closeButton?: boolean;
226
227
  actions?: React.ReactNode;
227
228
  onClose?: Function;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dga-ui-react",
3
- "version": "1.6.1",
3
+ "version": "1.8.0",
4
4
  "description": "DGA ui library",
5
5
  "author": "Ashraf Ainia",
6
6
  "license": "MIT",