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.
Files changed (258) hide show
  1. package/README.md +12 -21
  2. package/components.js +31576 -0
  3. package/components.umd.cjs +311 -0
  4. package/index.d.ts +1 -0
  5. package/package.json +1 -60
  6. package/style.css +5 -0
  7. package/.nvmrc +0 -1
  8. package/.prettierrc.cjs +0 -8
  9. package/.storybook/main.cjs +0 -11
  10. package/.storybook/manager-head.html +0 -2
  11. package/.storybook/manager.cjs +0 -6
  12. package/.storybook/preview-head.html +0 -3
  13. package/.storybook/preview.cjs +0 -11
  14. package/.storybook/themes.cjs +0 -14
  15. package/StoryBook.txt +0 -19
  16. package/dist-config.cjs +0 -57
  17. package/index.html +0 -13
  18. package/src/App.scss +0 -36
  19. package/src/App.tsx +0 -34
  20. package/src/assets/react.svg +0 -1
  21. package/src/index.js +0 -70
  22. package/src/index.scss +0 -63
  23. package/src/index.ts +0 -108
  24. package/src/main.tsx +0 -11
  25. package/src/sass/base/_base.scss +0 -50
  26. package/src/sass/base/_controls.scss +0 -90
  27. package/src/sass/base/_datepicker.scss +0 -114
  28. package/src/sass/base/_typo.scss +0 -71
  29. package/src/sass/base/fonts/SFUIText-Bold.ttf +0 -0
  30. package/src/sass/base/fonts/SFUIText-BoldItalic.ttf +0 -0
  31. package/src/sass/base/fonts/SFUIText-Heavy.ttf +0 -0
  32. package/src/sass/base/fonts/SFUIText-HeavyItalic.ttf +0 -0
  33. package/src/sass/base/fonts/SFUIText-Light.ttf +0 -0
  34. package/src/sass/base/fonts/SFUIText-LightItalic.ttf +0 -0
  35. package/src/sass/base/fonts/SFUIText-Medium.ttf +0 -0
  36. package/src/sass/base/fonts/SFUIText-MediumItalic.ttf +0 -0
  37. package/src/sass/base/fonts/SFUIText-Regular.ttf +0 -0
  38. package/src/sass/base/fonts/SFUIText-RegularItalic.ttf +0 -0
  39. package/src/sass/base/fonts/SFUIText-Semibold.ttf +0 -0
  40. package/src/sass/base/fonts/SFUIText-SemiboldItalic.ttf +0 -0
  41. package/src/sass/bulma/bulma-changes.scss +0 -19
  42. package/src/sass/bulma/extensions/extensions.sass +0 -1
  43. package/src/sass/bulma/extensions/steps/bulma-steps.sass +0 -3
  44. package/src/sass/bulma/extensions/steps/index.sass +0 -421
  45. package/src/sass/bulma/variables/_variables-bulma.sass +0 -16
  46. package/src/sass/bulma/variables/components/card.sass +0 -20
  47. package/src/sass/bulma/variables/components/navbar.sass +0 -50
  48. package/src/sass/bulma/variables/components/tabs.sass +0 -28
  49. package/src/sass/bulma/variables/elements/button.sass +0 -46
  50. package/src/sass/bulma/variables/elements/notification.sass +0 -8
  51. package/src/sass/bulma/variables/elements/title.sass +0 -20
  52. package/src/sass/bulma/variables/grid/column.sass +0 -2
  53. package/src/sass/main.sass +0 -16
  54. package/src/sass/utilities/_bulma-variables.sass +0 -20
  55. package/src/sass/utilities/_derived-variables.scss +0 -68
  56. package/src/sass/utilities/_helpers.scss +0 -70
  57. package/src/sass/utilities/_variables.scss +0 -147
  58. package/src/stories/Changelog.stories.tsx +0 -73
  59. package/src/stories/Components/AssistanceDiary/AssistanceDiary.scss +0 -19
  60. package/src/stories/Components/AssistanceDiary/AssistanceDiary.stories.tsx +0 -25
  61. package/src/stories/Components/AssistanceDiary/AssistanceDiary.tsx +0 -57
  62. package/src/stories/Components/AverageAttended/AverageAttended.scss +0 -39
  63. package/src/stories/Components/AverageAttended/AverageAttended.stories.tsx +0 -71
  64. package/src/stories/Components/AverageAttended/AverageAttended.tsx +0 -311
  65. package/src/stories/Components/Breadcrumb/Breadcrumb.stories.tsx +0 -45
  66. package/src/stories/Components/Breadcrumb/Breadcrumb.tsx +0 -68
  67. package/src/stories/Components/Breadcrumb/breadcrumb.scss +0 -82
  68. package/src/stories/Components/CTA/CTA.scss +0 -76
  69. package/src/stories/Components/CTA/CTA.stories.tsx +0 -46
  70. package/src/stories/Components/CTA/CTA.tsx +0 -70
  71. package/src/stories/Components/Cards/Card CTA/CardCta.stories.tsx +0 -34
  72. package/src/stories/Components/Cards/Card CTA/CardCta.tsx +0 -81
  73. package/src/stories/Components/Cards/Card CTA/cardCta.scss +0 -71
  74. package/src/stories/Components/Cards/Card Expiration/cardExpiration.scss +0 -105
  75. package/src/stories/Components/Cards/Card Expiration/cardExpiration.stories.tsx +0 -40
  76. package/src/stories/Components/Cards/Card Expiration/cardExpiration.tsx +0 -95
  77. package/src/stories/Components/Cards/Card Vertical/CardVertical.stories.tsx +0 -43
  78. package/src/stories/Components/Cards/Card Vertical/CardVertical.tsx +0 -106
  79. package/src/stories/Components/Cards/Card Vertical/cardVertical.scss +0 -130
  80. package/src/stories/Components/Cards/CardActivity/cardActivity.scss +0 -31
  81. package/src/stories/Components/Cards/CardActivity/cardActivity.stories.tsx +0 -20
  82. package/src/stories/Components/Cards/CardActivity/cardActivity.tsx +0 -48
  83. package/src/stories/Components/Cards/CardHorizontal/CardHorizontal.stories.tsx +0 -96
  84. package/src/stories/Components/Cards/CardHorizontal/CardHorizontal.tsx +0 -94
  85. package/src/stories/Components/Cards/CardHorizontal/cardHorizontal.scss +0 -65
  86. package/src/stories/Components/Cards/CardUser/CardUser.stories.tsx +0 -135
  87. package/src/stories/Components/Cards/CardUser/CardUser.tsx +0 -122
  88. package/src/stories/Components/Cards/CardUser/cardUser.scss +0 -115
  89. package/src/stories/Components/Cart/Cart.scss +0 -279
  90. package/src/stories/Components/Cart/Cart.stories.tsx +0 -350
  91. package/src/stories/Components/Cart/Cart.tsx +0 -277
  92. package/src/stories/Components/Collapse/Collapse.scss +0 -339
  93. package/src/stories/Components/Collapse/Collapse.stories.tsx +0 -766
  94. package/src/stories/Components/Collapse/Collapse.tsx +0 -451
  95. package/src/stories/Components/CollapseEdit/CollapseEdit.scss +0 -128
  96. package/src/stories/Components/CollapseEdit/CollapseEdit.stories.tsx +0 -29
  97. package/src/stories/Components/CollapseEdit/CollapseEdit.tsx +0 -185
  98. package/src/stories/Components/CompleteDiary/CompleteDiary.scss +0 -165
  99. package/src/stories/Components/CompleteDiary/CompleteDiary.stories.tsx +0 -219
  100. package/src/stories/Components/CompleteDiary/CompleteDiary.tsx +0 -394
  101. package/src/stories/Components/Dropdown/Dropdown.scss +0 -60
  102. package/src/stories/Components/Dropdown/Dropdown.stories.tsx +0 -19
  103. package/src/stories/Components/Dropdown/Dropdown.tsx +0 -99
  104. package/src/stories/Components/EmptyState/EmptyState.stories.tsx +0 -46
  105. package/src/stories/Components/EmptyState/EmptyState.tsx +0 -44
  106. package/src/stories/Components/EmptyState/emptyState.scss +0 -75
  107. package/src/stories/Components/ErrorPage/ErrorPage.scss +0 -65
  108. package/src/stories/Components/ErrorPage/ErrorPage.stories.tsx +0 -164
  109. package/src/stories/Components/ErrorPage/ErrorPage.tsx +0 -107
  110. package/src/stories/Components/IncomingCall/IncomingCall.scss +0 -27
  111. package/src/stories/Components/IncomingCall/IncomingCall.stories.tsx +0 -43
  112. package/src/stories/Components/IncomingCall/IncomingCall.tsx +0 -76
  113. package/src/stories/Components/ModalConfirm/ModalConfirm.scss +0 -30
  114. package/src/stories/Components/ModalConfirm/ModalConfirm.stories.tsx +0 -21
  115. package/src/stories/Components/ModalConfirm/ModalConfirm.tsx +0 -118
  116. package/src/stories/Components/Pagination/Pagination.scss +0 -42
  117. package/src/stories/Components/Pagination/Pagination.stories.tsx +0 -25
  118. package/src/stories/Components/Pagination/Pagination.tsx +0 -143
  119. package/src/stories/Components/PerformanceAssessment/PerformanceAssessment.scss +0 -26
  120. package/src/stories/Components/PerformanceAssessment/PerformanceAssessment.stories.tsx +0 -27
  121. package/src/stories/Components/PerformanceAssessment/PerformanceAssessment.tsx +0 -108
  122. package/src/stories/Components/ShiftDiary/ShiftDiary.scss +0 -45
  123. package/src/stories/Components/ShiftDiary/ShiftDiary.stories.tsx +0 -32
  124. package/src/stories/Components/ShiftDiary/ShiftDiary.tsx +0 -92
  125. package/src/stories/Components/Stepper/Stepper.stories.tsx +0 -26
  126. package/src/stories/Components/Stepper/Stepper.tsx +0 -102
  127. package/src/stories/Components/Stepper/stepper.scss +0 -59
  128. package/src/stories/Components/Tabs/Tabs.stories.tsx +0 -76
  129. package/src/stories/Components/Tabs/Tabs.tsx +0 -111
  130. package/src/stories/Components/Tabs/tabs.scss +0 -118
  131. package/src/stories/Components/Tooltip/Tooltip.scss +0 -235
  132. package/src/stories/Components/Tooltip/Tooltip.stories.tsx +0 -125
  133. package/src/stories/Components/Tooltip/Tooltip.tsx +0 -222
  134. package/src/stories/Elements/Alert/Alert.stories.tsx +0 -65
  135. package/src/stories/Elements/Alert/Alert.tsx +0 -49
  136. package/src/stories/Elements/Alert/alert.scss +0 -189
  137. package/src/stories/Elements/Badge/Badge.stories.tsx +0 -15
  138. package/src/stories/Elements/Badge/Badge.tsx +0 -21
  139. package/src/stories/Elements/Badge/badge.scss +0 -24
  140. package/src/stories/Elements/Button/Button.stories.tsx +0 -54
  141. package/src/stories/Elements/Button/Button.tsx +0 -118
  142. package/src/stories/Elements/Button/button.scss +0 -102
  143. package/src/stories/Elements/Icon/Icon.stories.tsx +0 -33
  144. package/src/stories/Elements/Icon/Icon.tsx +0 -57
  145. package/src/stories/Elements/Icon/icon.scss +0 -15
  146. package/src/stories/Elements/Icon/icono.svg +0 -1
  147. package/src/stories/Elements/ProgressBar/ProgressBar.scss +0 -26
  148. package/src/stories/Elements/ProgressBar/ProgressBar.stories.tsx +0 -19
  149. package/src/stories/Elements/ProgressBar/ProgressBar.tsx +0 -35
  150. package/src/stories/Form/Autocomplete/Autocomplete.stories.tsx +0 -55
  151. package/src/stories/Form/Autocomplete/Autocomplete.tsx +0 -160
  152. package/src/stories/Form/Autocomplete/autocomplete.scss +0 -311
  153. package/src/stories/Form/Autocomplete-Prueba/Autocomplete.stories.tsx +0 -50
  154. package/src/stories/Form/Autocomplete-Prueba/AutocompletePrueba.tsx +0 -83
  155. package/src/stories/Form/Checkbox/Checkbox.stories.tsx +0 -26
  156. package/src/stories/Form/Checkbox/Checkbox.tsx +0 -89
  157. package/src/stories/Form/Checkbox/checkbox.scss +0 -41
  158. package/src/stories/Form/DatePicker/DatePickerExample.stories.tsx +0 -27
  159. package/src/stories/Form/DatePicker/DatePickerExample.tsx +0 -65
  160. package/src/stories/Form/DatePickerComponent/DatePickerComponent.scss +0 -116
  161. package/src/stories/Form/DatePickerComponent/DatePickerComponent.stories.tsx +0 -37
  162. package/src/stories/Form/DatePickerComponent/DatePickerComponent.tsx +0 -97
  163. package/src/stories/Form/Filters/Filters.stories.tsx +0 -84
  164. package/src/stories/Form/Filters/Filters.tsx +0 -230
  165. package/src/stories/Form/Filters/filters.scss +0 -261
  166. package/src/stories/Form/Input/Input.stories.tsx +0 -25
  167. package/src/stories/Form/Input/Input.tsx +0 -86
  168. package/src/stories/Form/Input/InputVar.sass +0 -26
  169. package/src/stories/Form/Input/input.scss +0 -19
  170. package/src/stories/Form/InputFormControl/Input-form-control.stories.tsx +0 -26
  171. package/src/stories/Form/InputFormControl/Input-form-control.tsx +0 -48
  172. package/src/stories/Form/InputFormControl/input-form-control.scss +0 -34
  173. package/src/stories/Form/Radio/Radio.stories.tsx +0 -19
  174. package/src/stories/Form/Radio/Radio.tsx +0 -84
  175. package/src/stories/Form/Radio/radio.scss +0 -19
  176. package/src/stories/Form/Search/Search.scss +0 -50
  177. package/src/stories/Form/Search/Search.stories.tsx +0 -26
  178. package/src/stories/Form/Search/Search.tsx +0 -84
  179. package/src/stories/Form/Select/Select.stories.tsx +0 -55
  180. package/src/stories/Form/Select/Select.tsx +0 -121
  181. package/src/stories/Form/Select/select.scss +0 -303
  182. package/src/stories/Form/Switch/Switch.stories.tsx +0 -17
  183. package/src/stories/Form/Switch/Switch.tsx +0 -36
  184. package/src/stories/Form/Switch/switch.scss +0 -123
  185. package/src/stories/Form/Textarea/Textarea.stories.tsx +0 -19
  186. package/src/stories/Form/Textarea/Textarea.tsx +0 -52
  187. package/src/stories/Form/Textarea/textarea.scss +0 -25
  188. package/src/stories/Form/UploadFileItem/UploadFileItem.scss +0 -49
  189. package/src/stories/Form/UploadFileItem/UploadFileItem.stories.tsx +0 -18
  190. package/src/stories/Form/UploadFileItem/UploadFileItem.tsx +0 -89
  191. package/src/stories/Form/UploadFiles/UploadFiles.scss +0 -17
  192. package/src/stories/Form/UploadFiles/UploadFiles.stories.tsx +0 -32
  193. package/src/stories/Form/UploadFiles/UploadFiles.tsx +0 -177
  194. package/src/stories/Layout/Footer/Footer.scss +0 -129
  195. package/src/stories/Layout/Footer/Footer.stories.tsx +0 -101
  196. package/src/stories/Layout/Footer/Footer.tsx +0 -81
  197. package/src/stories/Layout/Header/Header.scss +0 -190
  198. package/src/stories/Layout/Header/Header.stories.tsx +0 -223
  199. package/src/stories/Layout/Header/Header.tsx +0 -278
  200. package/src/stories/Layout/HeaderTable/HeaderTable.scss +0 -21
  201. package/src/stories/Layout/HeaderTable/HeaderTable.stories.tsx +0 -112
  202. package/src/stories/Layout/HeaderTable/HeaderTable.tsx +0 -72
  203. package/src/stories/Layout/Sidebar/Sidebar.scss +0 -50
  204. package/src/stories/Layout/Sidebar/Sidebar.stories.tsx +0 -744
  205. package/src/stories/Layout/Sidebar/Sidebar.tsx +0 -129
  206. package/src/stories/Layout/SidebarEmpty/SidebarEmpty.scss +0 -64
  207. package/src/stories/Layout/SidebarEmpty/SidebarEmpty.stories.tsx +0 -26
  208. package/src/stories/Layout/SidebarEmpty/SidebarEmpty.tsx +0 -100
  209. package/src/stories/Layout/Subtitle/Subtitle.scss +0 -88
  210. package/src/stories/Layout/Subtitle/Subtitle.stories.tsx +0 -46
  211. package/src/stories/Layout/Subtitle/Subtitle.tsx +0 -108
  212. package/src/stories/Layout/Title/Title.scss +0 -79
  213. package/src/stories/Layout/Title/Title.stories.tsx +0 -86
  214. package/src/stories/Layout/Title/Title.tsx +0 -96
  215. package/src/stories/Welcome.stories.tsx +0 -111
  216. package/src/stories/assets/404 Page Not Found _Two Color (1).png +0 -0
  217. package/src/stories/assets/404 Page Not Found _Two Color.png +0 -0
  218. package/src/stories/assets/Empty Inbox _Two Color.png +0 -0
  219. package/src/stories/assets/Loading _Two Color.png +0 -0
  220. package/src/stories/assets/Notifications_Two Color 1.png +0 -0
  221. package/src/stories/assets/Online protection_Two Color.png +0 -0
  222. package/src/stories/assets/Under Constructions _Two Color.png +0 -0
  223. package/src/stories/assets/bulma.png +0 -0
  224. package/src/stories/assets/burger.svg +0 -5
  225. package/src/stories/assets/code-brackets.svg +0 -1
  226. package/src/stories/assets/colors.svg +0 -1
  227. package/src/stories/assets/comments.svg +0 -1
  228. package/src/stories/assets/decor-bg.png +0 -0
  229. package/src/stories/assets/direction.svg +0 -1
  230. package/src/stories/assets/e-isologo.svg +0 -4
  231. package/src/stories/assets/e-isotype.svg +0 -4
  232. package/src/stories/assets/e-logo_negative.svg +0 -14
  233. package/src/stories/assets/e-logotype.svg +0 -14
  234. package/src/stories/assets/flow.svg +0 -1
  235. package/src/stories/assets/logo_gobierno_corrientes.svg +0 -9
  236. package/src/stories/assets/logo_rentas_corrientes.svg +0 -10
  237. package/src/stories/assets/logo_rentas_corrientes_compacto.svg +0 -10
  238. package/src/stories/assets/plugin.svg +0 -1
  239. package/src/stories/assets/repo.svg +0 -1
  240. package/src/stories/assets/stackalt.svg +0 -1
  241. package/src/stories/assets/storybook.svg +0 -13
  242. package/src/stories/assets/thumbnail-black.jpg +0 -0
  243. package/src/stories/assets/thumbnail-black[2].jpg +0 -0
  244. package/src/stories/assets/thumbnail.jpg +0 -0
  245. package/src/stories/assets/thumbnail[2].jpg +0 -0
  246. package/src/stories/changelog.ts +0 -389
  247. package/src/utils/functions.ts +0 -57
  248. package/src/vite-env.d.ts +0 -2
  249. package/static/e-isologo-192.jpg +0 -0
  250. package/static/e-isologo.svg +0 -4
  251. package/static/e-logotype.svg +0 -14
  252. package/static/favicon.ico +0 -0
  253. package/tsconfig.json +0 -22
  254. package/tsconfig.node.json +0 -9
  255. package/vite.config.ts +0 -22
  256. /package/{public/elevation.ico → elevation.ico} +0 -0
  257. /package/{public/elevationImage.png → elevationImage.png} +0 -0
  258. /package/{public/vite.svg → vite.svg} +0 -0
package/.nvmrc DELETED
@@ -1 +0,0 @@
1
- 16
package/.prettierrc.cjs DELETED
@@ -1,8 +0,0 @@
1
- module.exports = {
2
- arrowParens: 'avoid',
3
- bracketSameLine: true,
4
- bracketSpacing: false,
5
- singleQuote: true,
6
- trailingComma: 'all',
7
- printWidth: 140,
8
- };
@@ -1,11 +0,0 @@
1
- module.exports = {
2
- stories: ['../src/**/*.stories.mdx', '../src/stories/Welcome.stories.tsx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
3
- addons: ['@storybook/addon-links', '@storybook/addon-essentials', '@storybook/addon-interactions'],
4
- framework: '@storybook/react',
5
- core: {
6
- builder: '@storybook/builder-vite',
7
- },
8
- features: {
9
- storyStoreV7: true,
10
- },
11
- };
@@ -1,2 +0,0 @@
1
- <link rel="shortcut icon" href="/elevation.ico" />
2
- <link rel="icon" type="image/png" href="/elevationImage.png" sizes="192x192" />
@@ -1,6 +0,0 @@
1
- import {addons} from '@storybook/addons';
2
- import {elv_theme} from './themes.cjs';
3
-
4
- addons.setConfig({
5
- theme: elv_theme,
6
- });
@@ -1,3 +0,0 @@
1
- <script>
2
- window.global = window;
3
- </script>
@@ -1,11 +0,0 @@
1
- import '../src/sass/main.sass';
2
-
3
- export const parameters = {
4
- actions: {argTypesRegex: '^on[A-Z].*'},
5
- controls: {
6
- matchers: {
7
- color: /(background|color)$/i,
8
- date: /Date$/,
9
- },
10
- },
11
- };
@@ -1,14 +0,0 @@
1
- import {create} from '@storybook/theming/create';
2
- import isotype from '/static/e-logotype.svg';
3
-
4
- export const elv_theme = create({
5
- base: 'light',
6
- // Typography
7
- fontBase: '"Lato", sans-serif',
8
- // fontCode: 'monospace',
9
-
10
- brandTitle: 'Elevation Storybook',
11
- brandUrl: 'https://storybookcte.elevation.net.ar/?path=/story/elevation-welcome--welcome',
12
- brandImage: isotype,
13
- brandTarget: '_blank',
14
- });
package/StoryBook.txt DELETED
@@ -1,19 +0,0 @@
1
-
2
- ---------------------------------
3
- yarn install
4
- yarn storybook
5
-
6
- ---------------------------------
7
- Version de node: nvm list
8
-
9
- Installar Node
10
- nvm install 16.10.0
11
- Usar Node
12
- nvm use 16.10.0
13
-
14
- Borrar carpeta node_modules en caso de Error
15
-
16
- ------------------------------------
17
- Build static storyBook
18
- ------------------------------------
19
- yarn build-storybook
package/dist-config.cjs DELETED
@@ -1,57 +0,0 @@
1
- const {writeFileSync} = require('fs');
2
- const axios = require('axios');
3
-
4
- //======== NOMBRE DEL PAQUETE Y PACKAGE.JSON =========
5
- const packageName = 'dgrcorrientes-modulos';
6
-
7
- async function getLatestVersion(packageName) {
8
- try {
9
- const response = await axios.get(`https://registry.npmjs.org/${packageName}/latest`);
10
- return response.data.version;
11
- } catch (error) {
12
- return null;
13
- }
14
- }
15
-
16
- var latestVersion = null;
17
- getLatestVersion(packageName).then(version => {
18
- if (version) {
19
- latestVersion = version;
20
- } else {
21
- latestVersion = '1.0.0';
22
- }
23
-
24
- const packageJson = {
25
- name: packageName,
26
- version: latestVersion,
27
- description: 'Un paquete de componentes minimizado',
28
- main: 'components.js',
29
- module: 'components.js',
30
- typings: 'index.d.ts',
31
- peerDependencies: {
32
- react: '^17.0.2',
33
- 'react-dom': '^17.0.2',
34
- },
35
- author: {
36
- name: 'DGRCORRIENTES',
37
- email: 'administracion@dgrcorrientes.gov.ar',
38
- url: 'https://www.dgrcorrientes.gob.ar',
39
- },
40
- license: 'MIT',
41
- };
42
-
43
- writeFileSync('./dist/package.json', JSON.stringify(packageJson));
44
- });
45
-
46
- const indexDts = `declare module "${packageName}";`;
47
- const readmeDoc =
48
- '# README \n ### Instalación \n `yarn add ' +
49
- packageName +
50
- '@latest` \n ### Integración (Ejemplo React) \n #### CSS \n `@import "' +
51
- packageName +
52
- '/style.css"` \n #### Utilización de un Componente (Ejemplo Button) \n `@import {Button} from "' +
53
- packageName +
54
- '"` \n ### Frameworks y assets incorporados en CSS (style.css): \n Bulma Framework: v0.9.4 \n @fortawesome/fontawesome-free: v^6.3.0, \n San Francisco Font';
55
-
56
- writeFileSync('./dist/index.d.ts', indexDts);
57
- writeFileSync('./dist/README.md', readmeDoc);
package/index.html DELETED
@@ -1,13 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>Vite + React + TS</title>
8
- </head>
9
- <body>
10
- <div id="root"></div>
11
- <script type="module" src="/src/main.tsx"></script>
12
- </body>
13
- </html>
package/src/App.scss DELETED
@@ -1,36 +0,0 @@
1
- // #root {
2
- // max-width: 1280px;
3
- // margin: 0 auto;
4
- // padding: 2rem;
5
- // text-align: center;
6
- // }
7
-
8
- // .logo {
9
- // height: 6em;
10
- // padding: 1.5em;
11
- // will-change: filter;
12
-
13
- // &:hover {
14
- // filter: drop-shadow(0 0 2em #646cffaa);
15
- // }
16
-
17
- // &.react:hover {
18
- // filter: drop-shadow(0 0 2em #61dafbaa);
19
- // }
20
- // }
21
-
22
- // @keyframes logo-spin {
23
- // from {
24
- // transform: rotate(0deg);
25
- // }
26
-
27
- // to {
28
- // transform: rotate(360deg);
29
- // }
30
- // }
31
-
32
- // @media (prefers-reduced-motion: no-preference) {
33
- // a:nth-of-type(2) .logo {
34
- // animation: logo-spin infinite 20s linear;
35
- // }
36
- // }
package/src/App.tsx DELETED
@@ -1,34 +0,0 @@
1
- import { useState } from 'react'
2
- import reactLogo from './assets/react.svg'
3
- import "./App.scss"
4
-
5
- function App() {
6
- const [count, setCount] = useState(0)
7
-
8
- return (
9
- <div className="App">
10
- <div>
11
- <a href="https://vitejs.dev" target="_blank">
12
- <img src="/vite.svg" className="logo" alt="Vite logo" />
13
- </a>
14
- <a href="https://reactjs.org" target="_blank">
15
- <img src={reactLogo} className="logo react" alt="React logo" />
16
- </a>
17
- </div>
18
- <h1>Vite + React</h1>
19
- <div className="card">
20
- <button onClick={() => setCount((count) => count + 1)}>
21
- count is {count}
22
- </button>
23
- <p>
24
- Edit <code>src/App.tsx</code> and save to test HMR
25
- </p>
26
- </div>
27
- <p className="read-the-docs">
28
- Click on the Vite and React logos to learn more
29
- </p>
30
- </div>
31
- )
32
- }
33
-
34
- export default App
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="35.93" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 228"><path fill="#00D8FF" d="M210.483 73.824a171.49 171.49 0 0 0-8.24-2.597c.465-1.9.893-3.777 1.273-5.621c6.238-30.281 2.16-54.676-11.769-62.708c-13.355-7.7-35.196.329-57.254 19.526a171.23 171.23 0 0 0-6.375 5.848a155.866 155.866 0 0 0-4.241-3.917C100.759 3.829 77.587-4.822 63.673 3.233C50.33 10.957 46.379 33.89 51.995 62.588a170.974 170.974 0 0 0 1.892 8.48c-3.28.932-6.445 1.924-9.474 2.98C17.309 83.498 0 98.307 0 113.668c0 15.865 18.582 31.778 46.812 41.427a145.52 145.52 0 0 0 6.921 2.165a167.467 167.467 0 0 0-2.01 9.138c-5.354 28.2-1.173 50.591 12.134 58.266c13.744 7.926 36.812-.22 59.273-19.855a145.567 145.567 0 0 0 5.342-4.923a168.064 168.064 0 0 0 6.92 6.314c21.758 18.722 43.246 26.282 56.54 18.586c13.731-7.949 18.194-32.003 12.4-61.268a145.016 145.016 0 0 0-1.535-6.842c1.62-.48 3.21-.974 4.76-1.488c29.348-9.723 48.443-25.443 48.443-41.52c0-15.417-17.868-30.326-45.517-39.844Zm-6.365 70.984c-1.4.463-2.836.91-4.3 1.345c-3.24-10.257-7.612-21.163-12.963-32.432c5.106-11 9.31-21.767 12.459-31.957c2.619.758 5.16 1.557 7.61 2.4c23.69 8.156 38.14 20.213 38.14 29.504c0 9.896-15.606 22.743-40.946 31.14Zm-10.514 20.834c2.562 12.94 2.927 24.64 1.23 33.787c-1.524 8.219-4.59 13.698-8.382 15.893c-8.067 4.67-25.32-1.4-43.927-17.412a156.726 156.726 0 0 1-6.437-5.87c7.214-7.889 14.423-17.06 21.459-27.246c12.376-1.098 24.068-2.894 34.671-5.345a134.17 134.17 0 0 1 1.386 6.193ZM87.276 214.515c-7.882 2.783-14.16 2.863-17.955.675c-8.075-4.657-11.432-22.636-6.853-46.752a156.923 156.923 0 0 1 1.869-8.499c10.486 2.32 22.093 3.988 34.498 4.994c7.084 9.967 14.501 19.128 21.976 27.15a134.668 134.668 0 0 1-4.877 4.492c-9.933 8.682-19.886 14.842-28.658 17.94ZM50.35 144.747c-12.483-4.267-22.792-9.812-29.858-15.863c-6.35-5.437-9.555-10.836-9.555-15.216c0-9.322 13.897-21.212 37.076-29.293c2.813-.98 5.757-1.905 8.812-2.773c3.204 10.42 7.406 21.315 12.477 32.332c-5.137 11.18-9.399 22.249-12.634 32.792a134.718 134.718 0 0 1-6.318-1.979Zm12.378-84.26c-4.811-24.587-1.616-43.134 6.425-47.789c8.564-4.958 27.502 2.111 47.463 19.835a144.318 144.318 0 0 1 3.841 3.545c-7.438 7.987-14.787 17.08-21.808 26.988c-12.04 1.116-23.565 2.908-34.161 5.309a160.342 160.342 0 0 1-1.76-7.887Zm110.427 27.268a347.8 347.8 0 0 0-7.785-12.803c8.168 1.033 15.994 2.404 23.343 4.08c-2.206 7.072-4.956 14.465-8.193 22.045a381.151 381.151 0 0 0-7.365-13.322Zm-45.032-43.861c5.044 5.465 10.096 11.566 15.065 18.186a322.04 322.04 0 0 0-30.257-.006c4.974-6.559 10.069-12.652 15.192-18.18ZM82.802 87.83a323.167 323.167 0 0 0-7.227 13.238c-3.184-7.553-5.909-14.98-8.134-22.152c7.304-1.634 15.093-2.97 23.209-3.984a321.524 321.524 0 0 0-7.848 12.897Zm8.081 65.352c-8.385-.936-16.291-2.203-23.593-3.793c2.26-7.3 5.045-14.885 8.298-22.6a321.187 321.187 0 0 0 7.257 13.246c2.594 4.48 5.28 8.868 8.038 13.147Zm37.542 31.03c-5.184-5.592-10.354-11.779-15.403-18.433c4.902.192 9.899.29 14.978.29c5.218 0 10.376-.117 15.453-.343c-4.985 6.774-10.018 12.97-15.028 18.486Zm52.198-57.817c3.422 7.8 6.306 15.345 8.596 22.52c-7.422 1.694-15.436 3.058-23.88 4.071a382.417 382.417 0 0 0 7.859-13.026a347.403 347.403 0 0 0 7.425-13.565Zm-16.898 8.101a358.557 358.557 0 0 1-12.281 19.815a329.4 329.4 0 0 1-23.444.823c-7.967 0-15.716-.248-23.178-.732a310.202 310.202 0 0 1-12.513-19.846h.001a307.41 307.41 0 0 1-10.923-20.627a310.278 310.278 0 0 1 10.89-20.637l-.001.001a307.318 307.318 0 0 1 12.413-19.761c7.613-.576 15.42-.876 23.31-.876H128c7.926 0 15.743.303 23.354.883a329.357 329.357 0 0 1 12.335 19.695a358.489 358.489 0 0 1 11.036 20.54a329.472 329.472 0 0 1-11 20.722Zm22.56-122.124c8.572 4.944 11.906 24.881 6.52 51.026c-.344 1.668-.73 3.367-1.15 5.09c-10.622-2.452-22.155-4.275-34.23-5.408c-7.034-10.017-14.323-19.124-21.64-27.008a160.789 160.789 0 0 1 5.888-5.4c18.9-16.447 36.564-22.941 44.612-18.3ZM128 90.808c12.625 0 22.86 10.235 22.86 22.86s-10.235 22.86-22.86 22.86s-22.86-10.235-22.86-22.86s10.235-22.86 22.86-22.86Z"></path></svg>
package/src/index.js DELETED
@@ -1,70 +0,0 @@
1
- import './sass/main.sass';
2
-
3
- // ELEMENTS =========================================
4
- import {Alert} from './stories/Elements/Alert/Alert';
5
- import {Button} from './stories/Elements/Button/Button';
6
- import {Badge} from './stories/Elements/Badge/Badge';
7
- import {Icon} from './stories/Elements/Icon/Icon';
8
- //----------
9
- export {Alert, Button, Badge, Icon};
10
-
11
- //COMPONENTS ========================================
12
- import {Breadcrumb} from './stories/Components/Breadcrumb/Breadcrumb';
13
- import {CardCTA} from './stories/Components/Cards/Card CTA/CardCta';
14
- import {CardExpiration} from './stories/Components/Cards/Card Expiration/cardExpiration';
15
- import {CardVertical} from './stories/Components/Cards/Card Vertical/CardVertical';
16
- import {CardActivity} from './stories/Components/Cards/CardActivity/cardActivity';
17
- import {CardHorizontal} from './stories/Components/Cards/CardHorizontal/CardHorizontal';
18
- import {CardUser} from './stories/Components/Cards/CardUser/CardUser';
19
- import {Cart} from './stories/Components/Cart/Cart';
20
- import {Collapse} from './stories/Components/Collapse/Collapse';
21
- import {CTA} from './stories/Components/CTA/CTA';
22
- import {Dropdown} from './stories/Components/Dropdown/Dropdown';
23
- import {EmptyState} from './stories/Components/EmptyState/EmptyState';
24
- import {Pagination} from './stories/Components/Pagination/Pagination';
25
- import {Stepper} from './stories/Components/Stepper/Stepper';
26
- import {Tabs} from './stories/Components/Tabs/Tabs';
27
- import {Tooltip} from './stories/Components/Tooltip/Tooltip';
28
- //----------
29
- export {
30
- Breadcrumb,
31
- CardCTA,
32
- CardExpiration,
33
- CardVertical,
34
- CardActivity,
35
- CardUser,
36
- CardHorizontal,
37
- Cart,
38
- Collapse,
39
- CTA,
40
- Dropdown,
41
- EmptyState,
42
- Pagination,
43
- Stepper,
44
- Tabs,
45
- Tooltip,
46
- };
47
-
48
- //FORM ========================================
49
- import {Checkbox} from './stories/Form/Checkbox/Checkbox';
50
- import {DatePickerComponent} from './stories/Form/DatePickerComponent/DatePickerComponent';
51
- import {Filters} from './stories/Form/Filters/Filters';
52
- import {Input} from './stories/Form/Input/Input';
53
- import {InputForm} from './stories/Form/InputFormControl/Input-form-control';
54
- import {Radio} from './stories/Form/Radio/Radio';
55
- import {Search} from './stories/Form/Search/Search';
56
- import {Select} from './stories/Form/Select/Select';
57
- import {Switch} from './stories/Form/Switch/Switch';
58
- import {Textarea} from './stories/Form/Textarea/Textarea';
59
- //----------
60
- export {Checkbox, DatePickerComponent, Filters, Input, InputForm, Search, Radio, Select, Switch, Textarea};
61
-
62
- //LAYOUT ========================================
63
- import {Footer} from './stories/Layout/Footer/Footer';
64
- import {Header} from './stories/Layout/Header/Header';
65
- import {HeaderTable} from './stories/Layout/HeaderTable/HeaderTable';
66
- import {Sidebar} from './stories/Layout/Sidebar/Sidebar';
67
- import {Subtitle} from './stories/Layout/Subtitle/Subtitle';
68
- import {Title} from './stories/Layout/Title/Title';
69
- //----------
70
- export {Footer, Header, HeaderTable, Sidebar, Subtitle, Title};
package/src/index.scss DELETED
@@ -1,63 +0,0 @@
1
- // :root {
2
- // font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3
- // font-size: 16px;
4
- // line-height: 24px;
5
- // font-weight: 400;
6
- // color-scheme: light dark;
7
- // color: rgba(255, 255, 255, 0.87);
8
- // background-color: #242424;
9
- // font-synthesis: none;
10
- // text-rendering: optimizeLegibility;
11
- // -webkit-font-smoothing: antialiased;
12
- // -moz-osx-font-smoothing: grayscale;
13
- // -webkit-text-size-adjust: 100%;
14
- // }
15
-
16
- // body {
17
- // margin: 0;
18
- // display: flex;
19
- // place-items: center;
20
- // min-width: 320px;
21
- // min-height: 100vh;
22
- // }
23
-
24
- // h1 {
25
- // font-size: 3.2em;
26
- // line-height: 1.1;
27
- // }
28
-
29
- // button {
30
- // border-radius: 8px;
31
- // border: 1px solid transparent;
32
- // padding: 0.6em 1.2em;
33
- // font-size: 1em;
34
- // font-weight: 500;
35
- // font-family: inherit;
36
- // background-color: #1a1a1a;
37
- // cursor: pointer;
38
- // transition: border-color 0.25s;
39
-
40
- // &:hover {
41
- // border-color: #646cff;
42
- // }
43
-
44
- // &:focus,
45
- // &:focus-visible {
46
- // outline: 4px auto -webkit-focus-ring-color;
47
- // }
48
- // }
49
-
50
- // @media (prefers-color-scheme: light) {
51
- // :root {
52
- // color: #213547;
53
- // background-color: #ffffff;
54
- // }
55
-
56
- // a:hover {
57
- // color: #747bff;
58
- // }
59
-
60
- // button {
61
- // background-color: #f9f9f9;
62
- // }
63
- // }
package/src/index.ts DELETED
@@ -1,108 +0,0 @@
1
- import './sass/main.sass';
2
-
3
- // ELEMENTS =========================================
4
- import {Alert} from './stories/Elements/Alert/Alert';
5
- import {Button} from './stories/Elements/Button/Button';
6
- import {Badge} from './stories/Elements/Badge/Badge';
7
- import {Icon} from './stories/Elements/Icon/Icon';
8
- import {ProgressBar} from './stories/Elements/ProgressBar/ProgressBar';
9
- //----------
10
- export {Alert, Button, Badge, Icon, ProgressBar};
11
-
12
- //COMPONENTS ========================================
13
- import {AssistanceDiary} from './stories/Components/AssistanceDiary/AssistanceDiary';
14
- import {AverageAttended} from './stories/Components/AverageAttended/AverageAttended';
15
- import {Breadcrumb} from './stories/Components/Breadcrumb/Breadcrumb';
16
- import {CardCTA} from './stories/Components/Cards/Card CTA/CardCta';
17
- import {CardExpiration} from './stories/Components/Cards/Card Expiration/cardExpiration';
18
- import {CardVertical} from './stories/Components/Cards/Card Vertical/CardVertical';
19
- import {CardActivity} from './stories/Components/Cards/CardActivity/cardActivity';
20
- import {CardHorizontal} from './stories/Components/Cards/CardHorizontal/CardHorizontal';
21
- import {CardUser} from './stories/Components/Cards/CardUser/CardUser';
22
- import {Cart} from './stories/Components/Cart/Cart';
23
- import {Collapse} from './stories/Components/Collapse/Collapse';
24
- import {CollapseEdit} from './stories/Components/CollapseEdit/CollapseEdit';
25
- import {CompleteDiary} from './stories/Components/CompleteDiary/CompleteDiary';
26
- import {CTA} from './stories/Components/CTA/CTA';
27
- import {Dropdown} from './stories/Components/Dropdown/Dropdown';
28
- import {EmptyState} from './stories/Components/EmptyState/EmptyState';
29
- import {ErrorPage} from './stories/Components/ErrorPage/ErrorPage';
30
- import {IncomingCall} from './stories/Components/IncomingCall/IncomingCall';
31
- import {ModalConfirm} from './stories/Components/ModalConfirm/ModalConfirm';
32
- import {Pagination} from './stories/Components/Pagination/Pagination';
33
- import {PerformanceAssessment} from './stories/Components/PerformanceAssessment/PerformanceAssessment';
34
- import {ShiftDiary} from './stories/Components/ShiftDiary/ShiftDiary';
35
- import {Stepper} from './stories/Components/Stepper/Stepper';
36
- import {Tabs} from './stories/Components/Tabs/Tabs';
37
- import {Tooltip} from './stories/Components/Tooltip/Tooltip';
38
- //----------
39
- export {
40
- AssistanceDiary,
41
- AverageAttended,
42
- Breadcrumb,
43
- CardCTA,
44
- CardExpiration,
45
- CardVertical,
46
- CardActivity,
47
- CardUser,
48
- CardHorizontal,
49
- Cart,
50
- Collapse,
51
- CollapseEdit,
52
- CompleteDiary,
53
- CTA,
54
- Dropdown,
55
- EmptyState,
56
- ErrorPage,
57
- IncomingCall,
58
- ModalConfirm,
59
- Pagination,
60
- PerformanceAssessment,
61
- ShiftDiary,
62
- Stepper,
63
- Tabs,
64
- Tooltip,
65
- };
66
-
67
- //FORM ========================================
68
- import {Autocomplete} from './stories/Form/Autocomplete/Autocomplete';
69
- import {Checkbox} from './stories/Form/Checkbox/Checkbox';
70
- import {DatePickerComponent} from './stories/Form/DatePickerComponent/DatePickerComponent';
71
- import {Filters} from './stories/Form/Filters/Filters';
72
- import {Input} from './stories/Form/Input/Input';
73
- import {InputForm} from './stories/Form/InputFormControl/Input-form-control';
74
- import {Radio} from './stories/Form/Radio/Radio';
75
- import {Search} from './stories/Form/Search/Search';
76
- import {Select} from './stories/Form/Select/Select';
77
- import {Switch} from './stories/Form/Switch/Switch';
78
- import {Textarea} from './stories/Form/Textarea/Textarea';
79
- import {UploadFiles} from './stories/Form/UploadFiles/UploadFiles';
80
- import {UploadFileItem} from './stories/Form/UploadFileItem/UploadFileItem';
81
-
82
- //----------
83
- export {
84
- Autocomplete,
85
- Checkbox,
86
- DatePickerComponent,
87
- Filters,
88
- Input,
89
- InputForm,
90
- Search,
91
- Radio,
92
- Select,
93
- Switch,
94
- Textarea,
95
- UploadFiles,
96
- UploadFileItem,
97
- };
98
-
99
- //LAYOUT ========================================
100
- import {Footer} from './stories/Layout/Footer/Footer';
101
- import {Header} from './stories/Layout/Header/Header';
102
- import {HeaderTable} from './stories/Layout/HeaderTable/HeaderTable';
103
- import {Sidebar} from './stories/Layout/Sidebar/Sidebar';
104
- import {SidebarEmpty} from './stories/Layout/SidebarEmpty/SidebarEmpty';
105
- import {Subtitle} from './stories/Layout/Subtitle/Subtitle';
106
- import {Title} from './stories/Layout/Title/Title';
107
- //----------
108
- export {Footer, Header, HeaderTable, Sidebar, SidebarEmpty, Subtitle, Title};
package/src/main.tsx DELETED
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import ReactDOM from 'react-dom';
3
- import App from './App';
4
- import './index.scss';
5
-
6
- ReactDOM.render(
7
- <React.StrictMode>
8
- <App />
9
- </React.StrictMode>,
10
- document.getElementById('root'),
11
- );
@@ -1,50 +0,0 @@
1
- @import '/src/sass/utilities/variables';
2
-
3
- .elv-component {
4
- // TEXT
5
- font-family: 'SF UI Text', sans-serif !important;
6
- word-wrap: break-word;
7
- word-break: break-word;
8
- line-height: 150% !important;
9
- box-sizing: initial;
10
-
11
- h1,
12
- h2,
13
- h3,
14
- h4,
15
- h5,
16
- p {
17
- line-height: 150%;
18
- margin: 0;
19
- }
20
-
21
- input {
22
- font-family: 'SF UI Text', sans-serif !important;
23
- }
24
-
25
- a {
26
- cursor: pointer;
27
- text-decoration: none;
28
- strong {
29
- color: currentColor;
30
- }
31
- &:hover {
32
- color: $info-700;
33
- }
34
- }
35
-
36
- .modal-background {
37
- z-index: 5000 !important;
38
- position: fixed;
39
- }
40
-
41
- .card-box {
42
- box-shadow: 0px 0px 2px rgba(14, 31, 53, 0.12), 0px 1px 4px rgba(14, 31, 53, 0.06);
43
-
44
- &:hover {
45
- box-shadow: 0px 3px 6px rgba(14, 31, 53, 0.08), 0px 6px 12px rgba(14, 31, 53, 0.12), 0px 14px 24px rgba(14, 31, 53, 0.08);
46
- }
47
- }
48
-
49
- @import '/src/sass/bulma/bulma-changes.scss';
50
- }
@@ -1,90 +0,0 @@
1
- @import '/src/sass/utilities/variables';
2
-
3
- .elv-control {
4
- .e-control {
5
- &__input {
6
- position: absolute;
7
- opacity: 0;
8
- left: 2px;
9
-
10
- &:checked ~ .e-control__checkmark {
11
- display: block;
12
- border-color: $primary-600;
13
-
14
- &:after {
15
- display: block;
16
- }
17
- }
18
- }
19
-
20
- &__checkmark {
21
- border: 2px solid $truegray-400;
22
- background-color: $white;
23
-
24
- &:hover {
25
- border-color: $primary-600;
26
- }
27
-
28
- &:after {
29
- content: '';
30
- display: none;
31
- position: absolute;
32
- }
33
- }
34
-
35
- &--sm {
36
- .label-text {
37
- font-size: 14px;
38
- margin-left: 10px;
39
- }
40
-
41
- .e-control__checkmark {
42
- height: 16px;
43
- width: 16px;
44
- min-width: 16px;
45
- }
46
- }
47
-
48
- &--md {
49
- .label-text {
50
- font-size: 16px;
51
- margin-left: 16px;
52
- }
53
-
54
- .e-control__checkmark {
55
- height: 1.25rem;
56
- width: 1.25rem;
57
- min-width: 1.25rem;
58
- }
59
- }
60
-
61
- &--lg {
62
- .label-text {
63
- font-size: 16px;
64
- margin-left: 24px;
65
- }
66
-
67
- .e-control__checkmark {
68
- height: 2rem;
69
- width: 2rem;
70
- min-width: 2rem;
71
- }
72
- }
73
-
74
- &--disabled {
75
- .e-control__checkmark,
76
- .label-text {
77
- opacity: 0.4;
78
- cursor: not-allowed;
79
- }
80
- }
81
-
82
- &--error {
83
- border-color: $danger-600;
84
-
85
- .e-control__checkmark {
86
- border-color: $danger-600 !important;
87
- }
88
- }
89
- }
90
- }