@apexcura/ui-components 0.0.16-Beta1190 → 0.0.16-Beta1191

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,5 @@
1
+ import React from 'react';
2
+ import { GradientCardGroupOptionProps } from './GradientCardGroup';
3
+ import '../styles/gradient-card.css';
4
+ declare const GradientCard: (props: GradientCardGroupOptionProps) => React.JSX.Element;
5
+ export default GradientCard;
@@ -0,0 +1,22 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { Colors } from '../Types/types';
3
+ export interface GradientCardGroupOptionProps {
4
+ active?: boolean;
5
+ clickable?: boolean;
6
+ color?: Colors;
7
+ id?: string;
8
+ name: string;
9
+ onClick?: () => void;
10
+ prefixIcon?: ReactNode;
11
+ suffixText: string | number;
12
+ title: string;
13
+ }
14
+ export interface GradientCardGroupProps {
15
+ className?: string;
16
+ cols?: number;
17
+ name: string;
18
+ options: GradientCardGroupOptionProps[];
19
+ type: 'gradient-card-group';
20
+ value: '';
21
+ }
22
+ export declare const GradientCardGroup: (props: GradientCardGroupProps) => React.JSX.Element;
@@ -310,4 +310,5 @@ export type ElementType = {
310
310
  clickedVal?: string;
311
311
  customColor?: boolean;
312
312
  };
313
+ export type Colors = 'primary' | 'secondary' | 'danger' | 'warning';
313
314
  export {};
package/dist/index.d.ts CHANGED
@@ -47,3 +47,4 @@ export * from './Components/DropdownElement';
47
47
  export * from './Components/MediaUpload';
48
48
  export * from './Components/Video';
49
49
  export * from './Components/Document';
50
+ export * from './Components/GradientCardGroup';