dgrcorrientes-modulos 1.0.2 → 1.0.4
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/README.md +12 -21
- package/components.js +31576 -0
- package/components.umd.cjs +311 -0
- package/index.d.ts +1 -0
- package/package.json +1 -60
- package/style.css +5 -0
- package/.nvmrc +0 -1
- package/.prettierrc.cjs +0 -8
- package/.storybook/main.cjs +0 -11
- package/.storybook/manager-head.html +0 -2
- package/.storybook/manager.cjs +0 -6
- package/.storybook/preview-head.html +0 -3
- package/.storybook/preview.cjs +0 -11
- package/.storybook/themes.cjs +0 -14
- package/StoryBook.txt +0 -19
- package/dist-config.cjs +0 -57
- package/index.html +0 -13
- package/src/App.scss +0 -36
- package/src/App.tsx +0 -34
- package/src/assets/react.svg +0 -1
- package/src/index.js +0 -70
- package/src/index.scss +0 -63
- package/src/index.ts +0 -108
- package/src/main.tsx +0 -11
- package/src/sass/base/_base.scss +0 -50
- package/src/sass/base/_controls.scss +0 -90
- package/src/sass/base/_datepicker.scss +0 -114
- package/src/sass/base/_typo.scss +0 -71
- package/src/sass/base/fonts/SFUIText-Bold.ttf +0 -0
- package/src/sass/base/fonts/SFUIText-BoldItalic.ttf +0 -0
- package/src/sass/base/fonts/SFUIText-Heavy.ttf +0 -0
- package/src/sass/base/fonts/SFUIText-HeavyItalic.ttf +0 -0
- package/src/sass/base/fonts/SFUIText-Light.ttf +0 -0
- package/src/sass/base/fonts/SFUIText-LightItalic.ttf +0 -0
- package/src/sass/base/fonts/SFUIText-Medium.ttf +0 -0
- package/src/sass/base/fonts/SFUIText-MediumItalic.ttf +0 -0
- package/src/sass/base/fonts/SFUIText-Regular.ttf +0 -0
- package/src/sass/base/fonts/SFUIText-RegularItalic.ttf +0 -0
- package/src/sass/base/fonts/SFUIText-Semibold.ttf +0 -0
- package/src/sass/base/fonts/SFUIText-SemiboldItalic.ttf +0 -0
- package/src/sass/bulma/bulma-changes.scss +0 -19
- package/src/sass/bulma/extensions/extensions.sass +0 -1
- package/src/sass/bulma/extensions/steps/bulma-steps.sass +0 -3
- package/src/sass/bulma/extensions/steps/index.sass +0 -421
- package/src/sass/bulma/variables/_variables-bulma.sass +0 -16
- package/src/sass/bulma/variables/components/card.sass +0 -20
- package/src/sass/bulma/variables/components/navbar.sass +0 -50
- package/src/sass/bulma/variables/components/tabs.sass +0 -28
- package/src/sass/bulma/variables/elements/button.sass +0 -46
- package/src/sass/bulma/variables/elements/notification.sass +0 -8
- package/src/sass/bulma/variables/elements/title.sass +0 -20
- package/src/sass/bulma/variables/grid/column.sass +0 -2
- package/src/sass/main.sass +0 -16
- package/src/sass/utilities/_bulma-variables.sass +0 -20
- package/src/sass/utilities/_derived-variables.scss +0 -68
- package/src/sass/utilities/_helpers.scss +0 -70
- package/src/sass/utilities/_variables.scss +0 -147
- package/src/stories/Changelog.stories.tsx +0 -73
- package/src/stories/Components/AssistanceDiary/AssistanceDiary.scss +0 -19
- package/src/stories/Components/AssistanceDiary/AssistanceDiary.stories.tsx +0 -25
- package/src/stories/Components/AssistanceDiary/AssistanceDiary.tsx +0 -57
- package/src/stories/Components/AverageAttended/AverageAttended.scss +0 -39
- package/src/stories/Components/AverageAttended/AverageAttended.stories.tsx +0 -71
- package/src/stories/Components/AverageAttended/AverageAttended.tsx +0 -311
- package/src/stories/Components/Breadcrumb/Breadcrumb.stories.tsx +0 -45
- package/src/stories/Components/Breadcrumb/Breadcrumb.tsx +0 -68
- package/src/stories/Components/Breadcrumb/breadcrumb.scss +0 -82
- package/src/stories/Components/CTA/CTA.scss +0 -76
- package/src/stories/Components/CTA/CTA.stories.tsx +0 -46
- package/src/stories/Components/CTA/CTA.tsx +0 -70
- package/src/stories/Components/Cards/Card CTA/CardCta.stories.tsx +0 -34
- package/src/stories/Components/Cards/Card CTA/CardCta.tsx +0 -81
- package/src/stories/Components/Cards/Card CTA/cardCta.scss +0 -71
- package/src/stories/Components/Cards/Card Expiration/cardExpiration.scss +0 -105
- package/src/stories/Components/Cards/Card Expiration/cardExpiration.stories.tsx +0 -40
- package/src/stories/Components/Cards/Card Expiration/cardExpiration.tsx +0 -95
- package/src/stories/Components/Cards/Card Vertical/CardVertical.stories.tsx +0 -43
- package/src/stories/Components/Cards/Card Vertical/CardVertical.tsx +0 -106
- package/src/stories/Components/Cards/Card Vertical/cardVertical.scss +0 -130
- package/src/stories/Components/Cards/CardActivity/cardActivity.scss +0 -31
- package/src/stories/Components/Cards/CardActivity/cardActivity.stories.tsx +0 -20
- package/src/stories/Components/Cards/CardActivity/cardActivity.tsx +0 -48
- package/src/stories/Components/Cards/CardHorizontal/CardHorizontal.stories.tsx +0 -96
- package/src/stories/Components/Cards/CardHorizontal/CardHorizontal.tsx +0 -94
- package/src/stories/Components/Cards/CardHorizontal/cardHorizontal.scss +0 -65
- package/src/stories/Components/Cards/CardUser/CardUser.stories.tsx +0 -135
- package/src/stories/Components/Cards/CardUser/CardUser.tsx +0 -122
- package/src/stories/Components/Cards/CardUser/cardUser.scss +0 -115
- package/src/stories/Components/Cart/Cart.scss +0 -279
- package/src/stories/Components/Cart/Cart.stories.tsx +0 -350
- package/src/stories/Components/Cart/Cart.tsx +0 -277
- package/src/stories/Components/Collapse/Collapse.scss +0 -339
- package/src/stories/Components/Collapse/Collapse.stories.tsx +0 -766
- package/src/stories/Components/Collapse/Collapse.tsx +0 -451
- package/src/stories/Components/CollapseEdit/CollapseEdit.scss +0 -128
- package/src/stories/Components/CollapseEdit/CollapseEdit.stories.tsx +0 -29
- package/src/stories/Components/CollapseEdit/CollapseEdit.tsx +0 -185
- package/src/stories/Components/CompleteDiary/CompleteDiary.scss +0 -165
- package/src/stories/Components/CompleteDiary/CompleteDiary.stories.tsx +0 -219
- package/src/stories/Components/CompleteDiary/CompleteDiary.tsx +0 -394
- package/src/stories/Components/Dropdown/Dropdown.scss +0 -60
- package/src/stories/Components/Dropdown/Dropdown.stories.tsx +0 -19
- package/src/stories/Components/Dropdown/Dropdown.tsx +0 -99
- package/src/stories/Components/EmptyState/EmptyState.stories.tsx +0 -46
- package/src/stories/Components/EmptyState/EmptyState.tsx +0 -44
- package/src/stories/Components/EmptyState/emptyState.scss +0 -75
- package/src/stories/Components/ErrorPage/ErrorPage.scss +0 -65
- package/src/stories/Components/ErrorPage/ErrorPage.stories.tsx +0 -164
- package/src/stories/Components/ErrorPage/ErrorPage.tsx +0 -107
- package/src/stories/Components/IncomingCall/IncomingCall.scss +0 -27
- package/src/stories/Components/IncomingCall/IncomingCall.stories.tsx +0 -43
- package/src/stories/Components/IncomingCall/IncomingCall.tsx +0 -76
- package/src/stories/Components/ModalConfirm/ModalConfirm.scss +0 -30
- package/src/stories/Components/ModalConfirm/ModalConfirm.stories.tsx +0 -21
- package/src/stories/Components/ModalConfirm/ModalConfirm.tsx +0 -118
- package/src/stories/Components/Pagination/Pagination.scss +0 -42
- package/src/stories/Components/Pagination/Pagination.stories.tsx +0 -25
- package/src/stories/Components/Pagination/Pagination.tsx +0 -143
- package/src/stories/Components/PerformanceAssessment/PerformanceAssessment.scss +0 -26
- package/src/stories/Components/PerformanceAssessment/PerformanceAssessment.stories.tsx +0 -27
- package/src/stories/Components/PerformanceAssessment/PerformanceAssessment.tsx +0 -108
- package/src/stories/Components/ShiftDiary/ShiftDiary.scss +0 -45
- package/src/stories/Components/ShiftDiary/ShiftDiary.stories.tsx +0 -32
- package/src/stories/Components/ShiftDiary/ShiftDiary.tsx +0 -92
- package/src/stories/Components/Stepper/Stepper.stories.tsx +0 -26
- package/src/stories/Components/Stepper/Stepper.tsx +0 -102
- package/src/stories/Components/Stepper/stepper.scss +0 -59
- package/src/stories/Components/Tabs/Tabs.stories.tsx +0 -76
- package/src/stories/Components/Tabs/Tabs.tsx +0 -111
- package/src/stories/Components/Tabs/tabs.scss +0 -118
- package/src/stories/Components/Tooltip/Tooltip.scss +0 -235
- package/src/stories/Components/Tooltip/Tooltip.stories.tsx +0 -125
- package/src/stories/Components/Tooltip/Tooltip.tsx +0 -222
- package/src/stories/Elements/Alert/Alert.stories.tsx +0 -65
- package/src/stories/Elements/Alert/Alert.tsx +0 -49
- package/src/stories/Elements/Alert/alert.scss +0 -189
- package/src/stories/Elements/Badge/Badge.stories.tsx +0 -15
- package/src/stories/Elements/Badge/Badge.tsx +0 -21
- package/src/stories/Elements/Badge/badge.scss +0 -24
- package/src/stories/Elements/Button/Button.stories.tsx +0 -54
- package/src/stories/Elements/Button/Button.tsx +0 -118
- package/src/stories/Elements/Button/button.scss +0 -102
- package/src/stories/Elements/Icon/Icon.stories.tsx +0 -33
- package/src/stories/Elements/Icon/Icon.tsx +0 -57
- package/src/stories/Elements/Icon/icon.scss +0 -15
- package/src/stories/Elements/Icon/icono.svg +0 -1
- package/src/stories/Elements/ProgressBar/ProgressBar.scss +0 -26
- package/src/stories/Elements/ProgressBar/ProgressBar.stories.tsx +0 -19
- package/src/stories/Elements/ProgressBar/ProgressBar.tsx +0 -35
- package/src/stories/Form/Autocomplete/Autocomplete.stories.tsx +0 -55
- package/src/stories/Form/Autocomplete/Autocomplete.tsx +0 -160
- package/src/stories/Form/Autocomplete/autocomplete.scss +0 -311
- package/src/stories/Form/Autocomplete-Prueba/Autocomplete.stories.tsx +0 -50
- package/src/stories/Form/Autocomplete-Prueba/AutocompletePrueba.tsx +0 -83
- package/src/stories/Form/Checkbox/Checkbox.stories.tsx +0 -26
- package/src/stories/Form/Checkbox/Checkbox.tsx +0 -89
- package/src/stories/Form/Checkbox/checkbox.scss +0 -41
- package/src/stories/Form/DatePicker/DatePickerExample.stories.tsx +0 -27
- package/src/stories/Form/DatePicker/DatePickerExample.tsx +0 -65
- package/src/stories/Form/DatePickerComponent/DatePickerComponent.scss +0 -116
- package/src/stories/Form/DatePickerComponent/DatePickerComponent.stories.tsx +0 -37
- package/src/stories/Form/DatePickerComponent/DatePickerComponent.tsx +0 -97
- package/src/stories/Form/Filters/Filters.stories.tsx +0 -84
- package/src/stories/Form/Filters/Filters.tsx +0 -230
- package/src/stories/Form/Filters/filters.scss +0 -261
- package/src/stories/Form/Input/Input.stories.tsx +0 -25
- package/src/stories/Form/Input/Input.tsx +0 -86
- package/src/stories/Form/Input/InputVar.sass +0 -26
- package/src/stories/Form/Input/input.scss +0 -19
- package/src/stories/Form/InputFormControl/Input-form-control.stories.tsx +0 -26
- package/src/stories/Form/InputFormControl/Input-form-control.tsx +0 -48
- package/src/stories/Form/InputFormControl/input-form-control.scss +0 -34
- package/src/stories/Form/Radio/Radio.stories.tsx +0 -19
- package/src/stories/Form/Radio/Radio.tsx +0 -84
- package/src/stories/Form/Radio/radio.scss +0 -19
- package/src/stories/Form/Search/Search.scss +0 -50
- package/src/stories/Form/Search/Search.stories.tsx +0 -26
- package/src/stories/Form/Search/Search.tsx +0 -84
- package/src/stories/Form/Select/Select.stories.tsx +0 -55
- package/src/stories/Form/Select/Select.tsx +0 -121
- package/src/stories/Form/Select/select.scss +0 -303
- package/src/stories/Form/Switch/Switch.stories.tsx +0 -17
- package/src/stories/Form/Switch/Switch.tsx +0 -36
- package/src/stories/Form/Switch/switch.scss +0 -123
- package/src/stories/Form/Textarea/Textarea.stories.tsx +0 -19
- package/src/stories/Form/Textarea/Textarea.tsx +0 -52
- package/src/stories/Form/Textarea/textarea.scss +0 -25
- package/src/stories/Form/UploadFileItem/UploadFileItem.scss +0 -49
- package/src/stories/Form/UploadFileItem/UploadFileItem.stories.tsx +0 -18
- package/src/stories/Form/UploadFileItem/UploadFileItem.tsx +0 -89
- package/src/stories/Form/UploadFiles/UploadFiles.scss +0 -17
- package/src/stories/Form/UploadFiles/UploadFiles.stories.tsx +0 -32
- package/src/stories/Form/UploadFiles/UploadFiles.tsx +0 -177
- package/src/stories/Layout/Footer/Footer.scss +0 -129
- package/src/stories/Layout/Footer/Footer.stories.tsx +0 -101
- package/src/stories/Layout/Footer/Footer.tsx +0 -81
- package/src/stories/Layout/Header/Header.scss +0 -190
- package/src/stories/Layout/Header/Header.stories.tsx +0 -223
- package/src/stories/Layout/Header/Header.tsx +0 -278
- package/src/stories/Layout/HeaderTable/HeaderTable.scss +0 -21
- package/src/stories/Layout/HeaderTable/HeaderTable.stories.tsx +0 -112
- package/src/stories/Layout/HeaderTable/HeaderTable.tsx +0 -72
- package/src/stories/Layout/Sidebar/Sidebar.scss +0 -50
- package/src/stories/Layout/Sidebar/Sidebar.stories.tsx +0 -744
- package/src/stories/Layout/Sidebar/Sidebar.tsx +0 -129
- package/src/stories/Layout/SidebarEmpty/SidebarEmpty.scss +0 -64
- package/src/stories/Layout/SidebarEmpty/SidebarEmpty.stories.tsx +0 -26
- package/src/stories/Layout/SidebarEmpty/SidebarEmpty.tsx +0 -100
- package/src/stories/Layout/Subtitle/Subtitle.scss +0 -88
- package/src/stories/Layout/Subtitle/Subtitle.stories.tsx +0 -46
- package/src/stories/Layout/Subtitle/Subtitle.tsx +0 -108
- package/src/stories/Layout/Title/Title.scss +0 -79
- package/src/stories/Layout/Title/Title.stories.tsx +0 -86
- package/src/stories/Layout/Title/Title.tsx +0 -96
- package/src/stories/Welcome.stories.tsx +0 -111
- package/src/stories/assets/404 Page Not Found _Two Color (1).png +0 -0
- package/src/stories/assets/404 Page Not Found _Two Color.png +0 -0
- package/src/stories/assets/Empty Inbox _Two Color.png +0 -0
- package/src/stories/assets/Loading _Two Color.png +0 -0
- package/src/stories/assets/Notifications_Two Color 1.png +0 -0
- package/src/stories/assets/Online protection_Two Color.png +0 -0
- package/src/stories/assets/Under Constructions _Two Color.png +0 -0
- package/src/stories/assets/bulma.png +0 -0
- package/src/stories/assets/burger.svg +0 -5
- package/src/stories/assets/code-brackets.svg +0 -1
- package/src/stories/assets/colors.svg +0 -1
- package/src/stories/assets/comments.svg +0 -1
- package/src/stories/assets/decor-bg.png +0 -0
- package/src/stories/assets/direction.svg +0 -1
- package/src/stories/assets/e-isologo.svg +0 -4
- package/src/stories/assets/e-isotype.svg +0 -4
- package/src/stories/assets/e-logo_negative.svg +0 -14
- package/src/stories/assets/e-logotype.svg +0 -14
- package/src/stories/assets/flow.svg +0 -1
- package/src/stories/assets/logo_gobierno_corrientes.svg +0 -9
- package/src/stories/assets/logo_rentas_corrientes.svg +0 -10
- package/src/stories/assets/logo_rentas_corrientes_compacto.svg +0 -10
- package/src/stories/assets/plugin.svg +0 -1
- package/src/stories/assets/repo.svg +0 -1
- package/src/stories/assets/stackalt.svg +0 -1
- package/src/stories/assets/storybook.svg +0 -13
- package/src/stories/assets/thumbnail-black.jpg +0 -0
- package/src/stories/assets/thumbnail-black[2].jpg +0 -0
- package/src/stories/assets/thumbnail.jpg +0 -0
- package/src/stories/assets/thumbnail[2].jpg +0 -0
- package/src/stories/changelog.ts +0 -389
- package/src/utils/functions.ts +0 -57
- package/src/vite-env.d.ts +0 -2
- package/static/e-isologo-192.jpg +0 -0
- package/static/e-isologo.svg +0 -4
- package/static/e-logotype.svg +0 -14
- package/static/favicon.ico +0 -0
- package/tsconfig.json +0 -22
- package/tsconfig.node.json +0 -9
- package/vite.config.ts +0 -22
- /package/{public/elevation.ico → elevation.ico} +0 -0
- /package/{public/elevationImage.png → elevationImage.png} +0 -0
- /package/{public/vite.svg → vite.svg} +0 -0
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import {ComponentStory, ComponentMeta} from '@storybook/react';
|
|
2
|
-
import {CTA} from './CTA';
|
|
3
|
-
|
|
4
|
-
export default {
|
|
5
|
-
title: 'Components/CTA',
|
|
6
|
-
component: CTA,
|
|
7
|
-
args: {
|
|
8
|
-
title: 'Sugerencias y Quejas',
|
|
9
|
-
button: {
|
|
10
|
-
type: 'button',
|
|
11
|
-
color: 'primary',
|
|
12
|
-
size: 'medium',
|
|
13
|
-
fill: 'outline',
|
|
14
|
-
loading: false,
|
|
15
|
-
disabled: false,
|
|
16
|
-
label: 'Más información',
|
|
17
|
-
trailingIcon: true,
|
|
18
|
-
onClick: () => console.log('Button Clicked'),
|
|
19
|
-
},
|
|
20
|
-
items: [
|
|
21
|
-
{
|
|
22
|
-
icon: {icon: 'fa fa-home'},
|
|
23
|
-
title: 'Sugerencia',
|
|
24
|
-
description:
|
|
25
|
-
'Consejo, idea o propuesta presentada con el propósito de mejorar la prestación de un servicio o producto ofrecido por la D.G.R.',
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
icon: {icon: 'fa fa-home'},
|
|
29
|
-
title: 'Sugerencia',
|
|
30
|
-
description:
|
|
31
|
-
'Consejo, idea o propuesta presentada con el propósito de mejorar la prestación de un servicio o producto ofrecido por la D.G.R.',
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
icon: {icon: 'fa fa-home'},
|
|
35
|
-
title: 'Sugerencia',
|
|
36
|
-
description:
|
|
37
|
-
'Consejo, idea o propuesta presentada con el propósito de mejorar la prestación de un servicio o producto ofrecido por la D.G.R.',
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
},
|
|
41
|
-
} as ComponentMeta<typeof CTA>;
|
|
42
|
-
|
|
43
|
-
const Template: ComponentStory<typeof CTA> = args => <CTA {...args} />;
|
|
44
|
-
|
|
45
|
-
export const Standard = Template.bind({});
|
|
46
|
-
Standard.args = {};
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import {Button, IButton} from '../../Elements/Button/Button';
|
|
2
|
-
import './CTA.scss';
|
|
3
|
-
import {shortenText} from '../../../utils/functions';
|
|
4
|
-
import {Icon, IIcon} from '../../Elements/Icon/Icon';
|
|
5
|
-
|
|
6
|
-
export interface ICTA extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
7
|
-
// base
|
|
8
|
-
title: string;
|
|
9
|
-
button: IButton;
|
|
10
|
-
items: {
|
|
11
|
-
icon: IIcon;
|
|
12
|
-
title: string;
|
|
13
|
-
description: string;
|
|
14
|
-
}[];
|
|
15
|
-
|
|
16
|
-
// react
|
|
17
|
-
className?: string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export const CTA = ({title, button, items, className, ...props}: ICTA) => {
|
|
21
|
-
return (
|
|
22
|
-
<div className="elv-component elv-cta" {...props}>
|
|
23
|
-
<div className={`cta columns ${className ? className : ''}`}>
|
|
24
|
-
<div className="cta__principal column is-3 is-flex is-flex-direction-column">
|
|
25
|
-
<p className="title">{shortenText(title, 25)}</p>
|
|
26
|
-
<div className="button-container">
|
|
27
|
-
<Button {...button} />
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
<div className="cta__items column">
|
|
31
|
-
<div className="columns is-flex">
|
|
32
|
-
{items[0] && (
|
|
33
|
-
<div className="item column is-flex">
|
|
34
|
-
<div className="item__icon is-flex is-align-items-center is-justify-content-center">
|
|
35
|
-
<Icon {...items[0].icon} />
|
|
36
|
-
</div>
|
|
37
|
-
<div className="item__description">
|
|
38
|
-
<p className="title is-6">{shortenText(items[0].title, 15)}</p>
|
|
39
|
-
<p>{shortenText(items[0].description, 137)}</p>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
)}
|
|
43
|
-
{items[1] && (
|
|
44
|
-
<div className="item column is-flex">
|
|
45
|
-
<div className="item__icon is-flex is-align-items-center is-justify-content-center">
|
|
46
|
-
<Icon {...items[1].icon} />
|
|
47
|
-
</div>
|
|
48
|
-
<div className="item__description">
|
|
49
|
-
<p className="title is-6">{shortenText(items[1].title, 15)}</p>
|
|
50
|
-
<p>{shortenText(items[1].description, 137)}</p>
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
)}
|
|
54
|
-
{items[2] && (
|
|
55
|
-
<div className="item column is-flex">
|
|
56
|
-
<div className="item__icon is-flex is-align-items-center is-justify-content-center">
|
|
57
|
-
<Icon {...items[2].icon} />
|
|
58
|
-
</div>
|
|
59
|
-
<div className="item__description">
|
|
60
|
-
<p className="title is-6">{shortenText(items[2].title, 15)}</p>
|
|
61
|
-
<p>{shortenText(items[2].description, 137)}</p>
|
|
62
|
-
</div>
|
|
63
|
-
</div>
|
|
64
|
-
)}
|
|
65
|
-
</div>
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
);
|
|
70
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import {ComponentStory, ComponentMeta} from '@storybook/react';
|
|
2
|
-
import {CardCTA} from './CardCta';
|
|
3
|
-
|
|
4
|
-
export default {
|
|
5
|
-
title: 'Components/Cards/CardCTA',
|
|
6
|
-
component: CardCTA,
|
|
7
|
-
args: {
|
|
8
|
-
img: 'https://img.freepik.com/fotos-premium/hombre-usando-computadora-portatil-casa-maqueta-pantalla-blanco-exhibicion-productos_44344-3360.jpg',
|
|
9
|
-
title: 'long established',
|
|
10
|
-
icon: [
|
|
11
|
-
{
|
|
12
|
-
icon: 'fa-solid fa-calendar-days',
|
|
13
|
-
},
|
|
14
|
-
],
|
|
15
|
-
date: '13/10/2022',
|
|
16
|
-
description:
|
|
17
|
-
'It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsun is that..',
|
|
18
|
-
button: {
|
|
19
|
-
type: 'button',
|
|
20
|
-
size: 'normal',
|
|
21
|
-
fill: 'link',
|
|
22
|
-
loading: false,
|
|
23
|
-
disabled: false,
|
|
24
|
-
label: 'Leer más',
|
|
25
|
-
trailingIcon: true,
|
|
26
|
-
onClick: () => console.log('Button Clicked'),
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
} as ComponentMeta<typeof CardCTA>;
|
|
30
|
-
|
|
31
|
-
const Template: ComponentStory<typeof CardCTA> = args => <CardCTA {...args} />;
|
|
32
|
-
|
|
33
|
-
export const Standard = Template.bind({});
|
|
34
|
-
Standard.args = {};
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import './cardCta.scss';
|
|
2
|
-
import {Button, IButton} from '../../../Elements/Button/Button';
|
|
3
|
-
import {Icon, IIcon} from '../../../Elements/Icon/Icon';
|
|
4
|
-
import {shortenText} from '../../../../utils/functions';
|
|
5
|
-
|
|
6
|
-
export interface ICardCTA extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
7
|
-
// base
|
|
8
|
-
img?: any;
|
|
9
|
-
imgAvatar?: any;
|
|
10
|
-
title: string;
|
|
11
|
-
icon?: IIcon[];
|
|
12
|
-
date?: string;
|
|
13
|
-
description?: string;
|
|
14
|
-
button?: IButton;
|
|
15
|
-
|
|
16
|
-
// boolean
|
|
17
|
-
avatar?: boolean;
|
|
18
|
-
isClickable?: boolean;
|
|
19
|
-
isBorderless?: boolean;
|
|
20
|
-
|
|
21
|
-
// events
|
|
22
|
-
onClick?: () => void;
|
|
23
|
-
|
|
24
|
-
// react
|
|
25
|
-
className?: string;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export const CardCTA = ({
|
|
29
|
-
img,
|
|
30
|
-
title,
|
|
31
|
-
icon,
|
|
32
|
-
date,
|
|
33
|
-
description,
|
|
34
|
-
button,
|
|
35
|
-
className,
|
|
36
|
-
isBorderless,
|
|
37
|
-
isClickable,
|
|
38
|
-
onClick,
|
|
39
|
-
...props
|
|
40
|
-
}: ICardCTA) => {
|
|
41
|
-
return (
|
|
42
|
-
<div className="elv-component elv-card" {...props}>
|
|
43
|
-
<div
|
|
44
|
-
className={[
|
|
45
|
-
'card card-cta',
|
|
46
|
-
`${className ? ' ' + className : ''}`,
|
|
47
|
-
`${isClickable ? ' is-clickable' : ''}`,
|
|
48
|
-
`${isBorderless ? ' is-shadowless' : ' card-box'}`,
|
|
49
|
-
].join('')}
|
|
50
|
-
onClick={() => {
|
|
51
|
-
if (isClickable && onClick) {
|
|
52
|
-
onClick();
|
|
53
|
-
}
|
|
54
|
-
}}
|
|
55
|
-
>
|
|
56
|
-
<div className="card-content" style={{flexGrow: 1}}>
|
|
57
|
-
<div className="card-header">
|
|
58
|
-
<div className="card__text">
|
|
59
|
-
<p className="title is-3">{shortenText(title, 54)}</p>
|
|
60
|
-
{description && <p>{shortenText(description, 198)}</p>}
|
|
61
|
-
</div>
|
|
62
|
-
</div>
|
|
63
|
-
<div className="card-footer">
|
|
64
|
-
<div className="card__date">
|
|
65
|
-
{icon && <Icon {...icon[0]} />}
|
|
66
|
-
<span className="date">{date}</span>
|
|
67
|
-
</div>
|
|
68
|
-
{button && (
|
|
69
|
-
<div className="card__button">
|
|
70
|
-
<Button {...button} />
|
|
71
|
-
</div>
|
|
72
|
-
)}
|
|
73
|
-
</div>
|
|
74
|
-
</div>
|
|
75
|
-
<div className="card-image">
|
|
76
|
-
<img src={img} alt="" />
|
|
77
|
-
</div>
|
|
78
|
-
</div>
|
|
79
|
-
</div>
|
|
80
|
-
);
|
|
81
|
-
};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
@import '/src/sass/utilities/variables';
|
|
2
|
-
|
|
3
|
-
.card-cta {
|
|
4
|
-
border-radius: 16px;
|
|
5
|
-
min-width: 517px;
|
|
6
|
-
max-width: none;
|
|
7
|
-
display: flex;
|
|
8
|
-
justify-content: space-between;
|
|
9
|
-
|
|
10
|
-
.card-content {
|
|
11
|
-
width: 484px;
|
|
12
|
-
height: auto;
|
|
13
|
-
padding: 30px 24px;
|
|
14
|
-
|
|
15
|
-
.card-header {
|
|
16
|
-
margin-bottom: 24px;
|
|
17
|
-
|
|
18
|
-
.card__text {
|
|
19
|
-
max-width: 100%;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.card-footer {
|
|
24
|
-
display: flex;
|
|
25
|
-
justify-content: space-between !important;
|
|
26
|
-
margin-top: 40px;
|
|
27
|
-
|
|
28
|
-
.card__date {
|
|
29
|
-
display: flex;
|
|
30
|
-
align-items: center;
|
|
31
|
-
|
|
32
|
-
.icon {
|
|
33
|
-
width: 12px;
|
|
34
|
-
color: $text-400;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.date {
|
|
38
|
-
font-weight: 400;
|
|
39
|
-
font-size: 12px;
|
|
40
|
-
line-height: 16px;
|
|
41
|
-
color: $text-400;
|
|
42
|
-
padding-left: 7px;
|
|
43
|
-
max-width: 200px;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.card__button {
|
|
48
|
-
display: flex;
|
|
49
|
-
justify-content: center;
|
|
50
|
-
|
|
51
|
-
.button {
|
|
52
|
-
padding: 0;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
.card-image {
|
|
58
|
-
display: inline-flex;
|
|
59
|
-
justify-content: center;
|
|
60
|
-
align-items: center;
|
|
61
|
-
// min-width: 390px;
|
|
62
|
-
max-width: 40%;
|
|
63
|
-
border-radius: 0px 16px 16px 0px;
|
|
64
|
-
overflow: hidden;
|
|
65
|
-
|
|
66
|
-
img {
|
|
67
|
-
height: 100%;
|
|
68
|
-
max-width: none;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
@import '/src/sass/utilities/variables';
|
|
2
|
-
|
|
3
|
-
.card-expiration {
|
|
4
|
-
min-width: 225px;
|
|
5
|
-
display: flex;
|
|
6
|
-
border-radius: 16px;
|
|
7
|
-
gap: 16px;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
background-color: $white;
|
|
10
|
-
|
|
11
|
-
&__content {
|
|
12
|
-
padding: 16px 24px;
|
|
13
|
-
.card_header {
|
|
14
|
-
padding-bottom: 20px;
|
|
15
|
-
border-bottom: 1px solid $muted-200;
|
|
16
|
-
|
|
17
|
-
.date__big {
|
|
18
|
-
text-align: center;
|
|
19
|
-
|
|
20
|
-
h1 {
|
|
21
|
-
font-weight: $fw-regular;
|
|
22
|
-
font-size: 96px;
|
|
23
|
-
color: $primary-600;
|
|
24
|
-
margin: 0;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
h4 {
|
|
28
|
-
font-weight: $fw-semibold;
|
|
29
|
-
font-size: 30px;
|
|
30
|
-
color: $text-800;
|
|
31
|
-
margin: 0;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&.mb-20 {
|
|
35
|
-
margin-bottom: 20px;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.date__small {
|
|
40
|
-
text-align: center;
|
|
41
|
-
|
|
42
|
-
.title.is-5 {
|
|
43
|
-
font-weight: $fw-regular;
|
|
44
|
-
color: $text-400;
|
|
45
|
-
text-transform: capitalize;
|
|
46
|
-
margin-top: 20px;
|
|
47
|
-
margin-bottom: 0px;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.title.is-3 {
|
|
51
|
-
color: $primary-600;
|
|
52
|
-
margin-top: 5px;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.card__icon {
|
|
57
|
-
display: flex;
|
|
58
|
-
justify-content: center;
|
|
59
|
-
|
|
60
|
-
.icon {
|
|
61
|
-
width: 40px;
|
|
62
|
-
height: 40px;
|
|
63
|
-
background-color: $muted-200;
|
|
64
|
-
border-radius: 50%;
|
|
65
|
-
display: flex;
|
|
66
|
-
justify-content: center;
|
|
67
|
-
|
|
68
|
-
span {
|
|
69
|
-
display: flex;
|
|
70
|
-
|
|
71
|
-
.icon {
|
|
72
|
-
width: 15px;
|
|
73
|
-
fill: $text-800;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.card-footer {
|
|
81
|
-
padding-top: 20px;
|
|
82
|
-
.data__expiration {
|
|
83
|
-
.list {
|
|
84
|
-
font-weight: 400;
|
|
85
|
-
font-size: 16px;
|
|
86
|
-
line-height: 22px;
|
|
87
|
-
|
|
88
|
-
.title.is-6 {
|
|
89
|
-
color: $text-400;
|
|
90
|
-
margin: 0;
|
|
91
|
-
|
|
92
|
-
span {
|
|
93
|
-
color: $text-900;
|
|
94
|
-
margin: 0;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.card__button {
|
|
101
|
-
margin-top: 5px;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import {ComponentStory, ComponentMeta} from '@storybook/react';
|
|
2
|
-
import {CardExpiration} from './cardExpiration';
|
|
3
|
-
|
|
4
|
-
export default {
|
|
5
|
-
title: 'Components/Cards/CardExpiration',
|
|
6
|
-
component: CardExpiration,
|
|
7
|
-
args: {
|
|
8
|
-
fill: 'default',
|
|
9
|
-
dataBig: false,
|
|
10
|
-
bigNumber: '22',
|
|
11
|
-
bigMonth: 'febrero',
|
|
12
|
-
dataSmall: true,
|
|
13
|
-
iconCalendar: [
|
|
14
|
-
{
|
|
15
|
-
icon: 'fa-solid fa-calendar-days',
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
|
-
day: 'martes',
|
|
19
|
-
fullDay: '15 de noviembre',
|
|
20
|
-
list: [
|
|
21
|
-
{
|
|
22
|
-
type: 'Cuotas',
|
|
23
|
-
text: '01',
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
type: 'Terminación CUIT',
|
|
27
|
-
text: '2-3',
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
type: 'Tipo',
|
|
31
|
-
text: 'Pago/Pres',
|
|
32
|
-
},
|
|
33
|
-
],
|
|
34
|
-
},
|
|
35
|
-
} as ComponentMeta<typeof CardExpiration>;
|
|
36
|
-
|
|
37
|
-
const Template: ComponentStory<typeof CardExpiration> = args => <CardExpiration {...args} />;
|
|
38
|
-
|
|
39
|
-
export const Standard = Template.bind({});
|
|
40
|
-
Standard.args = {};
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import './cardExpiration.scss';
|
|
2
|
-
import {Icon, IIcon} from '../../../Elements/Icon/Icon';
|
|
3
|
-
import {generateRandomKey} from '../../../../utils/functions';
|
|
4
|
-
|
|
5
|
-
export interface ICardExpiration extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
6
|
-
// base
|
|
7
|
-
bigNumber?: string;
|
|
8
|
-
bigMonth?: string;
|
|
9
|
-
dataSmall?: boolean;
|
|
10
|
-
iconCalendar?: IIcon[];
|
|
11
|
-
day?: string;
|
|
12
|
-
fullDay?: string;
|
|
13
|
-
list: {
|
|
14
|
-
type: string;
|
|
15
|
-
text: string;
|
|
16
|
-
}[];
|
|
17
|
-
|
|
18
|
-
// boolean
|
|
19
|
-
dataBig?: boolean;
|
|
20
|
-
isClickable?: boolean;
|
|
21
|
-
isBorderless?: boolean;
|
|
22
|
-
|
|
23
|
-
// events
|
|
24
|
-
onClick?: () => void;
|
|
25
|
-
|
|
26
|
-
// react
|
|
27
|
-
className?: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export const CardExpiration = ({
|
|
31
|
-
dataBig,
|
|
32
|
-
bigNumber,
|
|
33
|
-
bigMonth,
|
|
34
|
-
dataSmall,
|
|
35
|
-
iconCalendar,
|
|
36
|
-
day,
|
|
37
|
-
fullDay,
|
|
38
|
-
list,
|
|
39
|
-
className,
|
|
40
|
-
isBorderless,
|
|
41
|
-
isClickable,
|
|
42
|
-
onClick,
|
|
43
|
-
...props
|
|
44
|
-
}: ICardExpiration) => {
|
|
45
|
-
return (
|
|
46
|
-
<div className="elv-component elv-card" {...props}>
|
|
47
|
-
<div
|
|
48
|
-
className={[
|
|
49
|
-
'card card-expiration',
|
|
50
|
-
`${className ? ' ' + className : ''}`,
|
|
51
|
-
`${isClickable ? ' is-clickable' : ''}`,
|
|
52
|
-
`${isBorderless ? ' is-shadowless' : ' card-box'}`,
|
|
53
|
-
].join('')}
|
|
54
|
-
onClick={() => {
|
|
55
|
-
if (isClickable && onClick) {
|
|
56
|
-
onClick();
|
|
57
|
-
}
|
|
58
|
-
}}
|
|
59
|
-
>
|
|
60
|
-
<div className="card-expiration__content">
|
|
61
|
-
<div className="card_header">
|
|
62
|
-
{dataBig && (
|
|
63
|
-
<div className={['date__big', `${dataSmall ? 'mb-20' : ''}`].join(' ')}>
|
|
64
|
-
<h1>{bigNumber}</h1>
|
|
65
|
-
<h4>{bigMonth}</h4>
|
|
66
|
-
</div>
|
|
67
|
-
)}
|
|
68
|
-
{dataSmall && (
|
|
69
|
-
<div className="date__small">
|
|
70
|
-
{iconCalendar && (
|
|
71
|
-
<div className="card__icon">
|
|
72
|
-
<div className="icon">{iconCalendar ? <Icon icon={iconCalendar[0].icon} className="icon" /> : null}</div>
|
|
73
|
-
</div>
|
|
74
|
-
)}
|
|
75
|
-
<p className="title is-5">{day}</p>
|
|
76
|
-
<p className="title is-3">{fullDay}</p>
|
|
77
|
-
</div>
|
|
78
|
-
)}
|
|
79
|
-
</div>
|
|
80
|
-
<div className="card-footer">
|
|
81
|
-
<div className="data__expiration">
|
|
82
|
-
<div className="list">
|
|
83
|
-
{list.map(list => (
|
|
84
|
-
<p key={generateRandomKey()} className="title is-6">
|
|
85
|
-
{list.type}: <span>{list.text}</span>
|
|
86
|
-
</p>
|
|
87
|
-
))}
|
|
88
|
-
</div>
|
|
89
|
-
</div>
|
|
90
|
-
</div>
|
|
91
|
-
</div>
|
|
92
|
-
</div>
|
|
93
|
-
</div>
|
|
94
|
-
);
|
|
95
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import {ComponentStory, ComponentMeta} from '@storybook/react';
|
|
2
|
-
import {CardVertical} from './CardVertical';
|
|
3
|
-
|
|
4
|
-
export default {
|
|
5
|
-
title: 'Components/Cards/CardVertical',
|
|
6
|
-
component: CardVertical,
|
|
7
|
-
args: {
|
|
8
|
-
image: true,
|
|
9
|
-
img: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoHCBUVFBgVFRUZGRgaGRgbGxobGyMaGxoYGxgZGhgYGBsbIS0kGx0qIRgYJTclKi4xNDQ0GiM6PzozPi0zNDEBCwsLEA8QHxISHzUqIyo0MzMzMzM1NTUzMzMzNTMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzUzMzMzM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jTx/4q0TGZwFZQcwI9NOoPQVqsqVSCWwyIo9pAUNuVkb6/l2JmTz96y69kAAW1gjmNgd9TLchrvWVlTuwXNXsUSigabhVHygZSZjwANJHEgQZ1Ph4+H2rKyqqCMPLcW4plmAWVGXTeAd/LerzDccf9ZUEiBAaJ25dKysqM1sVjNrYv7DOquGJkskHKvJJyiD+bNqT0FLfAY3GZ7BYSI7yaAAaDveH1rKynwR1KbFcbhbjuRbRUUiZY5mMFSdjG4PvRsV2aW2ua4wZIM6knkSR3RG31NZWUZaWMm3cpjg1e7FsZSNVHMocpzNpAPzACTvrTGNADdwALpyEEqZmP5uf9aysrqhsQmAv3WYidSQPYaKB7faj4LWFAMtmAg8yhjesrK1TRCcj2F4eLt0oqrtILaDKN4iYOsbaxUcR2aUEq0TAgiT5CTrz6VlZXNJ/EdUfwmrfCbts91gYIADAETMwOnvFee8UtMl65bYQcx0B0BOvlsaysq1NakK2yLfhpvJhb5nKmkgEasGAnnqIOumx60kbN43Bbg5jG7D5WiDvHP+1brKFldkXsixXA4jv2wAcrAEho1InnHKi8Ps2mvot7MCcuUpqGUsCp1+UzLekQJrVZSWtsHZ6F/iuyOETO7tcyqr6AaiAYg59vQmqbtHwa3hhNpe6WADFmLTroVJy8vpvWVlOyk4qzIdkeCi5dD3F+JbywQCBJukWVkN0a5PoKUxmEVCVdRoT3ZOxylTA01kGJMSRWVlFfiBFKwE3WMd0FeYyqI10E7nffxpcCHFtO7yk+/IHTesrKpLVGkrpBH+JakNDSYHh3ok6855ChNeffSD8vjv19d6ysorRG2QP4x6VqsrKJj//Z',
|
|
10
|
-
badge: [
|
|
11
|
-
{
|
|
12
|
-
color: '#0284C7',
|
|
13
|
-
text: 'PRINCIPAL',
|
|
14
|
-
},
|
|
15
|
-
],
|
|
16
|
-
avatar: false,
|
|
17
|
-
imgAvatar: 'https://as2.ftcdn.net/v2/jpg/02/79/66/93/1000_F_279669366_Lk12QalYQKMczLEa4ySjhaLtx1M2u7e6.jpg',
|
|
18
|
-
icon: false,
|
|
19
|
-
title: 'Título',
|
|
20
|
-
iconDate: [
|
|
21
|
-
{
|
|
22
|
-
icon: 'fa-solid fa-calendar-days',
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
date: '13/10/2022',
|
|
26
|
-
description: 'Description. Loren ipsum dolor sit amet consectetur adipiscing elit, sed do',
|
|
27
|
-
button: {
|
|
28
|
-
type: 'button',
|
|
29
|
-
size: 'normal',
|
|
30
|
-
fill: 'outline',
|
|
31
|
-
loading: false,
|
|
32
|
-
disabled: false,
|
|
33
|
-
label: 'Button',
|
|
34
|
-
trailingIcon: true,
|
|
35
|
-
onClick: () => console.log('Button Clicked'),
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
} as ComponentMeta<typeof CardVertical>;
|
|
39
|
-
|
|
40
|
-
const Template: ComponentStory<typeof CardVertical> = args => <CardVertical {...args} />;
|
|
41
|
-
|
|
42
|
-
export const Standard = Template.bind({});
|
|
43
|
-
Standard.args = {};
|