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,50 +0,0 @@
|
|
|
1
|
-
//================================ NAVBAR ================================
|
|
2
|
-
$navbar-background-color: $scheme-main !default
|
|
3
|
-
$navbar-box-shadow-size: 0 2px 0 0 !default
|
|
4
|
-
$navbar-box-shadow-color: $background !default
|
|
5
|
-
$navbar-height: 3.25rem !default
|
|
6
|
-
$navbar-padding-vertical: 1rem !default
|
|
7
|
-
$navbar-padding-horizontal: 2rem !default
|
|
8
|
-
$navbar-z: 30 !default
|
|
9
|
-
$navbar-fixed-z: 30 !default
|
|
10
|
-
|
|
11
|
-
$navbar-item-color: $primary-600 !default
|
|
12
|
-
$navbar-item-hover-color: $primary-600 !default
|
|
13
|
-
$navbar-item-hover-background-color: $primary-100 !default
|
|
14
|
-
$navbar-item-active-color: $scheme-invert !default
|
|
15
|
-
$navbar-item-active-background-color: transparent !default
|
|
16
|
-
$navbar-item-img-max-height: 5rem !default
|
|
17
|
-
|
|
18
|
-
$navbar-burger-color: $navbar-item-color !default
|
|
19
|
-
|
|
20
|
-
$navbar-tab-hover-background-color: transparent !default
|
|
21
|
-
$navbar-tab-hover-border-bottom-color: $link !default
|
|
22
|
-
$navbar-tab-active-color: $link !default
|
|
23
|
-
$navbar-tab-active-background-color: transparent !default
|
|
24
|
-
$navbar-tab-active-border-bottom-color: $link !default
|
|
25
|
-
$navbar-tab-active-border-bottom-style: solid !default
|
|
26
|
-
$navbar-tab-active-border-bottom-width: 3px !default
|
|
27
|
-
|
|
28
|
-
$navbar-dropdown-background-color: $scheme-main !default
|
|
29
|
-
$navbar-dropdown-border-top: 2px solid $border !default
|
|
30
|
-
$navbar-dropdown-offset: -4px !default
|
|
31
|
-
$navbar-dropdown-arrow: $link !default
|
|
32
|
-
$navbar-dropdown-radius: $radius-large !default
|
|
33
|
-
$navbar-dropdown-z: 20 !default
|
|
34
|
-
|
|
35
|
-
$navbar-dropdown-boxed-radius: $radius-large !default
|
|
36
|
-
$navbar-dropdown-boxed-shadow: 0 8px 8px bulmaRgba($scheme-invert, 0.1), 0 0 0 1px bulmaRgba($scheme-invert, 0.1) !default
|
|
37
|
-
|
|
38
|
-
$navbar-dropdown-item-hover-color: $scheme-invert !default
|
|
39
|
-
$navbar-dropdown-item-hover-background-color: $background !default
|
|
40
|
-
$navbar-dropdown-item-active-color: $link !default
|
|
41
|
-
$navbar-dropdown-item-active-background-color: $background !default
|
|
42
|
-
|
|
43
|
-
$navbar-divider-background-color: $background !default
|
|
44
|
-
$navbar-divider-height: 2px !default
|
|
45
|
-
|
|
46
|
-
$navbar-bottom-box-shadow-size: 0 -2px 0 0 !default
|
|
47
|
-
|
|
48
|
-
$navbar-breakpoint: $breakpoint_header3_burger !default
|
|
49
|
-
|
|
50
|
-
$navbar-colors: $colors !default
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
//================================ TABS ================================
|
|
2
|
-
$tabs-border-bottom-color: transparent !default
|
|
3
|
-
$tabs-border-bottom-style: solid !default
|
|
4
|
-
$tabs-border-bottom-width: 3px !default
|
|
5
|
-
$tabs-link-color: $text-800 !default
|
|
6
|
-
$tabs-link-hover-border-bottom-color: $primary-600 !default
|
|
7
|
-
$tabs-link-hover-color: $primary-600 !default
|
|
8
|
-
$tabs-link-active-border-bottom-color: $primary-600 !default
|
|
9
|
-
$tabs-link-active-color: $primary-600 !default
|
|
10
|
-
$tabs-link-padding: 0.5em 1em !default
|
|
11
|
-
|
|
12
|
-
$tabs-boxed-link-radius: $radius !default
|
|
13
|
-
$tabs-boxed-link-hover-background-color: $background !default
|
|
14
|
-
$tabs-boxed-link-hover-border-bottom-color: $border !default
|
|
15
|
-
|
|
16
|
-
$tabs-boxed-link-active-background-color: $scheme-main !default
|
|
17
|
-
$tabs-boxed-link-active-border-color: $border !default
|
|
18
|
-
$tabs-boxed-link-active-border-bottom-color: transparent !default
|
|
19
|
-
|
|
20
|
-
$tabs-toggle-link-border-color: $border !default
|
|
21
|
-
$tabs-toggle-link-border-style: solid !default
|
|
22
|
-
$tabs-toggle-link-border-width: 1px !default
|
|
23
|
-
$tabs-toggle-link-hover-background-color: $background !default
|
|
24
|
-
$tabs-toggle-link-hover-border-color: $border-hover !default
|
|
25
|
-
$tabs-toggle-link-radius: $radius !default
|
|
26
|
-
$tabs-toggle-link-active-background-color: $link !default
|
|
27
|
-
$tabs-toggle-link-active-border-color: $link !default
|
|
28
|
-
$tabs-toggle-link-active-color: $link-invert !default
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
@import "/src/sass/utilities/_variables.scss"
|
|
2
|
-
|
|
3
|
-
$button-color: $text-strong !default
|
|
4
|
-
$button-background-color: $scheme-main !default
|
|
5
|
-
$button-family: 'SF UI Text', sans-serif !default //EDITADO
|
|
6
|
-
|
|
7
|
-
$button-border-color: $border !default
|
|
8
|
-
$button-border-width: $control-border-width !default
|
|
9
|
-
|
|
10
|
-
$button-padding-vertical: calc(0.5em - #{$button-border-width}) !default //EDITADO
|
|
11
|
-
$button-padding-horizontal: 1em !default
|
|
12
|
-
|
|
13
|
-
$button-hover-color: $link-hover !default
|
|
14
|
-
$button-hover-border-color: $link-hover-border !default
|
|
15
|
-
|
|
16
|
-
$button-focus-color: $link-focus !default
|
|
17
|
-
$button-focus-border-color: $primary-600 !default //EDITADO
|
|
18
|
-
$button-focus-box-shadow-size: 0 0 0 0.125em !default
|
|
19
|
-
$button-focus-box-shadow-color: bulmaRgba($primary-600, 0.25) !default //EDITADO
|
|
20
|
-
|
|
21
|
-
$button-active-color: $link-active !default
|
|
22
|
-
$button-active-border-color: $primary-600 !default //EDITADO
|
|
23
|
-
|
|
24
|
-
$button-text-color: $text !default
|
|
25
|
-
$button-text-decoration: underline !default
|
|
26
|
-
$button-text-hover-background-color: $background !default
|
|
27
|
-
$button-text-hover-color: $text-strong !default
|
|
28
|
-
|
|
29
|
-
$button-ghost-background: none !default
|
|
30
|
-
$button-ghost-border-color: transparent !default
|
|
31
|
-
$button-ghost-color: $link !default
|
|
32
|
-
$button-ghost-decoration: none !default
|
|
33
|
-
$button-ghost-hover-color: $link !default
|
|
34
|
-
$button-ghost-hover-decoration: underline !default
|
|
35
|
-
|
|
36
|
-
$button-disabled-background-color: $scheme-main !default
|
|
37
|
-
$button-disabled-border-color: $border !default
|
|
38
|
-
$button-disabled-shadow: none !default
|
|
39
|
-
$button-disabled-opacity: 0.5 !default
|
|
40
|
-
|
|
41
|
-
$button-static-color: $text-light !default
|
|
42
|
-
$button-static-background-color: $scheme-main-ter !default
|
|
43
|
-
$button-static-border-color: $border !default
|
|
44
|
-
|
|
45
|
-
$button-colors: $colors !default
|
|
46
|
-
$button-responsive-sizes: ("mobile": ("small": ($size-small * 0.75), "normal": ($size-small * 0.875), "medium": $size-small, "large": $size-normal), "tablet-only": ("small": ($size-small * 0.875), "normal": ($size-small), "medium": $size-normal, "large": $size-medium)) !default
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
$notification-background-color: $background !default
|
|
2
|
-
$notification-code-background-color: $scheme-main !default
|
|
3
|
-
$notification-radius: $radius !default
|
|
4
|
-
$notification-padding: 0px !default
|
|
5
|
-
$notification-padding-ltr: 0px !default
|
|
6
|
-
$notification-padding-rtl: 0px !default
|
|
7
|
-
|
|
8
|
-
$notification-colors: $colors !default
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
@import "/src/sass/utilities/_variables.scss"
|
|
2
|
-
|
|
3
|
-
$title-color: $text-strong !default
|
|
4
|
-
$title-family: false !default
|
|
5
|
-
$title-size: $size-3 !default
|
|
6
|
-
$title-weight: $fw-semibold !default
|
|
7
|
-
$title-line-height: 150% !default
|
|
8
|
-
$title-strong-color: inherit !default
|
|
9
|
-
$title-strong-weight: inherit !default
|
|
10
|
-
$title-sub-size: 0.75em !default
|
|
11
|
-
$title-sup-size: 0.75em !default
|
|
12
|
-
|
|
13
|
-
$subtitle-color: $text !default
|
|
14
|
-
$subtitle-family: false !default
|
|
15
|
-
$subtitle-size: $size-5 !default
|
|
16
|
-
$subtitle-weight: $weight-normal !default
|
|
17
|
-
$subtitle-line-height: 1.25 !default
|
|
18
|
-
$subtitle-strong-color: $text-strong !default
|
|
19
|
-
$subtitle-strong-weight: $weight-semibold !default
|
|
20
|
-
$subtitle-negative-margin: -1.25rem !default
|
package/src/sass/main.sass
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
.elv-component
|
|
2
|
-
// BULMA IMPORTS -----------------------------
|
|
3
|
-
//Base
|
|
4
|
-
@import "./utilities/bulma-variables.sass"
|
|
5
|
-
@import 'bulma/bulma.sass'
|
|
6
|
-
|
|
7
|
-
//EXTENSIONS
|
|
8
|
-
@import "./bulma/extensions/extensions"
|
|
9
|
-
@import '/src/sass/utilities/_helpers.scss'
|
|
10
|
-
|
|
11
|
-
// ICONS -----------------------------
|
|
12
|
-
@import '@fortawesome/fontawesome-free/css/all.css'
|
|
13
|
-
|
|
14
|
-
// base -----------------------------
|
|
15
|
-
@import './base/_typo'
|
|
16
|
-
@import './base/_base.scss'
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
@import "/src/sass/utilities/_variables.scss"
|
|
2
|
-
@import "/src/sass/utilities/_derived-variables"
|
|
3
|
-
@import "/node_modules/bulma/sass/utilities/controls"
|
|
4
|
-
@import "/node_modules/bulma/sass/utilities/mixins"
|
|
5
|
-
|
|
6
|
-
// ======================== IMPORTS VARIABLES / COMPONENTS ============================
|
|
7
|
-
@import "/src/sass/bulma/variables/components/tabs.sass"
|
|
8
|
-
@import "/src/sass/bulma/variables/components/card.sass"
|
|
9
|
-
@import "/src/sass/bulma/variables/components/navbar.sass"
|
|
10
|
-
|
|
11
|
-
// ======================== IMPORTS VARIABLES / GRID ============================
|
|
12
|
-
@import "/src/sass/bulma/variables/grid/column.sass"
|
|
13
|
-
|
|
14
|
-
// ======================== IMPORTS VARIABLES / ELEMENTS ============================
|
|
15
|
-
@import "/src/sass/bulma/variables/elements/title.sass"
|
|
16
|
-
@import "/src/sass/bulma/variables/elements/notification.sass"
|
|
17
|
-
@import "/src/sass/bulma/variables/elements/button.sass"
|
|
18
|
-
|
|
19
|
-
// ======================== IMPORTS VARIABLES / FORMS ============================
|
|
20
|
-
@import "/src/stories/Form/Input/InputVar.sass"
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
@import '/src/sass/utilities/variables';
|
|
2
|
-
|
|
3
|
-
$custom_colors: (
|
|
4
|
-
// ====================== COLORS / PRINCIPAL ======================
|
|
5
|
-
// PRIMARY
|
|
6
|
-
'primary-100': $primary-100,
|
|
7
|
-
'primary-200': $primary-200,
|
|
8
|
-
'primary-400': $primary-400,
|
|
9
|
-
'primary-600': $primary-600,
|
|
10
|
-
// SECONDARY
|
|
11
|
-
'secondary-600': $secondary-600,
|
|
12
|
-
'secondary-700': $secondary-700,
|
|
13
|
-
'secondary-800': $secondary-800,
|
|
14
|
-
// TERTIARY
|
|
15
|
-
'tertiary-600': $tertiary-600,
|
|
16
|
-
'tertiary-700': $tertiary-700,
|
|
17
|
-
'tertiary-800': $tertiary-800,
|
|
18
|
-
// ====================== COLORS / STATES ======================
|
|
19
|
-
// INFO
|
|
20
|
-
'info-200': $info-200,
|
|
21
|
-
'info-700': $info-700,
|
|
22
|
-
// SUCCESS
|
|
23
|
-
'success-200': $success-200,
|
|
24
|
-
'success-500': $success-500,
|
|
25
|
-
'success-600': $success-600,
|
|
26
|
-
'success-700': $success-700,
|
|
27
|
-
// ERROR
|
|
28
|
-
'error-200': $error-200,
|
|
29
|
-
'error-600': $error-600,
|
|
30
|
-
'error-700': $error-700,
|
|
31
|
-
// DANGER
|
|
32
|
-
'danger-200': $danger-200,
|
|
33
|
-
'danger-600': $danger-600,
|
|
34
|
-
'danger-700': $danger-700,
|
|
35
|
-
// WARNING
|
|
36
|
-
'warning-200': $warning-200,
|
|
37
|
-
'warning-600': $warning-600,
|
|
38
|
-
'warning-700': $warning-700,
|
|
39
|
-
// ====================== COLORS / SINGLE TONE ======================
|
|
40
|
-
'white': $white,
|
|
41
|
-
'black': $black,
|
|
42
|
-
'darkText': $darkText,
|
|
43
|
-
'blueGray-100': $blueGray-100,
|
|
44
|
-
'blueGray-500': $blueGray-500,
|
|
45
|
-
'darkBlue-500': $darkBlue-500,
|
|
46
|
-
// ====================== COLORS / TEXT&MUTED ======================
|
|
47
|
-
'truegray-50': $truegray-50,
|
|
48
|
-
'truegray-100': $truegray-100,
|
|
49
|
-
'truegray-200': $truegray-200,
|
|
50
|
-
'truegray-300': $truegray-300,
|
|
51
|
-
'truegray-400': $truegray-400,
|
|
52
|
-
'truegray-500': $truegray-500,
|
|
53
|
-
'truegray-600': $truegray-600,
|
|
54
|
-
'truegray-700': $truegray-700,
|
|
55
|
-
'truegray-800': $truegray-800,
|
|
56
|
-
'truegray-900': $truegray-900
|
|
57
|
-
);
|
|
58
|
-
|
|
59
|
-
@each $name, $pair in $custom_colors {
|
|
60
|
-
$color: nth($pair, 1);
|
|
61
|
-
.has-tc-#{$name} {
|
|
62
|
-
color: $color !important;
|
|
63
|
-
fill: $color !important;
|
|
64
|
-
}
|
|
65
|
-
.has-bc-#{$name} {
|
|
66
|
-
background-color: $color !important;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
// FONT =============================================
|
|
2
|
-
.has-text-weight-extrabold {
|
|
3
|
-
font-weight: 900;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.has-line-height-150 {
|
|
7
|
-
line-height: 150%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.has-border-bottom-grey-lighter {
|
|
11
|
-
border-bottom: 1px solid $grey-lighter;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.is-size-18px {
|
|
15
|
-
font-size: 18px !important;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.is-size-14px {
|
|
19
|
-
font-size: 14px !important;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.is-size-10px {
|
|
23
|
-
font-size: 10px !important;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// DIV =============================================
|
|
27
|
-
.is-border-box {
|
|
28
|
-
box-sizing: border-box !important;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.is-absolute {
|
|
32
|
-
position: absolute !important;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.is-fullw {
|
|
36
|
-
width: 100%;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.is-fullh {
|
|
40
|
-
height: 100%;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.has-minw-maxcontent {
|
|
44
|
-
min-width: max-content;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// FLEX =============================================
|
|
48
|
-
.is-gap-6 {
|
|
49
|
-
gap: 48px !important;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.is-gap-5 {
|
|
53
|
-
gap: 24px !important;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.is-gap-4 {
|
|
57
|
-
gap: 16px !important;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.is-gap-3 {
|
|
61
|
-
gap: 12px !important;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.is-gap-2 {
|
|
65
|
-
gap: 8px !important;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.is-gap-1 {
|
|
69
|
-
gap: 4px !important;
|
|
70
|
-
}
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
// ====================== FONT-VARIABLES ======================
|
|
2
|
-
$fw-regular: 400;
|
|
3
|
-
$fw-medium: 500;
|
|
4
|
-
$fw-semibold: 600;
|
|
5
|
-
$fw-bold: 700;
|
|
6
|
-
$fw-heavy: 800;
|
|
7
|
-
|
|
8
|
-
// ====================== COLORS / PRINCIPAL ======================
|
|
9
|
-
// PRIMARY
|
|
10
|
-
$primary-100: #b9d4ff;
|
|
11
|
-
$primary-200: #7dafff;
|
|
12
|
-
$primary-400: #2b71df;
|
|
13
|
-
$primary-600: #124596;
|
|
14
|
-
// SECONDARY
|
|
15
|
-
$secondary-600: #db2777;
|
|
16
|
-
$secondary-700: #be185d;
|
|
17
|
-
$secondary-800: #9d174d;
|
|
18
|
-
// TERTIARY
|
|
19
|
-
$tertiary-600: #059669;
|
|
20
|
-
$tertiary-700: #047857;
|
|
21
|
-
$tertiary-800: #065f46;
|
|
22
|
-
|
|
23
|
-
// ====================== COLORS / STATES ======================
|
|
24
|
-
// INFO
|
|
25
|
-
$info-200: #bae6fd;
|
|
26
|
-
$info-700: #0369a1;
|
|
27
|
-
|
|
28
|
-
// SUCCESS
|
|
29
|
-
$success-200: #bbf7d0;
|
|
30
|
-
$success-500: #22c55e;
|
|
31
|
-
$success-600: #16a34a;
|
|
32
|
-
$success-700: #15803d;
|
|
33
|
-
|
|
34
|
-
// ERROR
|
|
35
|
-
$error-200: #fecaca;
|
|
36
|
-
$error-600: #dc2626;
|
|
37
|
-
$error-700: #b91c1c;
|
|
38
|
-
|
|
39
|
-
// DANGER
|
|
40
|
-
$danger-200: #fecdd3;
|
|
41
|
-
$danger-600: #e11d48;
|
|
42
|
-
$danger-700: #be123c;
|
|
43
|
-
|
|
44
|
-
// WARNING
|
|
45
|
-
$warning-200: #fed7aa;
|
|
46
|
-
$warning-600: #ea580c;
|
|
47
|
-
$warning-700: #c2410c;
|
|
48
|
-
|
|
49
|
-
// ====================== COLORS / SINGLE TONE ======================
|
|
50
|
-
$white: #fff;
|
|
51
|
-
$black: #000;
|
|
52
|
-
$darkText: #27272a;
|
|
53
|
-
|
|
54
|
-
$blueGray-100: #f1f5f9;
|
|
55
|
-
$blueGray-500: #64748b;
|
|
56
|
-
|
|
57
|
-
$darkBlue-500: #0077e6;
|
|
58
|
-
// ====================== COLORS / TEXT&MUTED ======================
|
|
59
|
-
$truegray-50: #fafafa;
|
|
60
|
-
$truegray-100: #f5f5f5;
|
|
61
|
-
$truegray-200: #e5e5e5;
|
|
62
|
-
$truegray-300: #d4d4d4;
|
|
63
|
-
$truegray-400: #a3a3a3;
|
|
64
|
-
$truegray-500: #737373;
|
|
65
|
-
$truegray-600: #525252;
|
|
66
|
-
$truegray-700: #404040;
|
|
67
|
-
$truegray-800: #262626;
|
|
68
|
-
$truegray-900: #171717;
|
|
69
|
-
|
|
70
|
-
$text-50: $truegray-50;
|
|
71
|
-
$text-100: $truegray-100;
|
|
72
|
-
$text-200: $truegray-200;
|
|
73
|
-
$text-300: $truegray-300;
|
|
74
|
-
$text-400: $truegray-400;
|
|
75
|
-
$text-500: $truegray-500;
|
|
76
|
-
$text-600: $truegray-600;
|
|
77
|
-
$text-700: $truegray-700;
|
|
78
|
-
$text-800: $truegray-900;
|
|
79
|
-
$text-900: $truegray-900;
|
|
80
|
-
|
|
81
|
-
$muted-50: $truegray-50;
|
|
82
|
-
$muted-100: $truegray-100;
|
|
83
|
-
$muted-200: $truegray-200;
|
|
84
|
-
$muted-300: $truegray-300;
|
|
85
|
-
$muted-400: $truegray-400;
|
|
86
|
-
$muted-500: $truegray-500;
|
|
87
|
-
$muted-600: $truegray-600;
|
|
88
|
-
$muted-700: $truegray-700;
|
|
89
|
-
$muted-800: $truegray-800;
|
|
90
|
-
$muted-900: $truegray-900;
|
|
91
|
-
|
|
92
|
-
// ============================== FONTS ==============================
|
|
93
|
-
$shadow: 0px 8px 16px -2px rgba(0, 0, 0, 0.1), 0px 0px 0px 1px rgba(0, 0, 0, 0.02);
|
|
94
|
-
|
|
95
|
-
// ============================== COLORS ==============================
|
|
96
|
-
// PRIMARY ==========================
|
|
97
|
-
$primary: #124596;
|
|
98
|
-
$primary-light: #b9d4ff;
|
|
99
|
-
$primary-hover: #214e96;
|
|
100
|
-
$primary-active: #0c3b87;
|
|
101
|
-
$primary-dark: #042e70;
|
|
102
|
-
|
|
103
|
-
// LINK =============================
|
|
104
|
-
$link: #3273dc;
|
|
105
|
-
$link-light: #eef3fc;
|
|
106
|
-
$link-hover: #326fd2;
|
|
107
|
-
$link-active: #3069c5;
|
|
108
|
-
$link-dark: #234e95;
|
|
109
|
-
|
|
110
|
-
// INFO =============================
|
|
111
|
-
$info: #209cee;
|
|
112
|
-
$info-light: #ecf7fe;
|
|
113
|
-
$info-hover: #1f96e4;
|
|
114
|
-
$info-active: #1e8cd4;
|
|
115
|
-
$info-dark: #044977;
|
|
116
|
-
|
|
117
|
-
// INFO =============================
|
|
118
|
-
$success: #68da90;
|
|
119
|
-
$success-light: #eefcf3;
|
|
120
|
-
$success-hover: #5fd086;
|
|
121
|
-
$success-active: #55c37b;
|
|
122
|
-
$success-dark: #208a45;
|
|
123
|
-
|
|
124
|
-
// WARNING =============================
|
|
125
|
-
$warning: #ffe681;
|
|
126
|
-
$warning-light: #fffbeb;
|
|
127
|
-
$warning-hover: #ffe167;
|
|
128
|
-
$warning-active: #ffd943;
|
|
129
|
-
$warning-dark: #be9d19;
|
|
130
|
-
|
|
131
|
-
// DANGER =============================
|
|
132
|
-
$danger: #ff7a95;
|
|
133
|
-
$danger-light: #ffebef;
|
|
134
|
-
$danger-hover: #ff5e7e;
|
|
135
|
-
$danger-active: #ff4168;
|
|
136
|
-
$danger-dark: #b12945;
|
|
137
|
-
|
|
138
|
-
// ================= DEVICES =================
|
|
139
|
-
$mobile: 600px;
|
|
140
|
-
$desktop: 1200px;
|
|
141
|
-
$desktopFullHd: 1920px;
|
|
142
|
-
|
|
143
|
-
$breakpoint_header1: 1500px;
|
|
144
|
-
$breakpoint_header1_5: 1380px;
|
|
145
|
-
$breakpoint_header2: 1217px;
|
|
146
|
-
$breakpoint_header3_burger: 1045px;
|
|
147
|
-
$breakpoint_header4_logo: 654px;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import {Meta} from '@storybook/react';
|
|
2
|
-
import Thumbnail from './assets/thumbnail-black[2].jpg';
|
|
3
|
-
import {versions} from './changelog';
|
|
4
|
-
import {generateRandomKey} from '../utils/functions';
|
|
5
|
-
|
|
6
|
-
export const Changelog = () => {
|
|
7
|
-
return (
|
|
8
|
-
<div className="elv-component">
|
|
9
|
-
<section
|
|
10
|
-
className="hero is-black is-fullheight-with-navbar"
|
|
11
|
-
style={{background: `url("${Thumbnail}") center center / cover no-repeat`}}
|
|
12
|
-
>
|
|
13
|
-
<div className="hero-body is-flex is-align-items-flex-start">
|
|
14
|
-
<div className="container is-fluid">
|
|
15
|
-
<div className="column is-4">
|
|
16
|
-
<p className="subtitle is-3 mb-2 has-text-white" style={{whiteSpace: 'nowrap'}}>
|
|
17
|
-
@elevation/react
|
|
18
|
-
</p>
|
|
19
|
-
<p className="title is-1 has-text-white" style={{whiteSpace: 'nowrap'}}>
|
|
20
|
-
Changelog
|
|
21
|
-
</p>
|
|
22
|
-
</div>
|
|
23
|
-
{versions.map(ver => (
|
|
24
|
-
<div className="column is-6 mt-6" key={generateRandomKey()}>
|
|
25
|
-
<p className="title is-4 has-text-white mb-3">
|
|
26
|
-
====== {ver.version} - ({ver.date})
|
|
27
|
-
</p>
|
|
28
|
-
{ver.new && (
|
|
29
|
-
<div>
|
|
30
|
-
<p className="subtitle is-6 has-text-white mt-4 mb-1 has-text-weight-semibold">Nuevo:</p>
|
|
31
|
-
{ver.new.map(item => (
|
|
32
|
-
<div className="mb-3" key={generateRandomKey()}>
|
|
33
|
-
<p className="subtitle is-6 has-text-white mb-1">- {item.component}</p>
|
|
34
|
-
{item.changes.map(change => (
|
|
35
|
-
<p key={generateRandomKey()} className="subtitle is-size-7 mb-1">
|
|
36
|
-
{change}
|
|
37
|
-
</p>
|
|
38
|
-
))}
|
|
39
|
-
</div>
|
|
40
|
-
))}
|
|
41
|
-
</div>
|
|
42
|
-
)}
|
|
43
|
-
{ver.fixes && (
|
|
44
|
-
<div>
|
|
45
|
-
<p className="subtitle is-6 has-text-white mt-4 mb-1 has-text-weight-semibold">Ajustes:</p>
|
|
46
|
-
{ver.fixes.map(item => (
|
|
47
|
-
<div className="mb-3">
|
|
48
|
-
<p className="subtitle is-6 has-text-white mb-1">- {item.component && item.component}</p>
|
|
49
|
-
{item.changes.map(change => (
|
|
50
|
-
<p key={generateRandomKey()} className="subtitle is-size-7 mb-1">
|
|
51
|
-
{change}
|
|
52
|
-
</p>
|
|
53
|
-
))}
|
|
54
|
-
</div>
|
|
55
|
-
))}
|
|
56
|
-
</div>
|
|
57
|
-
)}
|
|
58
|
-
</div>
|
|
59
|
-
))}
|
|
60
|
-
</div>
|
|
61
|
-
</div>
|
|
62
|
-
</section>
|
|
63
|
-
</div>
|
|
64
|
-
);
|
|
65
|
-
};
|
|
66
|
-
export default {
|
|
67
|
-
title: 'Elevation/Changelog',
|
|
68
|
-
parameters: {
|
|
69
|
-
docs: {
|
|
70
|
-
page: null,
|
|
71
|
-
},
|
|
72
|
-
},
|
|
73
|
-
} as Meta;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
@import '/src/sass/utilities/variables';
|
|
2
|
-
|
|
3
|
-
.elv-assistancediary{
|
|
4
|
-
.assistancediary{
|
|
5
|
-
&__date{
|
|
6
|
-
min-width: 73px;
|
|
7
|
-
color: $truegray-600;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
&__widthstate{
|
|
11
|
-
min-width: 75px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&__status{
|
|
15
|
-
border-radius: 11px;
|
|
16
|
-
color: $warning-light;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import {ComponentStory, ComponentMeta} from '@storybook/react';
|
|
2
|
-
import {AssistanceDiary} from './AssistanceDiary';
|
|
3
|
-
|
|
4
|
-
export default {
|
|
5
|
-
title: 'Components/AssistanceDiary',
|
|
6
|
-
component: AssistanceDiary,
|
|
7
|
-
args: {
|
|
8
|
-
title: 'Asistencia',
|
|
9
|
-
option: [
|
|
10
|
-
{detail: 'Se conectó tarde', date: '04/03/2023', state: 'Tardanza', stateBackground: '#F97316'},
|
|
11
|
-
{detail: 'No hay detalle', date: '04/03/2023', state: 'En horario', stateBackground: '#047857'},
|
|
12
|
-
{detail: 'El usuario pidió el día', date: '04/03/2023', state: 'Día libre', stateBackground: '#124596'},
|
|
13
|
-
{detail: 'No hay motivo que indique la falta', date: '04/03/2023', state: 'Ausente', stateBackground: '#DC2626'},
|
|
14
|
-
{detail: 'No hay motivo que indique la falta', date: '04/03/2023', state: 'Ausente', stateBackground: '#DC2626'},
|
|
15
|
-
],
|
|
16
|
-
onSeeAll: () => {
|
|
17
|
-
console.log('clicked Button');
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
} as ComponentMeta<typeof AssistanceDiary>;
|
|
21
|
-
|
|
22
|
-
const Template: ComponentStory<typeof AssistanceDiary> = args => <AssistanceDiary {...args} />;
|
|
23
|
-
|
|
24
|
-
export const Standard = Template.bind({});
|
|
25
|
-
Standard.args = {};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import {title} from 'process';
|
|
2
|
-
import './AssistanceDiary.scss';
|
|
3
|
-
import {Button} from '../../Elements/Button/Button';
|
|
4
|
-
|
|
5
|
-
export interface IAssistanceDiary {
|
|
6
|
-
// BASE
|
|
7
|
-
title?: string;
|
|
8
|
-
option?: IOption[];
|
|
9
|
-
// IS-OPTIONS
|
|
10
|
-
|
|
11
|
-
// EVENTS
|
|
12
|
-
onSeeAll?: () => void;
|
|
13
|
-
|
|
14
|
-
// GENERIC
|
|
15
|
-
className?: string;
|
|
16
|
-
}
|
|
17
|
-
export interface IOption {
|
|
18
|
-
detail?: string;
|
|
19
|
-
date?: string;
|
|
20
|
-
state?: string;
|
|
21
|
-
stateBackground?: string;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export const AssistanceDiary = ({title, option, onSeeAll, className}: IAssistanceDiary) => {
|
|
25
|
-
return (
|
|
26
|
-
<div className="elv-component elv-assistancediary">
|
|
27
|
-
<div
|
|
28
|
-
className={['assistancediary is-flex is-flex-direction-column p-5 is-gap-5 box', `${className ? ' ' + className : ''}`].join('')}
|
|
29
|
-
>
|
|
30
|
-
<div className="is-size-4 has-text-weight-bold has-text-grey-dark">{title}</div>
|
|
31
|
-
<div className="is-flex is-flex-direction-column is-gap-4">
|
|
32
|
-
{option?.map(item => (
|
|
33
|
-
<div className="is-flex is-size-7 is-justify-content-space-between py-2 is-align-items-center is-gap-2">
|
|
34
|
-
<div className="has-text-grey-dark has-text-weight-medium">{item.detail}</div>
|
|
35
|
-
<div className="assistancediary__date has-text-weight-medium">{item.date}</div>
|
|
36
|
-
<div className="assistancediary__widthstate p-1">
|
|
37
|
-
<div className="assistancediary__status has-text-centered" style={{backgroundColor: item.stateBackground}}>
|
|
38
|
-
{item.state}
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
))}
|
|
43
|
-
</div>
|
|
44
|
-
<div>
|
|
45
|
-
<Button
|
|
46
|
-
label="Ver todo"
|
|
47
|
-
fill="unstyled"
|
|
48
|
-
icon="fa-solid fa-arrow-right"
|
|
49
|
-
trailingIcon={true}
|
|
50
|
-
className="is-size-7 has-text-weight-medium has-text-grey px-4 py-3"
|
|
51
|
-
onClick={() => onSeeAll && onSeeAll()}
|
|
52
|
-
/>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
);
|
|
57
|
-
};
|