@solfacil/girassol 0.1.7 → 0.1.8

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.
@@ -8,6 +8,7 @@
8
8
  "gluegun",
9
9
  "iconify",
10
10
  "IIFE",
11
+ "informations",
11
12
  "nuxt",
12
13
  "solfacil",
13
14
  "Solfácil",
@@ -15,6 +15,7 @@ module.exports = {
15
15
  const {
16
16
  prompt,
17
17
  template,
18
+ parameters,
18
19
  print: { highlight, info, success, error },
19
20
  } = toolbox
20
21
 
@@ -28,6 +29,7 @@ module.exports = {
28
29
  const askName = {
29
30
  type: 'input',
30
31
  name: 'name',
32
+ initial: parameters.string,
31
33
  message: 'Qual o nome do componente?',
32
34
  hint: 'Textfield | Button',
33
35
  }
@@ -1,23 +1,23 @@
1
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
-
2
+ defineProps<{
3
+ id: string
4
+ label?: string
5
+ }>()
6
+
7
+ const emit = defineEmits<{
8
+ (e: 'change', value: string): void
9
+ }>()
11
10
  </script>
12
11
 
13
12
  <template>
14
- <div class="sol-<%- props.nameClass %>-core" >
13
+ <div class="sol-<%- props.nameClass %>-core">
15
14
  {{ label }}
16
15
  </div>
17
16
  </template>
18
17
 
19
18
  <style lang="scss">
20
19
  .sol-<%- props.nameClass %>-core {
21
- @apply bg-brand-primary-medium px-2xs;
20
+
21
+ | @apply bg-brand-primary-medium px-2xs;
22
22
  }
23
23
  </style>