techsbcn-storybook 0.22.7 → 0.23.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,12 @@
1
+ import React from 'react';
2
+ import './CardComponent.scss';
3
+ declare type BackgroundType = 'gradiant-green' | 'gradiant-violet' | 'main-background-color' | 'white' | 'grey';
4
+ interface CardComponentProps {
5
+ children?: React.ReactNode;
6
+ height?: string;
7
+ backgroundType?: BackgroundType;
8
+ className?: string;
9
+ loading?: boolean;
10
+ }
11
+ declare const CardComponent: React.FC<CardComponentProps>;
12
+ export default CardComponent;
package/dist/index.d.ts CHANGED
@@ -21,3 +21,4 @@ export * from './components/modals/ModalComponent';
21
21
  export * from './components/wrappers/TabsComponent/TabsComponent';
22
22
  export * from './components/wrappers/LinearProgressComponent/LinearProgressComponent';
23
23
  export * from './components/fields/DatePickerComponent/DatePickerComponent';
24
+ export * from './components/wrappers/CardComponent/CardComponent';
@@ -0,0 +1,4 @@
1
+ import { Meta, Story } from '@storybook/react';
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ export declare const CardComponentProps: Story<import("@storybook/react").Args>;
@@ -3231,6 +3231,9 @@ DatePickerComponent.defaultProps = {
3231
3231
  fullWidth: true
3232
3232
  };
3233
3233
 
3234
+ var css_248z$i = ".card-component {\n box-shadow: 0 1px 20px 0 rgba(69, 90, 100, 0.08);\n background-color: white;\n}\n.card-component.gradiant-green {\n background: linear-gradient(-135deg, #1de9b6, #1dc4e9);\n color: white;\n}\n.card-component.gradiant-violet {\n background: linear-gradient(-135deg, #899fd4, #a389d4);\n color: white;\n}\n.card-component.grey {\n background: #A9A9A9;\n color: white;\n}\n.card-component.main-background-color {\n color: white;\n}\n.card-component .MuiCircularProgress-root {\n color: white;\n}";
3235
+ styleInject(css_248z$i);
3236
+
3234
3237
  exports.AppHeader = AppHeader;
3235
3238
  exports.AppSidebar = AppSidebar;
3236
3239
  exports.ButtonComponent = ButtonComponent;