nuxt-hs-ui 1.0.4 → 1.0.6

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-hs-ui",
3
3
  "configKey": "hsui",
4
- "version": "1.0.4",
4
+ "version": "1.0.6",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.7.1",
7
7
  "unbuild": "2.0.0"
@@ -153,7 +153,7 @@ const cancelBtnStyle = RemovePrefix(prefix, [
153
153
  'border-[1px]',
154
154
  'tw-border-[1px]',
155
155
  '!bg-transparent',
156
- 'tw-bg-transparent',
156
+ '!tw-bg-transparent',
157
157
  'rounded-none',
158
158
  'tw-rounded-none',
159
159
  'h-full',
@@ -217,18 +217,24 @@ const cardStyle = RemovePrefix(prefix, [
217
217
  'mb-auto',
218
218
  'tw-mb-auto',
219
219
  ]);
220
+ const closeBtnIcon = RemovePrefix(prefix, [
221
+ //
222
+ 'tw-mx-1',
223
+ 'mx-1',
224
+ ]);
225
+ const baseCardHeader = RemovePrefix(prefix, [
226
+ //
227
+ 'py-1',
228
+ 'tw-py-1',
229
+ 'pe-1',
230
+ 'tw-pe-1',
231
+ ]);
220
232
  </script>
221
233
  <template>
222
234
  <ClientOnly>
223
235
  <HsUiModal ref="targetElm" :show="isShow" :z-index="zindex" focus-lock @close="clickCancel()">
224
236
  <HsUiCard v-if="activeItem !== null" class="HsUiDialog" :class="cardStyle" @click.stop>
225
- <HsUiCardItem
226
- :class="[
227
- `theme-${activeItem.data.option.theme}`,
228
- RemovePrefix(prefix, ['py-1', 'tw-py-1', 'pe-1', 'tw-pe-1']),
229
- ]"
230
- variant="header"
231
- >
237
+ <HsUiCardItem :class="[`theme-${activeItem.data.option.theme}`, baseCardHeader]" variant="header">
232
238
  <div :class="titleStyle">
233
239
  {{ MultiLangText(activeItem.data.title) }}
234
240
  </div>
@@ -241,7 +247,7 @@ const cardStyle = RemovePrefix(prefix, [
241
247
  @click="clickCancel()"
242
248
  @ref="(e:any) => (cancelBtnElm = e)"
243
249
  >
244
- <i class="fas fa-times mx-1" />
250
+ <i class="fas fa-times" :class="closeBtnIcon" />
245
251
  {{ MultiLangText(activeItem.data.option.btnCancel.title) }}
246
252
  </HsFcBtn>
247
253
  </HsUiCardItem>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-hs-ui",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Nuxt UI Pack",
5
5
  "repository": "https://github.com/hare-systems-ryo/nuxt-hs-ui",
6
6
  "license": "MIT",