energy-components 1.0.2

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 (89) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +94 -0
  3. package/dist/.empty +0 -0
  4. package/dist/components/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  5. package/dist/components/accordion.es.js +121 -0
  6. package/dist/components/accordionGroup.es.js +32 -0
  7. package/dist/components/actionButton.es.js +64 -0
  8. package/dist/components/breadcrumbs.es.js +90 -0
  9. package/dist/components/button.es.js +144 -0
  10. package/dist/components/checkbox.es.js +130 -0
  11. package/dist/components/divider.es.js +35 -0
  12. package/dist/components/dropdown.es.js +331 -0
  13. package/dist/components/floatingActionButton.es.js +97 -0
  14. package/dist/components/functions-DIHwdgF0.js +18 -0
  15. package/dist/components/icon-svg-Cpx09myr.js +10818 -0
  16. package/dist/components/iconList.es.js +49 -0
  17. package/dist/components/iconSvg.es.js +5 -0
  18. package/dist/components/index.es.js +81 -0
  19. package/dist/components/indicator.es.js +175 -0
  20. package/dist/components/link.es.js +147 -0
  21. package/dist/components/multiselect.es.js +1039 -0
  22. package/dist/components/pagination.es.js +138 -0
  23. package/dist/components/radioButton.es.js +111 -0
  24. package/dist/components/style/accordion.css +1 -0
  25. package/dist/components/style/accordionGroup.css +1 -0
  26. package/dist/components/style/actionButton.css +1 -0
  27. package/dist/components/style/breadcrumbs.css +1 -0
  28. package/dist/components/style/button.css +1 -0
  29. package/dist/components/style/checkbox.css +1 -0
  30. package/dist/components/style/divider.css +1 -0
  31. package/dist/components/style/dropdown.css +1 -0
  32. package/dist/components/style/floatingActionButton.css +1 -0
  33. package/dist/components/style/icon-svg.css +1 -0
  34. package/dist/components/style/iconList.css +1 -0
  35. package/dist/components/style/indicator.css +1 -0
  36. package/dist/components/style/link.css +1 -0
  37. package/dist/components/style/multiselect.css +1 -0
  38. package/dist/components/style/pagination.css +1 -0
  39. package/dist/components/style/radioButton.css +1 -0
  40. package/dist/components/style/switch.css +1 -0
  41. package/dist/components/style/tabBar.css +1 -0
  42. package/dist/components/style/tag.css +1 -0
  43. package/dist/components/style/textArea.css +1 -0
  44. package/dist/components/style/textField.css +1 -0
  45. package/dist/components/style/tooltip.css +1 -0
  46. package/dist/components/switch.es.js +96 -0
  47. package/dist/components/tabBar.es.js +181 -0
  48. package/dist/components/tag.es.js +91 -0
  49. package/dist/components/textArea.es.js +259 -0
  50. package/dist/components/textField.es.js +254 -0
  51. package/dist/components/tooltip.es.js +1082 -0
  52. package/dist/energy-components.es.js +15368 -0
  53. package/dist/energy-components.umd.js +1 -0
  54. package/dist/style.css +1 -0
  55. package/dist/types/src/components/buttons/action-button/action-button.vue.d.ts +100 -0
  56. package/dist/types/src/components/buttons/button/button.vue.d.ts +196 -0
  57. package/dist/types/src/components/buttons/constants/buttonDocs.d.ts +1 -0
  58. package/dist/types/src/components/buttons/constants/buttonPosition.d.ts +1 -0
  59. package/dist/types/src/components/buttons/constants/socialMedia.d.ts +1 -0
  60. package/dist/types/src/components/buttons/floating-action-button/floating-action-button.vue.d.ts +136 -0
  61. package/dist/types/src/components/content/accordion/accordion.vue.d.ts +122 -0
  62. package/dist/types/src/components/content/acordion-group/accordion-group.d.ts +6 -0
  63. package/dist/types/src/components/content/acordion-group/accordion-group.vue.d.ts +33 -0
  64. package/dist/types/src/components/content/divider/divider.vue.d.ts +35 -0
  65. package/dist/types/src/components/content/tag/tag.vue.d.ts +105 -0
  66. package/dist/types/src/components/feedback/indicator/indicator.vue.d.ts +100 -0
  67. package/dist/types/src/components/icon-svg/icon-list.d.ts +11 -0
  68. package/dist/types/src/components/icon-svg/icon-list.vue.d.ts +2 -0
  69. package/dist/types/src/components/icon-svg/icon-svg.vue.d.ts +68 -0
  70. package/dist/types/src/components/index.d.ts +20 -0
  71. package/dist/types/src/components/input/checkbox/checkbox.vue.d.ts +151 -0
  72. package/dist/types/src/components/input/dropdown/Multiselect/Multiselect.vue.d.ts +2 -0
  73. package/dist/types/src/components/input/dropdown/dropdown.vue.d.ts +270 -0
  74. package/dist/types/src/components/input/radio-button/radio-button.vue.d.ts +114 -0
  75. package/dist/types/src/components/input/switch/switch.vue.d.ts +104 -0
  76. package/dist/types/src/components/input/text-area/text-area.vue.d.ts +281 -0
  77. package/dist/types/src/components/input/text-field/text-field.vue.d.ts +271 -0
  78. package/dist/types/src/components/navigation/breadcrumbs/breadcrumbs.vue.d.ts +63 -0
  79. package/dist/types/src/components/navigation/link/link.types.d.ts +15 -0
  80. package/dist/types/src/components/navigation/link/link.vue.d.ts +175 -0
  81. package/dist/types/src/components/navigation/pagination/pagination.vue.d.ts +67 -0
  82. package/dist/types/src/components/navigation/tab-bar/tab-bar.vue.d.ts +132 -0
  83. package/dist/types/src/components/overlay/tooltip/tooltip.vue.d.ts +118 -0
  84. package/dist/types/src/helpers/functions.d.ts +3 -0
  85. package/dist/types/src/helpers/stories.helpers.d.ts +1 -0
  86. package/dist/types/src/helpers/validation.d.ts +1 -0
  87. package/dist/types/src/index.d.ts +8 -0
  88. package/dist/types/tsconfig.tsbuildinfo +1 -0
  89. package/package.json +156 -0
package/package.json ADDED
@@ -0,0 +1,156 @@
1
+ {
2
+ "name": "energy-components",
3
+ "description": "",
4
+ "version": "1.0.2",
5
+ "author": "Repsol",
6
+ "auto-changelog": {
7
+ "commitLimit": false,
8
+ "template": "changelog-template.hbs",
9
+ "commitUrl": "https://dev.azure.com/repsol-digital-team/DDPlaybook01/_git/rds-vue3/commit/{id}",
10
+ "compareUrl": "https://dev.azure.com/repsol-digital-team/DDPlaybook01/_git/rds-vue3/branchCompare?baseVersion=GT{from}&targetVersion=GT{to}&_a=files",
11
+ "replaceText": {
12
+ "🐛|🧩|✅|🧑‍💻|♻️|⚡️|‼️|📝|⚙️|feat|fix|docs|perf|refactor|test|maintenance": "",
13
+ "Merged PR \\d*:": "",
14
+ "(\\d{6})": "[$1](https://dev.azure.com/repsol-digital-team/Gobierno%20y%20Operacion%20de%20aplicaciones%20Web/_workitems/edit/$1)",
15
+ " : ": "",
16
+ "^\\s+": ""
17
+ }
18
+ },
19
+ "bugs": {
20
+ "url": "https://github.com/chromaui/intro-storybook-vue-template/issues"
21
+ },
22
+ "config": {
23
+ "commitizen": {
24
+ "path": "node_modules/cz-customizable"
25
+ },
26
+ "cz-customizable": {
27
+ "config": ".cz-config.ts"
28
+ }
29
+ },
30
+ "dependencies": {
31
+ "@commitlint/cli": "19.3.0",
32
+ "@commitlint/config-conventional": "19.2.2",
33
+ "@floating-ui/vue": "^1.1.5",
34
+ "autochangelog": "^3.0.3",
35
+ "energy-foundations": "^1.0.1",
36
+ "js-beautify": "^1.15.1",
37
+ "vue": "^3.4.21"
38
+ },
39
+ "devDependencies": {
40
+ "@antfu/eslint-config": "^2.26.0",
41
+ "@rushstack/eslint-patch": "^1.8.0",
42
+ "@storybook/addon-essentials": "^8.1.3",
43
+ "@storybook/addon-interactions": "^8.1.3",
44
+ "@storybook/addon-links": "^8.1.3",
45
+ "@storybook/blocks": "^8.1.3",
46
+ "@storybook/test": "^8.1.3",
47
+ "@storybook/vue3": "^8.1.3",
48
+ "@storybook/vue3-vite": "^8.1.3",
49
+ "@vitejs/plugin-vue": "^5.0.4",
50
+ "@vitest/coverage-v8": "^2.0.5",
51
+ "@vue/eslint-config-prettier": "^9.0.0",
52
+ "@vue/test-utils": "^2.4.6",
53
+ "auto-changelog": "^2.5.0",
54
+ "commitizen": "4.3.0",
55
+ "concurrently": "^8.2.2",
56
+ "cz-customizable": "7.0.0",
57
+ "eslint": "^8.57.0",
58
+ "eslint-plugin-storybook": "^0.8.0",
59
+ "eslint-plugin-vue": "^9.23.0",
60
+ "fixpack": "4.0.0",
61
+ "happy-dom": "^15.0.0",
62
+ "husky": "8.0.3",
63
+ "lint-staged": "13.2.0",
64
+ "lodash.kebabcase": "^4.1.1",
65
+ "msw": "^2.3.0",
66
+ "msw-storybook-addon": "^2.0.2",
67
+ "prettier": "^3.2.5",
68
+ "release-it": "^17.6.0",
69
+ "sass": "^1.77.8",
70
+ "storybook": "^8.1.3",
71
+ "stylelint": "14.8.1",
72
+ "stylelint-config-prettier": "9.0.3",
73
+ "stylelint-config-recommended-scss": "6.0.0",
74
+ "stylelint-order": "5.0.0",
75
+ "stylelint-scss": "4.2.0",
76
+ "vite": "^5.2.8",
77
+ "vite-plugin-lib-inject-css": "^2.1.1",
78
+ "vite-plugin-vue-type-imports": "^0.2.5",
79
+ "vite-svg-loader": "^5.1.0",
80
+ "vitest": "^2.0.5",
81
+ "vue-tsc": "^2.0.29"
82
+ },
83
+ "exports": {
84
+ ".": {
85
+ "import": "./dist/energy-components.es.js",
86
+ "types": "./dist/types/src/index.d.ts"
87
+ },
88
+ "./style": {
89
+ "import": "./dist/style.css",
90
+ "require": "./dist/style.css"
91
+ },
92
+ "./components": {
93
+ "import": "./dist/components/index.es.js",
94
+ "types": "./dist/types/src/index.d.ts"
95
+ }
96
+ },
97
+ "files": [
98
+ "dist/"
99
+ ],
100
+ "include": [
101
+ "./public/fonts/selection.json"
102
+ ],
103
+ "license": "MIT",
104
+ "lint-staged": {
105
+ "*.{vue,ts}": [
106
+ "npm run lint"
107
+ ],
108
+ "*.scss": [
109
+ "npm run stylelint"
110
+ ],
111
+ "package.json": [
112
+ "fixpack --dryRun"
113
+ ]
114
+ },
115
+ "main": "./dist/index.es.js",
116
+ "module": "./dist/index.es.js",
117
+ "repository": {
118
+ "type": "git",
119
+ "url": "https://github.com/chromaui/intro-storybook-vue-template"
120
+ },
121
+ "resolutions": {
122
+ "jackspeak": "2.1.1"
123
+ },
124
+ "scripts": {
125
+ "build": "concurrently \" vite build --config vite.config.ts\" \"vite build --config vite.config.components.ts\" && yarn run build:types",
126
+ "build:charts": "vite build --config vite.config.charts.ts",
127
+ "build:components": "vite build --config vite.config.components.ts",
128
+ "build:storybook": "storybook build --docs",
129
+ "build:types": "vue-tsc --project tsconfig.json --declaration --emitDeclarationOnly --outDir dist/types ",
130
+ "changelog": "auto-changelog --commit-limit false --unreleased --package --starting-version 1.0.1 --template ./changelog-template.hbs && git add CHANGELOG.md",
131
+ "commit": "git-cz",
132
+ "commitlint": "commitlint --edit --config=commitlint.config.ts",
133
+ "dev": "vite",
134
+ "format": "prettier --write src/",
135
+ "init-msw": "msw init public/",
136
+ "lint": "eslint",
137
+ "lint:fix": "eslint --fix",
138
+ "preadd": "git add .; npx lint-staged",
139
+ "prepare": "husky install",
140
+ "preview": "vite preview",
141
+ "preview:storybook": "vite storybook-static",
142
+ "release": "release-it",
143
+ "release:autochangelog": "npx auto-changelog --output changelog.md --commit-limit false -u --template https://raw.githubusercontent.com/cookpete/auto-changelog/master/templates/keepachangelog.hbs",
144
+ "storybook": "storybook dev -p 6006",
145
+ "stylelint": "npx stylelint '**/*.scss'",
146
+ "stylelint:fix": "npx stylelint '**/*.scss' --fix",
147
+ "test": "vitest",
148
+ "test:coverage": "vitest run --coverage"
149
+ },
150
+ "sideEffects": [
151
+ "**/*.scss",
152
+ "**/*.css",
153
+ "**/*.vue"
154
+ ],
155
+ "type": "module"
156
+ }