@gv-tech/design-system 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/.github/CODEOWNERS +2 -0
  2. package/.github/CONTRIBUTING.md +38 -0
  3. package/.github/FUNDING.yml +4 -0
  4. package/.github/PULL_REQUEST_TEMPLATE/build.md +5 -0
  5. package/.github/PULL_REQUEST_TEMPLATE/standard.md +3 -0
  6. package/.github/RELEASING.md +37 -0
  7. package/.github/copilot-instructions.md +93 -0
  8. package/.github/workflows/ci.yml +82 -0
  9. package/.github/workflows/codeql-analysis.yml +34 -0
  10. package/.github/workflows/release-please.yml +53 -0
  11. package/.husky/pre-commit +1 -0
  12. package/.nvmrc +1 -0
  13. package/.prettierignore +1 -0
  14. package/.storybook/.preview-head.html +1 -0
  15. package/.storybook/main.ts +38 -0
  16. package/.storybook/preview.tsx +30 -0
  17. package/.tool-versions +1 -0
  18. package/.vscode/launch.json +22 -0
  19. package/.vscode/settings.json +30 -0
  20. package/.yarn/releases/yarn-4.12.0.cjs +942 -0
  21. package/.yarnrc.yml +7 -0
  22. package/CHANGELOG.md +490 -0
  23. package/LICENSE +21 -0
  24. package/README.md +116 -0
  25. package/SECURITY.md +9 -0
  26. package/babel.config.js +3 -0
  27. package/dist/favicon.ico +0 -0
  28. package/dist/index.demo.html +40 -0
  29. package/dist/index.js +647 -0
  30. package/dist/index.js.map +1 -0
  31. package/dist/index.mjs +1053 -0
  32. package/dist/index.mjs.map +1 -0
  33. package/dist/logo192.png +0 -0
  34. package/dist/logo512.png +0 -0
  35. package/dist/manifest.json +25 -0
  36. package/dist/robots.txt +2 -0
  37. package/dist/vendor-DXgJBoQh.mjs +265 -0
  38. package/dist/vendor-DXgJBoQh.mjs.map +1 -0
  39. package/dist/vendor-nZSsnGb7.js +7 -0
  40. package/dist/vendor-nZSsnGb7.js.map +1 -0
  41. package/docs/MIGRATE_TO_GVTECH_SCOPE.md +74 -0
  42. package/eslint.config.mjs +95 -0
  43. package/netlify.toml +6 -0
  44. package/package.json +130 -0
  45. package/public/favicon.ico +0 -0
  46. package/public/index.demo.html +40 -0
  47. package/public/logo192.png +0 -0
  48. package/public/logo512.png +0 -0
  49. package/public/manifest.json +25 -0
  50. package/public/robots.txt +2 -0
  51. package/scripts/validate.js +56 -0
  52. package/serve.json +4 -0
  53. package/src/Avatar.stories.tsx +67 -0
  54. package/src/Avatar.tsx +174 -0
  55. package/src/Badge.stories.tsx +87 -0
  56. package/src/Badge.tsx +76 -0
  57. package/src/Button.stories.tsx +244 -0
  58. package/src/Button.tsx +384 -0
  59. package/src/Icon.stories.tsx +101 -0
  60. package/src/Icon.tsx +64 -0
  61. package/src/Intro.stories.tsx +20 -0
  62. package/src/Link.stories.tsx +69 -0
  63. package/src/Link.tsx +252 -0
  64. package/src/StoryLinkWrapper.d.ts +1 -0
  65. package/src/StoryLinkWrapper.tsx +33 -0
  66. package/src/__tests__/Avatar.test.tsx +28 -0
  67. package/src/__tests__/Badge.test.tsx +25 -0
  68. package/src/__tests__/Button.test.tsx +38 -0
  69. package/src/__tests__/Icon.test.tsx +26 -0
  70. package/src/__tests__/Link.test.tsx +31 -0
  71. package/src/index.ts +13 -0
  72. package/src/mdx.d.ts +5 -0
  73. package/src/setupTests.ts +1 -0
  74. package/src/shared/animation.d.ts +18 -0
  75. package/src/shared/animation.js +60 -0
  76. package/src/shared/global.d.ts +12 -0
  77. package/src/shared/global.js +120 -0
  78. package/src/shared/icons.d.ts +34 -0
  79. package/src/shared/icons.js +282 -0
  80. package/src/shared/styles.d.ts +86 -0
  81. package/src/shared/styles.js +98 -0
  82. package/src/test-utils/axe.ts +25 -0
  83. package/src/types.ts +316 -0
  84. package/tsconfig.build.json +12 -0
  85. package/tsconfig.json +20 -0
  86. package/tsconfig.node.json +10 -0
  87. package/vite.config.ts +35 -0
  88. package/vitest.config.ts +13 -0
package/.yarnrc.yml ADDED
@@ -0,0 +1,7 @@
1
+ compressionLevel: mixed
2
+
3
+ enableGlobalCache: false
4
+
5
+ nodeLinker: node-modules
6
+
7
+ yarnPath: .yarn/releases/yarn-4.12.0.cjs
package/CHANGELOG.md ADDED
@@ -0,0 +1,490 @@
1
+ # Changelog
2
+
3
+ ## [0.8.0](https://github.com/Garcia-Ventures/gvtech-design/compare/v0.7.0...v0.8.0) (2026-02-01)
4
+
5
+
6
+ ### Features
7
+
8
+ * Add `validate:fix` script to automatically fix formatting and linting issues, and ignore `CHANGELOG.md` in Prettier. ([a441b17](https://github.com/Garcia-Ventures/gvtech-design/commit/a441b179e4dc8b1c8e5b1517fc6e673e8b0123ea))
9
+ * Add Storybook test runner with CI integration and optimize Vite build chunking. ([e3c6818](https://github.com/Garcia-Ventures/gvtech-design/commit/e3c6818957d34bc39c76818238c6645b923aaf68))
10
+ * Introduce `serve.json` for static URL configuration and adjust the `package.json` serve script. ([797a1ab](https://github.com/Garcia-Ventures/gvtech-design/commit/797a1ab58fe208848205b8a36770ba7df0d577a6))
11
+
12
+ ## [0.7.0](https://github.com/Garcia-Ventures/gvtech-design/compare/v0.6.3...v0.7.0) (2026-01-28)
13
+
14
+
15
+ ### Features
16
+
17
+ * enhance accessibility checks and improve build process ([482dc51](https://github.com/Garcia-Ventures/gvtech-design/commit/482dc51e36545217d886b13fae55c0e527cbb8a5))
18
+ * **release:** update release process ([#47](https://github.com/Garcia-Ventures/gvtech-design/issues/47)) ([d0dc2af](https://github.com/Garcia-Ventures/gvtech-design/commit/d0dc2afab6c992e0f4a2d9b94d4f70ffefebc279))
19
+ * rename and modernize the design system ([#45](https://github.com/Garcia-Ventures/gvtech-design/issues/45)) ([5bc936d](https://github.com/Garcia-Ventures/gvtech-design/commit/5bc936dc3a831c431eb80a2679d6c0785e6e622d))
20
+
21
+ ## v0.6.3 (Wed Aug 30 2023)
22
+
23
+ #### 🐛 Bug Fix
24
+
25
+ - build: bump browserslist ([@eng618](https://github.com/eng618))
26
+
27
+ #### Authors: 1
28
+
29
+ - Eric Garcia ([@eng618](https://github.com/eng618))
30
+
31
+ ---
32
+
33
+ ## v0.6.1 (Wed Aug 30 2023)
34
+
35
+ #### 🐛 Bug Fix
36
+
37
+ - ci: adjustments ([@eng618](https://github.com/eng618))
38
+ - ci: remove deprecated action ([@eng618](https://github.com/eng618))
39
+ - ci: update actions ([@eng618](https://github.com/eng618))
40
+ - docs: update email link ([@eng618](https://github.com/eng618))
41
+ - ci: update master to main conversioin ([@eng618](https://github.com/eng618))
42
+ - ci: update release workflow ([@eng618](https://github.com/eng618))
43
+ - ci: remove custom checkout token ([@eng618](https://github.com/eng618))
44
+ - build(test): add ci test command ([@eng618](https://github.com/eng618))
45
+ - build(fossa): remove optional test command ([@eng618](https://github.com/eng618))
46
+ - build(fossa): remove custom config ([@eng618](https://github.com/eng618))
47
+ - build(deps): update minor and below ([@eng618](https://github.com/eng618))
48
+ - build(fossa): update config api version to v3 ([@eng618](https://github.com/eng618))
49
+ - build(node): bump to latest 18.x ([@eng618](https://github.com/eng618))
50
+ - build: bump yarn version ([@eng618](https://github.com/eng618))
51
+ - build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 [#28](https://github.com/Garcia-Enterprise/ge-design/pull/28) ([@dependabot[bot]](https://github.com/dependabot[bot]))
52
+ - chore: update templates [#27](https://github.com/Garcia-Enterprise/ge-design/pull/27) ([@eng618](https://github.com/eng618))
53
+ - build(deps): bump json5 from 1.0.1 to 1.0.2 [#25](https://github.com/Garcia-Enterprise/ge-design/pull/25) ([@dependabot[bot]](https://github.com/dependabot[bot]) [@eng618](https://github.com/eng618))
54
+ - build(deps): bump decode-uri-component from 0.2.0 to 0.2.2 [#24](https://github.com/Garcia-Enterprise/ge-design/pull/24) ([@dependabot[bot]](https://github.com/dependabot[bot]) [@eng618](https://github.com/eng618))
55
+ - chore: add pull request templates [#26](https://github.com/Garcia-Enterprise/ge-design/pull/26) ([@eng618](https://github.com/eng618))
56
+ - fix(sb): docs to correct version [#23](https://github.com/Garcia-Enterprise/ge-design/pull/23) ([@eng618](https://github.com/eng618))
57
+
58
+ #### Authors: 2
59
+
60
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
61
+ - Eric Garcia ([@eng618](https://github.com/eng618))
62
+
63
+ ---
64
+
65
+ ## v0.6.0 (Tue Nov 15 2022)
66
+
67
+ #### 🚀 Enhancement
68
+
69
+ - build!: upgraded base [#21](https://github.com/Garcia-Enterprise/ge-design/pull/21) ([@eng618](https://github.com/eng618))
70
+
71
+ #### Authors: 1
72
+
73
+ - Eric Garcia ([@eng618](https://github.com/eng618))
74
+
75
+ ---
76
+
77
+ ## v0.5.15 (Mon Nov 14 2022)
78
+
79
+ #### 🐛 Bug Fix
80
+
81
+ - build(deps): bump terser from 4.8.0 to 4.8.1 [#17](https://github.com/Garcia-Enterprise/ge-design/pull/17) ([@dependabot[bot]](https://github.com/dependabot[bot]) [@eng618](https://github.com/eng618))
82
+
83
+ #### Authors: 2
84
+
85
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
86
+ - Eric Garcia ([@eng618](https://github.com/eng618))
87
+
88
+ ---
89
+
90
+ ## v0.5.14 (Mon Nov 14 2022)
91
+
92
+ #### 🐛 Bug Fix
93
+
94
+ - test: temp disable Link test ([@eng618](https://github.com/eng618))
95
+ - build: update storybooks static files api ([@eng618](https://github.com/eng618))
96
+ - ci: update checkout action ([@eng618](https://github.com/eng618))
97
+ - build: update browserslist ([@eng618](https://github.com/eng618))
98
+ - test: update react apis ([@eng618](https://github.com/eng618))
99
+
100
+ #### Authors: 1
101
+
102
+ - Eric Garcia ([@eng618](https://github.com/eng618))
103
+
104
+ ---
105
+
106
+ ## v0.5.13 (Mon Nov 14 2022)
107
+
108
+ #### 🐛 Bug Fix
109
+
110
+ - build: bump all dependencies ([@eng618](https://github.com/eng618))
111
+ - build: downgrade babel-loader ([@eng618](https://github.com/eng618))
112
+ - build: add babel-loader ([@eng618](https://github.com/eng618))
113
+ - build: bump dependencies ([@eng618](https://github.com/eng618))
114
+ - ci: update node in actions ([@eng618](https://github.com/eng618))
115
+ - fix: recreate yarn.lock ([@eng618](https://github.com/eng618))
116
+ - build: update all deps ([@eng618](https://github.com/eng618))
117
+ - fix: update storybook config ([@eng618](https://github.com/eng618))
118
+ - build: add dependencies ([@eng618](https://github.com/eng618))
119
+ - ci: updates ([@eng618](https://github.com/eng618))
120
+ - ci: fix release ([@eng618](https://github.com/eng618))
121
+ - ci: only publish on success ([@eng618](https://github.com/eng618))
122
+
123
+ #### ⚠️ Pushed to `master`
124
+
125
+ - build update yarn and node ([@eng618](https://github.com/eng618))
126
+
127
+ #### Authors: 1
128
+
129
+ - Eric Garcia ([@eng618](https://github.com/eng618))
130
+
131
+ ---
132
+
133
+ ## v0.5.12 (Fri Nov 05 2021)
134
+
135
+ #### 🐛 Bug Fix
136
+
137
+ - build: update all dependencies ([@eng618](https://github.com/eng618))
138
+
139
+ #### Authors: 1
140
+
141
+ - Eric Garcia ([@eng618](https://github.com/eng618))
142
+
143
+ ---
144
+
145
+ ## v0.5.11 (Fri Nov 05 2021)
146
+
147
+ #### 🐛 Bug Fix
148
+
149
+ - build: update yarn to v2 ([@eng618](https://github.com/eng618))
150
+ - build(deps): bump tar from 6.1.0 to 6.1.6 [#12](https://github.com/Garcia-Enterprise/ge-design/pull/12) ([@dependabot[bot]](https://github.com/dependabot[bot]))
151
+
152
+ #### Authors: 2
153
+
154
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
155
+ - Eric Garcia ([@eng618](https://github.com/eng618))
156
+
157
+ ---
158
+
159
+ ## v0.5.10 (Thu Jun 03 2021)
160
+
161
+ #### 🐛 Bug Fix
162
+
163
+ - build: add pre-commit hooks, update yarn.lock ([@ENG618](https://github.com/ENG618))
164
+
165
+ #### Authors: 1
166
+
167
+ - Eric Garcia ([@ENG618](https://github.com/ENG618))
168
+
169
+ ---
170
+
171
+ ## v0.5.9 (Thu Jun 03 2021)
172
+
173
+ #### 🐛 Bug Fix
174
+
175
+ - style: fix linter errors ([@ENG618](https://github.com/ENG618))
176
+ - build: update all dependencies ([@ENG618](https://github.com/ENG618))
177
+
178
+ #### Authors: 1
179
+
180
+ - Eric Garcia ([@ENG618](https://github.com/ENG618))
181
+
182
+ ---
183
+
184
+ ## v0.5.8 (Thu Jun 03 2021)
185
+
186
+ #### 🐛 Bug Fix
187
+
188
+ - ci: run on all pushes and pr's, only release master ([@ENG618](https://github.com/ENG618))
189
+
190
+ #### Authors: 1
191
+
192
+ - Eric Garcia ([@ENG618](https://github.com/ENG618))
193
+
194
+ ---
195
+
196
+ ## v0.5.7 (Thu Jun 03 2021)
197
+
198
+ #### 🐛 Bug Fix
199
+
200
+ - build(deps): bump dns-packet from 1.3.1 to 1.3.4 [#11](https://github.com/Garcia-Enterprise/ge-design/pull/11) ([@dependabot[bot]](https://github.com/dependabot[bot]))
201
+
202
+ #### Authors: 1
203
+
204
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
205
+
206
+ ---
207
+
208
+ ## v0.5.6 (Thu Apr 22 2021)
209
+
210
+ #### 🐛 Bug Fix
211
+
212
+ - chore: create OSSAR workflow ([@ENG618](https://github.com/ENG618))
213
+
214
+ #### Authors: 1
215
+
216
+ - Eric Garcia ([@ENG618](https://github.com/ENG618))
217
+
218
+ ---
219
+
220
+ ## v0.5.5 (Thu Apr 22 2021)
221
+
222
+ #### 🐛 Bug Fix
223
+
224
+ - chore: setup security reporting ([@ENG618](https://github.com/ENG618))
225
+ - build: setup code scanning ([@ENG618](https://github.com/ENG618))
226
+
227
+ #### Authors: 1
228
+
229
+ - Eric Garcia ([@ENG618](https://github.com/ENG618))
230
+
231
+ ---
232
+
233
+ ## v0.5.4 (Thu Apr 22 2021)
234
+
235
+ #### 🐛 Bug Fix
236
+
237
+ - chore: add license ([@ENG618](https://github.com/ENG618))
238
+
239
+ #### Authors: 1
240
+
241
+ - Eric Garcia ([@ENG618](https://github.com/ENG618))
242
+
243
+ ---
244
+
245
+ ## v0.5.3 (Thu Apr 22 2021)
246
+
247
+ #### 🐛 Bug Fix
248
+
249
+ - ci: temporarily remove preflight checks ([@ENG618](https://github.com/ENG618))
250
+ - fix: replace missing dependencies ([@ENG618](https://github.com/ENG618))
251
+
252
+ #### Authors: 1
253
+
254
+ - Eric Garcia ([@ENG618](https://github.com/ENG618))
255
+
256
+ ---
257
+
258
+ ## v0.5.2 (Thu Apr 22 2021)
259
+
260
+ #### 🐛 Bug Fix
261
+
262
+ - ci: check lint and formatting ([@ENG618](https://github.com/ENG618))
263
+ - fix: remove redundant eslint config ([@ENG618](https://github.com/ENG618))
264
+
265
+ #### Authors: 1
266
+
267
+ - Eric Garcia ([@ENG618](https://github.com/ENG618))
268
+
269
+ ---
270
+
271
+ ## v0.5.1 (Thu Apr 22 2021)
272
+
273
+ #### 🐛 Bug Fix
274
+
275
+ - build: update dependencies ([@ENG618](https://github.com/ENG618))
276
+
277
+ #### Authors: 1
278
+
279
+ - Eric Garcia ([@ENG618](https://github.com/ENG618))
280
+
281
+ ---
282
+
283
+ ## v0.2.0 (Wed Apr 21 2021)
284
+
285
+ #### 🚀 Enhancement
286
+
287
+ - feat: license scans and move ci to github actions ([@ENG618](https://github.com/ENG618))
288
+ - feat: migrate storybook config to latest ([@ENG618](https://github.com/ENG618))
289
+
290
+ #### 🐛 Bug Fix
291
+
292
+ - fix: use token in checkout process ([@ENG618](https://github.com/ENG618))
293
+
294
+ #### ⚠️ Pushed to `master`
295
+
296
+ - ci: fix push issue ([@ENG618](https://github.com/ENG618))
297
+ - ci: add missing env vars and add twitter release ([@ENG618](https://github.com/ENG618))
298
+ - ci: add release token ([@ENG618](https://github.com/ENG618))
299
+ - ci: license scan after dependencies installed ([@ENG618](https://github.com/ENG618))
300
+ - style: lint all files ([@ENG618](https://github.com/ENG618))
301
+ - chore: update all dependencies ([@ENG618](https://github.com/ENG618))
302
+ - chore: update FUNDING ([@ENG618](https://github.com/ENG618))
303
+
304
+ #### Authors: 1
305
+
306
+ - Eric Garcia ([@ENG618](https://github.com/ENG618))
307
+
308
+ ---
309
+
310
+ ## v0.2.0 (Wed Apr 21 2021)
311
+
312
+ #### 🚀 Enhancement
313
+
314
+ - feat: license scans and move ci to github actions ([@ENG618](https://github.com/ENG618))
315
+ - feat: migrate storybook config to latest ([@ENG618](https://github.com/ENG618))
316
+
317
+ #### 🐛 Bug Fix
318
+
319
+ - fix: use token in checkout process ([@ENG618](https://github.com/ENG618))
320
+
321
+ #### ⚠️ Pushed to `master`
322
+
323
+ - ci: fix push issue ([@ENG618](https://github.com/ENG618))
324
+ - ci: add missing env vars and add twitter release ([@ENG618](https://github.com/ENG618))
325
+ - ci: add release token ([@ENG618](https://github.com/ENG618))
326
+ - ci: license scan after dependencies installed ([@ENG618](https://github.com/ENG618))
327
+ - style: lint all files ([@ENG618](https://github.com/ENG618))
328
+ - chore: update all dependencies ([@ENG618](https://github.com/ENG618))
329
+ - chore: update FUNDING ([@ENG618](https://github.com/ENG618))
330
+
331
+ #### Authors: 1
332
+
333
+ - Eric Garcia ([@ENG618](https://github.com/ENG618))
334
+
335
+ ---
336
+
337
+ ## v0.1.14 (Thu Dec 24 2020)
338
+
339
+ #### 🔩 Dependency Updates
340
+
341
+ - Bump ini from 1.3.5 to 1.3.8 [#9](https://github.com/Garcia-Enterprise/ge-design/pull/9) ([@dependabot[bot]](https://github.com/dependabot[bot]))
342
+
343
+ #### Authors: 1
344
+
345
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
346
+
347
+ ---
348
+
349
+ ## (Thu Dec 24 2020)
350
+
351
+ #### 🔩 Dependency Updates
352
+
353
+ - Bump ini from 1.3.5 to 1.3.8 [#9](https://github.com/Garcia-Enterprise/ge-design/pull/9) ([@dependabot[bot]](https://github.com/dependabot[bot]))
354
+
355
+ #### Authors: 1
356
+
357
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
358
+
359
+ ---
360
+
361
+ ## v0.1.13 (Fri Sep 11 2020)
362
+
363
+ #### 🔩 Dependency Updates
364
+
365
+ - Bump http-proxy from 1.18.0 to 1.18.1 [#8](https://github.com/Garcia-Enterprise/ge-design/pull/8) ([@dependabot[bot]](https://github.com/dependabot[bot]))
366
+
367
+ #### Authors: 1
368
+
369
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
370
+
371
+ ---
372
+
373
+ ## (Fri Sep 11 2020)
374
+
375
+ #### 🔩 Dependency Updates
376
+
377
+ - Bump http-proxy from 1.18.0 to 1.18.1 [#8](https://github.com/Garcia-Enterprise/ge-design/pull/8) ([@dependabot[bot]](https://github.com/dependabot[bot]))
378
+
379
+ #### Authors: 1
380
+
381
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
382
+
383
+ ---
384
+
385
+ ## v0.1.12 (Sun Aug 02 2020)
386
+
387
+ #### 🔩 Dependency Updates
388
+
389
+ - Bump elliptic from 6.5.2 to 6.5.3 [#7](https://github.com/Garcia-Enterprise/ge-design/pull/7) ([@dependabot[bot]](https://github.com/dependabot[bot]))
390
+
391
+ #### Authors: 1
392
+
393
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
394
+
395
+ ---
396
+
397
+ ## (Sun Aug 02 2020)
398
+
399
+ #### 🔩 Dependency Updates
400
+
401
+ - Bump elliptic from 6.5.2 to 6.5.3 [#7](https://github.com/Garcia-Enterprise/ge-design/pull/7) ([@dependabot[bot]](https://github.com/dependabot[bot]))
402
+
403
+ #### Authors: 1
404
+
405
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
406
+
407
+ ---
408
+
409
+ ## v0.1.11 (Thu Jun 11 2020)
410
+
411
+ #### 🐛 Bug Fix
412
+
413
+ - build(prettier): add custom prettier config [#6](https://github.com/Garcia-Enterprise/ge-design/pull/6) ([@ENG618](https://github.com/ENG618))
414
+
415
+ #### Authors: 1
416
+
417
+ - Eric Garcia ([@ENG618](https://github.com/ENG618))
418
+
419
+ ---
420
+
421
+ ## v0.1.11 (Thu Jun 11 2020)
422
+
423
+ #### 🐛 Bug Fix
424
+
425
+ - build(prettier): add custom prettier config [#6](https://github.com/Garcia-Enterprise/ge-design/pull/6) ([@ENG618](https://github.com/ENG618))
426
+
427
+ #### Authors: 1
428
+
429
+ - Eric Garcia ([@ENG618](https://github.com/ENG618))
430
+
431
+ ---
432
+
433
+ ## v0.1.10 (Tue Jun 09 2020)
434
+
435
+ #### ⚠️ Pushed to `master`
436
+
437
+ - Merge branch 'develop' ([@ENG618](https://github.com/ENG618))
438
+
439
+ #### Authors: 1
440
+
441
+ - Eric Garcia ([@ENG618](https://github.com/ENG618))
442
+
443
+ ---
444
+
445
+ ## v0.1.9 (Tue Jun 09 2020)
446
+
447
+ #### ⚠️ Pushed to `master`
448
+
449
+ - add link to npm ([@ENG618](https://github.com/ENG618))
450
+
451
+ #### Authors: 1
452
+
453
+ - Eric Garcia ([@ENG618](https://github.com/ENG618))
454
+
455
+ ---
456
+
457
+ ## v0.1.8 (Mon Jun 08 2020)
458
+
459
+ #### 🐛 Bug Fix
460
+
461
+ - Bump websocket-extensions from 0.1.3 to 0.1.4 [#5](https://github.com/Garcia-Enterprise/ge-design/pull/5) ([@dependabot[bot]](https://github.com/dependabot[bot]))
462
+
463
+ #### Authors: 1
464
+
465
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
466
+
467
+ ---
468
+
469
+ ## v0.1.1 (Tue Mar 17 2020)
470
+
471
+ #### 🐛 Bug Fix
472
+
473
+ - maintenance [#4](https://github.com/Garcia-Enterprise/ge-design/pull/4) ([@ENG618](https://github.com/ENG618))
474
+ - Bump acorn from 5.7.3 to 5.7.4 [#3](https://github.com/Garcia-Enterprise/ge-design/pull/3) ([@dependabot[bot]](https://github.com/dependabot[bot]))
475
+ - feat(release): adds release script to ci [#2](https://github.com/Garcia-Enterprise/ge-design/pull/2) ([@ENG618](https://github.com/ENG618))
476
+
477
+ #### Authors: 2
478
+
479
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
480
+ - Eric Garcia ([@ENG618](https://github.com/ENG618))
481
+
482
+ ---
483
+
484
+ ## v0.1.0 (Fri Nov 15 2019)
485
+
486
+ - Created first version of the design system, with `Avatar`, `Badge`, `Button`, `Icon` and `Link` components.
487
+
488
+ #### Authors: 1
489
+
490
+ - Eric N. Garcia (<eng618@garciaericn.com>)
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Garcia Enterprise
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,116 @@
1
+ # GE Design System
2
+
3
+ <p align="center">
4
+ <img alt="GE Design System" src="https://raw.githubusercontent.com/Garcia-Enterprise/ge-design/main/assets/logo.png" width="180" />
5
+
6
+ <br />
7
+ <a href="https://app.netlify.com/sites/ge-design/deploys"><img alt="Netlify Status" src="https://api.netlify.com/api/v1/badges/c104d072-a3bb-4f8a-bd93-a7d5652ff75f/deploy-status" /></a>
8
+ <a href="https://github.com/Garcia-Enterprise/ge-design/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/Garcia-Enterprise/ge-design/actions/workflows/ci.yml/badge.svg" /></a>
9
+ <a href="https://app.fossa.com/projects/custom%2B20755%2Fgit%40github.com%3AGarcia-Enterprise%2Fge-design.git?ref=badge_shield"><img alt="FOSSA" src="https://app.fossa.com/api/projects/custom%2B20755%2Fgit%40github.com%3AGarcia-Enterprise%2Fge-design.git.svg?type=shield" /></a>
10
+ <a href="https://www.npmjs.com/package/ge-design-system"><img alt="npm" src="https://img.shields.io/npm/dt/ge-design-system" /></a>
11
+ </p>
12
+
13
+ A React component design system derived from the [Storybook Design System](https://github.com/storybookjs/design-system). This repository provides a lightweight, opinionated set of UI components and tooling used by Garcia Ventures projects.
14
+
15
+ ---
16
+
17
+ **Table of Contents**
18
+
19
+ - [GE Design System](#ge-design-system)
20
+ - [Demo](#demo)
21
+ - [Install](#install)
22
+ - [Usage](#usage)
23
+ - [Development](#development)
24
+ - [Testing](#testing)
25
+ - [Releases \& Publishing](#releases--publishing)
26
+ - [Contributing](#contributing)
27
+ - [Migration to @gvtech scope](#migration-to-gvtech-scope)
28
+ - [Roadmap](#roadmap)
29
+ - [License](#license)
30
+
31
+ ---
32
+
33
+ ## Demo
34
+
35
+ Storybook static docs are available in this repository (`stories` + `src`): run locally with `yarn storybook` or view the compiled output if hosted.
36
+
37
+ ## Install
38
+
39
+ For now the public package is published as `ge-design-system`:
40
+
41
+ ```bash
42
+ # npm
43
+ npm install ge-design-system
44
+
45
+ # yarn
46
+ yarn add ge-design-system
47
+ ```
48
+
49
+ > Note: We are planning a scoped rename to `@gvtech/<name>` (see [MIGRATE_TO_GVTECH_SCOPE.md](docs/MIGRATE_TO_GVTECH_SCOPE.md)).
50
+
51
+ ## Usage
52
+
53
+ Example import:
54
+
55
+ ```js
56
+ import { Button } from 'ge-design-system';
57
+
58
+ function App() {
59
+ return <Button>Click me</Button>;
60
+ }
61
+ ```
62
+
63
+ ## Development
64
+
65
+ Start a local dev server:
66
+
67
+ ```bash
68
+ yarn dev
69
+ ```
70
+
71
+ Available scripts (selected):
72
+
73
+ - `yarn dev` — start Vite dev server
74
+ - `yarn build` — build the package
75
+ - `yarn storybook` — run Storybook locally
76
+ - `yarn test` — run tests locally
77
+ - `yarn test:ci` — run tests in CI
78
+ - `yarn lint` — run eslint
79
+
80
+ For full commands and details see `package.json`.
81
+
82
+ ## Testing
83
+
84
+ Unit tests use Vitest and React Testing Library.
85
+
86
+ - Run tests locally: `yarn test`
87
+ - CI runs: `yarn test:ci`
88
+
89
+ ## Releases & Publishing
90
+
91
+ We use [`googleapis/release-please-action`](https://github.com/googleapis/release-please-action) to create release PRs and tags. For details on how to set it up and test releases, see [.github/RELEASING.md](.github/RELEASING.md).
92
+
93
+ Publishing currently uses an `NPM_TOKEN` secret; we will later migrate to OIDC and scoped automation tokens for `@gvtech` publishing.
94
+
95
+ ## Contributing
96
+
97
+ Please read the full guidelines in [CONTRIBUTING.md](.github/CONTRIBUTING.md) before contributing. Key points:
98
+
99
+ - Follow **Conventional Commits** to ensure release tooling produces accurate changelogs.
100
+ - Run `yarn lint` and `yarn test` before opening PRs.
101
+
102
+ ## Migration to @gvtech scope
103
+
104
+ See the migration plan and checklist: [docs/MIGRATE_TO_GVTECH_SCOPE.md](docs/MIGRATE_TO_GVTECH_SCOPE.md).
105
+
106
+ ## Roadmap
107
+
108
+ See issues and milestones for planned work.
109
+
110
+ ## License
111
+
112
+ This project is licensed under the MIT License. See [LICENSE](LICENSE) for details.
113
+
114
+ ---
115
+
116
+ > For README best practices, we follow guidance from <https://www.makeareadme.com/>
package/SECURITY.md ADDED
@@ -0,0 +1,9 @@
1
+ # Security Policy
2
+
3
+ ## Supported Versions
4
+
5
+ Main branch or latest is the only currently supported version.
6
+
7
+ ## Reporting a Vulnerability
8
+
9
+ Please send all security findings to [security@garciaericn.com](mailto:security@garciaericn.com). Please provide all relevant information pertaining to the vulnerability. Including where / how it was found. What repository or dependencies are affected.
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ presets: ['@babel/preset-env', '@babel/preset-react', '@babel/preset-typescript'],
3
+ };
Binary file
@@ -0,0 +1,40 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
7
+ <meta name="theme-color" content="#000000" />
8
+ <meta name="description" content="Garcia Ventures design system" />
9
+ <link rel="apple-touch-icon" href="logo192.png" />
10
+ <!--
11
+ manifest.json provides metadata used when your web app is installed on a
12
+ user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
13
+ -->
14
+ <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
15
+ <!--
16
+ Notice the use of %PUBLIC_URL% in the tags above.
17
+ It will be replaced with the URL of the `public` folder during the build.
18
+ Only files inside the `public` folder can be referenced from the HTML.
19
+
20
+ Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
21
+ work correctly both with client-side routing and a non-root public URL.
22
+ Learn how to configure a non-root public URL by running `npm run build`.
23
+ -->
24
+ <title>GV Tech Design System</title>
25
+ </head>
26
+ <body>
27
+ <noscript>You need to enable JavaScript to run this app.</noscript>
28
+ <div id="root"></div>
29
+ <!--
30
+ This HTML file is a template.
31
+ If you open it directly in the browser, you will see an empty page.
32
+
33
+ You can add webfonts, meta tags, or analytics to this file.
34
+ The build step will place the bundled scripts into the <body> tag.
35
+
36
+ To begin the development, run `npm start` or `yarn start`.
37
+ To create a production bundle, use `npm run build` or `yarn build`.
38
+ -->
39
+ </body>
40
+ </html>