@solfacil/girassol 0.1.7 → 0.1.10
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/.vscode/settings.json +1 -0
- package/README.md +46 -3
- package/cli/bin/{girassol → girassol-cli} +0 -0
- package/cli/build/cli.js +68 -0
- package/cli/build/commands/create:component.js +124 -0
- package/cli/build/commands/generate:plugin.js +89 -0
- package/cli/build/commands/generate:types.js +76 -0
- package/cli/build/commands/girassol-cli.js +52 -0
- package/cli/build/extensions/cli-extension.js +17 -0
- package/cli/build/templates/components.d.ts.ejs +1 -0
- package/cli/build/templates/nuxt-plugin.ejs +8 -0
- package/cli/build/templates/vue-plugin.ejs +5 -0
- package/cli/{src → build}/templates/windi.config.ts.ejs +0 -0
- package/cli/build/types/cli.d.ts +1 -0
- package/cli/build/types/commands/create:component.d.ts +1 -0
- package/cli/build/types/commands/generate:plugin.d.ts +1 -0
- package/cli/build/types/commands/generate:types.d.ts +7 -0
- package/cli/build/types/commands/girassol-cli.d.ts +1 -0
- package/cli/build/types/extensions/cli-extension.d.ts +1 -0
- package/cli/build/types/types.d.ts +0 -0
- package/cli/build/types.js +2 -0
- package/dist/cli/src/cli.d.ts +1 -0
- package/dist/cli/src/commands/create:component.d.ts +1 -0
- package/dist/cli/src/commands/generate:plugin.d.ts +1 -0
- package/dist/cli/src/commands/generate:types.d.ts +7 -0
- package/dist/cli/src/commands/girassol-cli.d.ts +1 -0
- package/dist/cli/src/extensions/cli-extension.d.ts +1 -0
- package/dist/cli/src/types.d.ts +0 -0
- package/dist/components.d.ts +21 -0
- package/dist/components.json +1 -0
- package/dist/girassol.es.js +283 -198
- package/dist/girassol.umd.js +5 -5
- package/dist/style.css +1 -1
- package/dist/types/components/dropdown/Dropdown.vue.d.ts +4 -0
- package/dist/types/components/forms/select/Select.vue.d.ts +6 -5
- package/dist/types/components/informations/chip/Chip.vue.d.ts +41 -0
- package/dist/types/components/informations/chip/chip.spec.d.ts +1 -0
- package/dist/types/components/informations/chip/index.d.ts +2 -0
- package/dist/types/index.d.ts +841 -2
- package/dist/vite-modules/generate-component-types.d.ts +3 -0
- package/package.json +45 -22
- package/vite.config.ts +4 -0
- package/cli/.eslintrc.js +0 -18
- package/cli/LICENSE +0 -21
- package/cli/docs/commands.md +0 -3
- package/cli/docs/plugins.md +0 -47
- package/cli/package.json +0 -53
- package/cli/readme.md +0 -26
- package/cli/src/cli.ts +0 -25
- package/cli/src/commands/create:component.ts +0 -91
- package/cli/src/commands/generate:plugin.ts +0 -68
- package/cli/src/commands/generate:types.ts +0 -38
- package/cli/src/commands/girassol.ts +0 -12
- package/cli/src/extensions/cli-extension.ts +0 -17
- package/cli/src/templates/components/component.spec.ts.ejs +0 -20
- package/cli/src/templates/components/component.stories.mdx.ejs +0 -74
- package/cli/src/templates/components/component.vue.ejs +0 -23
- package/cli/src/templates/components/index.ts.ejs +0 -10
- package/cli/src/templates/components.d.ts.ejs +0 -10
- package/cli/src/templates/nuxt-plugin.ejs +0 -7
- package/cli/src/templates/vue-plugin.ejs +0 -5
- package/cli/src/types.ts +0 -1
- package/cli/tsconfig.json +0 -28
- package/cli/yarn.lock +0 -1804
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
defineProps<{
|
|
3
|
-
id: string
|
|
4
|
-
label?: string
|
|
5
|
-
}>()
|
|
6
|
-
|
|
7
|
-
const emit = defineEmits<{
|
|
8
|
-
(e: 'change', value: string): void
|
|
9
|
-
}>()
|
|
10
|
-
|
|
11
|
-
</script>
|
|
12
|
-
|
|
13
|
-
<template>
|
|
14
|
-
<div class="sol-<%- props.nameClass %>-core" >
|
|
15
|
-
{{ label }}
|
|
16
|
-
</div>
|
|
17
|
-
</template>
|
|
18
|
-
|
|
19
|
-
<style lang="scss">
|
|
20
|
-
.sol-<%- props.nameClass %>-core {
|
|
21
|
-
@apply bg-brand-primary-medium px-2xs;
|
|
22
|
-
}
|
|
23
|
-
</style>
|
package/cli/src/types.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// export types
|
package/cli/tsconfig.json
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"allowSyntheticDefaultImports": false,
|
|
4
|
-
"experimentalDecorators": true,
|
|
5
|
-
"lib": [
|
|
6
|
-
"es2015",
|
|
7
|
-
"scripthost",
|
|
8
|
-
"es2015.promise",
|
|
9
|
-
"es2015.generator",
|
|
10
|
-
"es2015.iterable",
|
|
11
|
-
"dom"
|
|
12
|
-
],
|
|
13
|
-
"module": "commonjs",
|
|
14
|
-
"moduleResolution": "node",
|
|
15
|
-
"noImplicitAny": false,
|
|
16
|
-
"noImplicitThis": true,
|
|
17
|
-
"noUnusedLocals": true,
|
|
18
|
-
"sourceMap": false,
|
|
19
|
-
"inlineSourceMap": true,
|
|
20
|
-
"outDir": "build",
|
|
21
|
-
"strict": false,
|
|
22
|
-
"target": "es5",
|
|
23
|
-
"declaration": true,
|
|
24
|
-
"declarationDir": "build/types"
|
|
25
|
-
},
|
|
26
|
-
"include": ["src/**/*"],
|
|
27
|
-
"exclude": ["node_modules"]
|
|
28
|
-
}
|