nuxt-glorious 2.0.0-develop-11 → 2.0.0-develop-12

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/dist/module.d.mts CHANGED
@@ -33,7 +33,17 @@ interface ModuleOptions {
33
33
  components: {
34
34
  alert: {
35
35
  props: {
36
- color: string;
36
+ color?: string;
37
+ };
38
+ };
39
+ select: {
40
+ props: {
41
+ color?: string;
42
+ size?: 'md';
43
+ disabled?: false;
44
+ required?: false;
45
+ displayTextKey?: 'text';
46
+ keyOfValue?: 'value';
37
47
  };
38
48
  };
39
49
  };
package/dist/module.d.ts CHANGED
@@ -33,7 +33,17 @@ interface ModuleOptions {
33
33
  components: {
34
34
  alert: {
35
35
  props: {
36
- color: string;
36
+ color?: string;
37
+ };
38
+ };
39
+ select: {
40
+ props: {
41
+ color?: string;
42
+ size?: 'md';
43
+ disabled?: false;
44
+ required?: false;
45
+ displayTextKey?: 'text';
46
+ keyOfValue?: 'value';
37
47
  };
38
48
  };
39
49
  };
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "nuxt-glorious",
3
3
  "configKey": "glorious",
4
- "version": "2.0.0-develop-11"
4
+ "version": "2.0.0-develop-12"
5
5
  }
@@ -61,7 +61,11 @@ const firstVal = selectValue.value
61
61
  "
62
62
  :value="firstVal"
63
63
  >
64
- {{ props.placeholder }}
64
+ {{
65
+ props.firstOptionText === ''
66
+ ? props.placeholder
67
+ : props.firstOptionText
68
+ }}
65
69
  </option>
66
70
  <option
67
71
  v-for="(item, index) in props.options"
@@ -1,4 +1,9 @@
1
1
  declare const _default: {
2
+ firstOptionText: {
3
+ required: boolean;
4
+ default: string;
5
+ type: StringConstructor;
6
+ };
2
7
  options: {
3
8
  required: boolean;
4
9
  default: never[];
@@ -20,5 +20,10 @@ export default {
20
20
  ...keyOfValue(),
21
21
  ...error,
22
22
  ...disabled,
23
- ...options
23
+ ...options,
24
+ firstOptionText: {
25
+ required: false,
26
+ default: "",
27
+ type: String
28
+ }
24
29
  };
@@ -1328,7 +1328,7 @@ label.checked {
1328
1328
  .glorious-tooltip {
1329
1329
  @apply relative w-max;
1330
1330
  }
1331
- .glorious-tooltip > .tooltip-slot:hover ~ .tooltip-content {
1331
+ .glorious-tooltip .tooltip-slot:hover + .tooltip-content {
1332
1332
  @apply opacity-100;
1333
1333
  }
1334
1334
  .glorious-tooltip > .tooltip-content {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.0-develop-11",
2
+ "version": "2.0.0-develop-12",
3
3
  "name": "nuxt-glorious",
4
4
  "description": "This package provides many things needed by a project, including server requests and authentication, SEO and other requirements of a project.",
5
5
  "repository": "sajadhzj/nuxt-glorious",