nuxt-hs-ui 2.4.0 → 2.4.2
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.json
CHANGED
|
@@ -164,8 +164,7 @@ const iconDisabled = computed(() => {
|
|
|
164
164
|
const slots = useSlots();
|
|
165
165
|
const hasHeader = computed(() => {
|
|
166
166
|
if (props.label.length !== 0) return true;
|
|
167
|
-
if (props.require) return true;
|
|
168
|
-
if (props.readonly) return true;
|
|
167
|
+
if (props.require && !props.readonly) return true;
|
|
169
168
|
// if (slots.label) return true;
|
|
170
169
|
if (slots["label-prepend"]) return true;
|
|
171
170
|
if (slots["label-append"]) return true;
|
|
@@ -201,9 +200,6 @@ const hasHeader = computed(() => {
|
|
|
201
200
|
<div class="flex-1"></div>
|
|
202
201
|
<div class="flex-none flex gap-2">
|
|
203
202
|
<slot name="header-right" :default-class="headerIconClass" />
|
|
204
|
-
<!-- <div v-if="props.readonly" :class="headerIconClass" class="text-dark">
|
|
205
|
-
<span data-type="readonly">readonly</span>
|
|
206
|
-
</div> -->
|
|
207
203
|
<div
|
|
208
204
|
v-if="props.require && !props.readonly"
|
|
209
205
|
:class="headerIconClass"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-hs-ui",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"description": "My new Nuxt module",
|
|
5
5
|
"repository": "https://github.com/hare-systems-ryo/nuxt-hs-ui",
|
|
6
6
|
"license": "MIT",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"@nuxt/kit": "^3.15.1",
|
|
117
117
|
"@nuxt/ui": "^2.21.0",
|
|
118
118
|
"@nuxtjs/tailwindcss": "^6.13.1",
|
|
119
|
-
"@pinia/nuxt": "
|
|
119
|
+
"@pinia/nuxt": "0.11.0",
|
|
120
120
|
"@vueuse/core": "^12.3.0",
|
|
121
121
|
"@vueuse/integrations": "^12.3.0",
|
|
122
122
|
"@vueuse/nuxt": "^12.3.0",
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"defu": "^6.1.4",
|
|
127
127
|
"flatpickr": "^4.6.13",
|
|
128
128
|
"focus-trap": "^7.6.2",
|
|
129
|
-
"pinia": "^
|
|
129
|
+
"pinia": "^3.0.2",
|
|
130
130
|
"tabulator-tables": "^6.3.0",
|
|
131
131
|
"tailwind-merge": "^2.6.0",
|
|
132
132
|
"tailwind-variants": "^0.3.0",
|
|
@@ -152,4 +152,4 @@
|
|
|
152
152
|
"vitest": "^2.1.8",
|
|
153
153
|
"vue-tsc": "^2.2.0"
|
|
154
154
|
}
|
|
155
|
-
}
|
|
155
|
+
}
|