seed-components 1.0.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.
- package/.prettierrc +13 -0
- package/LICENSE +21 -0
- package/README.md +198 -0
- package/bundle/components/Alert/Andromeda/AlertAndromeda.stories.d.ts +5 -0
- package/bundle/components/Alert/Andromeda/index.d.ts +2 -0
- package/bundle/components/Alert/Andromeda/types.d.ts +9 -0
- package/bundle/components/AppointmentForm/Andromeda/AppointmentFormAndromeda.stories.d.ts +5 -0
- package/bundle/components/AppointmentForm/Andromeda/examples.d.ts +6 -0
- package/bundle/components/AppointmentForm/Andromeda/index.d.ts +2 -0
- package/bundle/components/AppointmentForm/Andromeda/translations.d.ts +50 -0
- package/bundle/components/AppointmentForm/Andromeda/types.d.ts +25 -0
- package/bundle/components/Calendar/Andromeda/CalendarAndromeda.stories.d.ts +5 -0
- package/bundle/components/Calendar/Andromeda/examples.d.ts +4 -0
- package/bundle/components/Calendar/Andromeda/index.d.ts +2 -0
- package/bundle/components/Calendar/Andromeda/types.d.ts +14 -0
- package/bundle/components/Calendar/Antlia/CalendarAntlia.stories.d.ts +5 -0
- package/bundle/components/Calendar/Antlia/components/EventModal/index.d.ts +2 -0
- package/bundle/components/Calendar/Antlia/index.d.ts +2 -0
- package/bundle/components/Calendar/Antlia/types.d.ts +33 -0
- package/bundle/components/ContactForm/Andromeda/ContactFormAndromeda.stories.d.ts +5 -0
- package/bundle/components/ContactForm/Andromeda/index.d.ts +2 -0
- package/bundle/components/ContactForm/Andromeda/translations.d.ts +46 -0
- package/bundle/components/ContactForm/Andromeda/types.d.ts +16 -0
- package/bundle/components/ContactForm/Antlia/ContactFormAntlia.stories.d.ts +5 -0
- package/bundle/components/ContactForm/Antlia/example.d.ts +28 -0
- package/bundle/components/ContactForm/Antlia/index.d.ts +2 -0
- package/bundle/components/ContactForm/Antlia/translations.d.ts +6 -0
- package/bundle/components/ContactForm/Antlia/types.d.ts +17 -0
- package/bundle/components/FileDownloader/Andromeda/FileDownloaderAndromeda.stories.d.ts +5 -0
- package/bundle/components/FileDownloader/Andromeda/examples.d.ts +2 -0
- package/bundle/components/FileDownloader/Andromeda/index.d.ts +2 -0
- package/bundle/components/FileDownloader/Andromeda/types.d.ts +21 -0
- package/bundle/components/FileUpload/Andromeda/FileUploadAndromeda.stories.d.ts +5 -0
- package/bundle/components/FileUpload/Andromeda/index.d.ts +2 -0
- package/bundle/components/FileUpload/Andromeda/translations.d.ts +17 -0
- package/bundle/components/FileUpload/Andromeda/types.d.ts +14 -0
- package/bundle/components/HeroSection/Andromeda/HeroSectionAndromeda.stories.d.ts +5 -0
- package/bundle/components/HeroSection/Andromeda/defaults.d.ts +2 -0
- package/bundle/components/HeroSection/Andromeda/index.d.ts +2 -0
- package/bundle/components/HeroSection/Andromeda/translations.d.ts +39 -0
- package/bundle/components/HeroSection/Andromeda/types.d.ts +7 -0
- package/bundle/components/HeroSection/Antlia/HeroSectionAntlia.stories.d.ts +5 -0
- package/bundle/components/HeroSection/Antlia/index.d.ts +3 -0
- package/bundle/components/HeroSection/Antlia/translations.d.ts +14 -0
- package/bundle/components/HeroSection/Antlia/types.d.ts +16 -0
- package/bundle/components/IntroductionSection/Andromeda/IntroductionSectionAndromeda.stories.d.ts +5 -0
- package/bundle/components/IntroductionSection/Andromeda/defaults.d.ts +2 -0
- package/bundle/components/IntroductionSection/Andromeda/index.d.ts +2 -0
- package/bundle/components/IntroductionSection/Andromeda/translations.d.ts +28 -0
- package/bundle/components/IntroductionSection/Andromeda/types.d.ts +13 -0
- package/bundle/components/IntroductionSection/Antlia/IntroductionSectionAntlia.stories.d.ts +5 -0
- package/bundle/components/IntroductionSection/Antlia/index.d.ts +2 -0
- package/bundle/components/IntroductionSection/Antlia/translations.d.ts +36 -0
- package/bundle/components/IntroductionSection/Antlia/types.d.ts +9 -0
- package/bundle/components/Item/Andromeda/ItemAndromeda.stories.d.ts +5 -0
- package/bundle/components/Item/Andromeda/examples.d.ts +9 -0
- package/bundle/components/Item/Andromeda/index.d.ts +2 -0
- package/bundle/components/Item/Andromeda/translations.d.ts +7 -0
- package/bundle/components/Item/Andromeda/types.d.ts +14 -0
- package/bundle/components/Login/Andromeda/LoginAndromeda.stories.d.ts +5 -0
- package/bundle/components/Login/Andromeda/index.d.ts +2 -0
- package/bundle/components/Login/Andromeda/types.d.ts +19 -0
- package/bundle/components/Map/Andromeda/MapAndromeda.stories.d.ts +5 -0
- package/bundle/components/Map/Andromeda/index.d.ts +2 -0
- package/bundle/components/Map/Andromeda/translations.d.ts +12 -0
- package/bundle/components/Map/Andromeda/types.d.ts +9 -0
- package/bundle/components/Map/Antlia/MapAntlia.stories.d.ts +5 -0
- package/bundle/components/Map/Antlia/index.d.ts +2 -0
- package/bundle/components/Map/Antlia/translations.d.ts +14 -0
- package/bundle/components/Map/Antlia/types.d.ts +10 -0
- package/bundle/components/Navbar/Andromeda/NavbarAndromeda.stories.d.ts +5 -0
- package/bundle/components/Navbar/Andromeda/index.d.ts +2 -0
- package/bundle/components/Navbar/Andromeda/types.d.ts +9 -0
- package/bundle/components/Navbar/Antlia/NavbarAntlia.stories.d.ts +5 -0
- package/bundle/components/Navbar/Antlia/examples.d.ts +7 -0
- package/bundle/components/Navbar/Antlia/index.d.ts +2 -0
- package/bundle/components/Navbar/Antlia/translations.d.ts +7 -0
- package/bundle/components/Navbar/Antlia/types.d.ts +14 -0
- package/bundle/components/Projects/Andromeda/ProjectsAndromeda.stories.d.ts +5 -0
- package/bundle/components/Projects/Andromeda/examples.d.ts +7 -0
- package/bundle/components/Projects/Andromeda/index.d.ts +2 -0
- package/bundle/components/Projects/Andromeda/translations.d.ts +14 -0
- package/bundle/components/Projects/Andromeda/types.d.ts +11 -0
- package/bundle/components/Skills/Andromeda/SkillsAndromeda.stories.d.ts +5 -0
- package/bundle/components/Skills/Andromeda/examples.d.ts +8 -0
- package/bundle/components/Skills/Andromeda/index.d.ts +2 -0
- package/bundle/components/Skills/Andromeda/translations.d.ts +8 -0
- package/bundle/components/Skills/Andromeda/types.d.ts +14 -0
- package/bundle/components/Video/Andromeda/VideoAndromeda.stories.d.ts +5 -0
- package/bundle/components/Video/Andromeda/index.d.ts +2 -0
- package/bundle/components/Video/Andromeda/types.d.ts +6 -0
- package/bundle/components/WorkSection/Andromeda/WorkSectionAndromeda.stories.d.ts +5 -0
- package/bundle/components/WorkSection/Andromeda/defaults.d.ts +2 -0
- package/bundle/components/WorkSection/Andromeda/index.d.ts +2 -0
- package/bundle/components/WorkSection/Andromeda/translations.d.ts +12 -0
- package/bundle/components/WorkSection/Andromeda/types.d.ts +18 -0
- package/bundle/components/WorkSection/Antlia/WorkSectionAntlia.stories.d.ts +5 -0
- package/bundle/components/WorkSection/Antlia/defaults.d.ts +2 -0
- package/bundle/components/WorkSection/Antlia/index.d.ts +2 -0
- package/bundle/components/WorkSection/Antlia/translations.d.ts +10 -0
- package/bundle/components/WorkSection/Antlia/types.d.ts +13 -0
- package/bundle/components/index.d.ts +27 -0
- package/bundle/components/ui/Carousel/Andromeda/CarouselAndromeda.stories.d.ts +5 -0
- package/bundle/components/ui/Carousel/Andromeda/index.d.ts +2 -0
- package/bundle/components/ui/Carousel/Andromeda/types.d.ts +18 -0
- package/bundle/components/ui/ScrollSnap/Andromeda/ScrollSnapAndromeda.stories.d.ts +5 -0
- package/bundle/components/ui/ScrollSnap/Andromeda/defaults.d.ts +2 -0
- package/bundle/components/ui/ScrollSnap/Andromeda/index.d.ts +2 -0
- package/bundle/components/ui/ScrollSnap/Andromeda/types.d.ts +9 -0
- package/bundle/components/ui/SocialLinks/Andromeda/SocialLinksAndromeda.stories.d.ts +5 -0
- package/bundle/components/ui/SocialLinks/Andromeda/example.d.ts +5 -0
- package/bundle/components/ui/SocialLinks/Andromeda/index.d.ts +2 -0
- package/bundle/components/ui/SocialLinks/Andromeda/types.d.ts +11 -0
- package/bundle/index.css +1 -0
- package/bundle/index.d.ts +3 -0
- package/bundle/index.es.js +8069 -0
- package/bundle/index.umd.js +25 -0
- package/bundle/types/index.d.ts +27 -0
- package/bundle/types/props-components.d.ts +6 -0
- package/bundle/utils/index.d.ts +1 -0
- package/bundle/utils/returnTranslations.d.ts +2 -0
- package/eslint.config.js +57 -0
- package/package.json +88 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export * from '../components/Alert/Andromeda/types';
|
|
2
|
+
export * from '../components/AppointmentForm/Andromeda/types';
|
|
3
|
+
export * from '../components/Calendar/Andromeda/types';
|
|
4
|
+
export * from '../components/Calendar/Antlia/types';
|
|
5
|
+
export * from '../components/ContactForm/Andromeda/types';
|
|
6
|
+
export * from '../components/ContactForm/Antlia/types';
|
|
7
|
+
export * from '../components/FileDownloader/Andromeda/types';
|
|
8
|
+
export * from '../components/FileUpload/Andromeda/types';
|
|
9
|
+
export * from '../components/HeroSection/Andromeda/types';
|
|
10
|
+
export * from '../components/HeroSection/Antlia/types';
|
|
11
|
+
export * from '../components/IntroductionSection/Andromeda/types';
|
|
12
|
+
export * from '../components/IntroductionSection/Antlia/types';
|
|
13
|
+
export * from '../components/Item/Andromeda/types';
|
|
14
|
+
export * from '../components/Login/Andromeda/types';
|
|
15
|
+
export * from '../components/Map/Andromeda/types';
|
|
16
|
+
export * from '../components/Map/Antlia/types';
|
|
17
|
+
export * from '../components/Navbar/Andromeda/types';
|
|
18
|
+
export * from '../components/Navbar/Antlia/types';
|
|
19
|
+
export * from '../components/Projects/Andromeda/types';
|
|
20
|
+
export * from '../components/Skills/Andromeda/types';
|
|
21
|
+
export * from '../components/ui/Carousel/Andromeda/types';
|
|
22
|
+
export * from '../components/ui/ScrollSnap/Andromeda/types';
|
|
23
|
+
export * from '../components/ui/SocialLinks/Andromeda/types';
|
|
24
|
+
export * from '../components/Video/Andromeda/types';
|
|
25
|
+
export * from '../components/WorkSection/Andromeda/types';
|
|
26
|
+
export * from '../components/WorkSection/Antlia/types';
|
|
27
|
+
export * from './props-components';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './returnTranslations.ts';
|
package/eslint.config.js
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// For more info, see https://github.com/storybookjs/eslint-plugin-storybook#configuration-flat-config-format
|
|
2
|
+
import storybook from 'eslint-plugin-storybook'
|
|
3
|
+
|
|
4
|
+
import js from '@eslint/js'
|
|
5
|
+
import prettier from 'eslint-plugin-prettier'
|
|
6
|
+
import reactHooks from 'eslint-plugin-react-hooks'
|
|
7
|
+
import reactRefresh from 'eslint-plugin-react-refresh'
|
|
8
|
+
import { globalIgnores } from 'eslint/config'
|
|
9
|
+
import globals from 'globals'
|
|
10
|
+
import tseslint from 'typescript-eslint'
|
|
11
|
+
|
|
12
|
+
export default tseslint.config(
|
|
13
|
+
[
|
|
14
|
+
globalIgnores(['dist']),
|
|
15
|
+
{
|
|
16
|
+
files: ['**/*.{ts,tsx}'],
|
|
17
|
+
plugins: {
|
|
18
|
+
prettier: prettier,
|
|
19
|
+
},
|
|
20
|
+
settings: {
|
|
21
|
+
'import/resolver': {
|
|
22
|
+
typescript: {},
|
|
23
|
+
alias: {
|
|
24
|
+
map: [['@', './src']],
|
|
25
|
+
extensions: ['.ts', '.tsx', '.js', '.jsx', '.json'],
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
extends: [
|
|
30
|
+
js.configs.recommended,
|
|
31
|
+
tseslint.configs.recommended,
|
|
32
|
+
reactHooks.configs['recommended-latest'],
|
|
33
|
+
'plugin:prettier/recommended',
|
|
34
|
+
reactRefresh.configs.vite,
|
|
35
|
+
],
|
|
36
|
+
rules: {
|
|
37
|
+
'simple-import-sort/imports': 'warn',
|
|
38
|
+
'import/no-unresolved': 'error',
|
|
39
|
+
'import/order': [
|
|
40
|
+
'warn',
|
|
41
|
+
{
|
|
42
|
+
groups: [['builtin', 'external', 'internal']],
|
|
43
|
+
'newlines-between': 'always',
|
|
44
|
+
alphabetize: { order: 'asc', caseInsensitive: true },
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
'object-property-newline': [2],
|
|
48
|
+
'prettier/prettier': 'error',
|
|
49
|
+
},
|
|
50
|
+
languageOptions: {
|
|
51
|
+
ecmaVersion: 2020,
|
|
52
|
+
globals: globals.browser,
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
storybook.configs['flat/recommended']
|
|
57
|
+
)
|
package/package.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "seed-components",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"author": "Juan Carlos Trejos Iglesias",
|
|
7
|
+
"main": "./bundle/index.cjs.js",
|
|
8
|
+
"module": "./bundle/index.es.js",
|
|
9
|
+
"types": "./bundle/index.d.ts",
|
|
10
|
+
"files": [
|
|
11
|
+
"bundle",
|
|
12
|
+
".prettierrc",
|
|
13
|
+
"eslint.config.js"
|
|
14
|
+
],
|
|
15
|
+
"sideEffects": [
|
|
16
|
+
"**/*.css"
|
|
17
|
+
],
|
|
18
|
+
"eslintConfig": {
|
|
19
|
+
"extends": "./eslint.config.js"
|
|
20
|
+
},
|
|
21
|
+
"scripts": {
|
|
22
|
+
"dev": "vite",
|
|
23
|
+
"build": "tsc -b && vite build",
|
|
24
|
+
"preview": "vite preview",
|
|
25
|
+
"lint": "eslint . --ext .ts,.tsx --fix",
|
|
26
|
+
"lint:fix": "eslint . --fix",
|
|
27
|
+
"lint:css": "stylelint \"**/*.css\" --fix",
|
|
28
|
+
"format": "prettier --write .",
|
|
29
|
+
"generate:types": "ts-node ./scripts/generate-types.ts",
|
|
30
|
+
"generate:utils": "ts-node ./scripts/generate-utils.ts",
|
|
31
|
+
"generate:components": "ts-node ./scripts/generate-components.ts",
|
|
32
|
+
"generate:indexes": "yarn run generate:types && yarn run generate:utils && yarn run generate:components && yarn run generate:stories",
|
|
33
|
+
"generate:stories": "ts-node ./scripts/generate-stories.ts",
|
|
34
|
+
"generate:defaults": "ts-node ./scripts/generate-defaults.ts",
|
|
35
|
+
"bundle": "yarn run generate:indexes && yarn run format && tsc -b && vite build",
|
|
36
|
+
"watch": "vite build --watch",
|
|
37
|
+
"storybook": "storybook dev -p 6006",
|
|
38
|
+
"storybook:build": "storybook build"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@react-google-maps/api": "2.20.8",
|
|
42
|
+
"react-icons": "5.6.0"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@chromatic-com/storybook": "5.2.1",
|
|
46
|
+
"@eslint/js": "10.0.1",
|
|
47
|
+
"@storybook/addon-a11y": "10.4.4",
|
|
48
|
+
"@storybook/addon-docs": "10.4.4",
|
|
49
|
+
"@storybook/addon-vitest": "10.4.4",
|
|
50
|
+
"@storybook/react-vite": "10.4.4",
|
|
51
|
+
"@testing-library/dom": "10.4.1",
|
|
52
|
+
"@types/node": "25.9.3",
|
|
53
|
+
"@types/react": "19.2.17",
|
|
54
|
+
"@types/react-dom": "19.2.3",
|
|
55
|
+
"@vitejs/plugin-react-swc": "4.3.1",
|
|
56
|
+
"@vitest/browser": "4.1.8",
|
|
57
|
+
"@vitest/coverage-v8": "4.1.8",
|
|
58
|
+
"eslint": "10.4.1",
|
|
59
|
+
"eslint-config-prettier": "10.1.8",
|
|
60
|
+
"eslint-import-resolver-typescript": "4.4.5",
|
|
61
|
+
"eslint-plugin-prettier": "5.5.6",
|
|
62
|
+
"eslint-plugin-react-hooks": "7.1.1",
|
|
63
|
+
"eslint-plugin-react-refresh": "0.5.2",
|
|
64
|
+
"eslint-plugin-simple-import-sort": "13.0.0",
|
|
65
|
+
"eslint-plugin-storybook": "10.4.4",
|
|
66
|
+
"glob": "13.0.6",
|
|
67
|
+
"globals": "17.6.0",
|
|
68
|
+
"playwright": "1.60.0",
|
|
69
|
+
"postcss": "8.5.15",
|
|
70
|
+
"prettier": "3.8.4",
|
|
71
|
+
"react": "19.2.7",
|
|
72
|
+
"react-dom": "19.2.7",
|
|
73
|
+
"storybook": "10.4.4",
|
|
74
|
+
"stylelint": "17.13.0",
|
|
75
|
+
"stylelint-config-standard": "40.0.0",
|
|
76
|
+
"stylelint-config-standard-scss": "17.0.0",
|
|
77
|
+
"stylelint-order": "8.1.1",
|
|
78
|
+
"ts-morph": "28.0.0",
|
|
79
|
+
"ts-node": "10.9.2",
|
|
80
|
+
"typescript": "6.0.3",
|
|
81
|
+
"typescript-eslint": "8.61.0",
|
|
82
|
+
"url": "0.11.4",
|
|
83
|
+
"vite": "8.0.16",
|
|
84
|
+
"vite-plugin-dts": "5.0.2",
|
|
85
|
+
"vite-plugin-lib-inject-css": "2.2.2",
|
|
86
|
+
"vitest": "4.1.8"
|
|
87
|
+
}
|
|
88
|
+
}
|