@mptw/skylens-ui 1.4.26 → 1.4.28

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.
@@ -2,9 +2,9 @@
2
2
  button(:type='type', :class='btnClass' :disabled="disabled")
3
3
  .btn-content
4
4
  slot
5
- SLIcon(v-if='icon !== ""', :icon='icon')
5
+ SLIcon.btn-icon(v-if='icon !== ""', :icon='icon')
6
6
  span(v-if='title !== ""') {{ title }}
7
- SLIcon(v-if='postIcon !== ""', :icon='postIcon')
7
+ SLIcon.btn-icon(v-if='postIcon !== ""', :icon='postIcon')
8
8
  .btn-loading
9
9
  .loading
10
10
  div
@@ -283,7 +283,10 @@ export default defineComponent({
283
283
  @apply block
284
284
 
285
285
  .btn-content
286
- @apply inline-flex items-center space-x-2
286
+ @apply inline-flex items-center space-x-1
287
+
288
+ .icon.btn-icon
289
+ @apply text-xs
287
290
 
288
291
  .btn-loading
289
292
  @apply absolute s('top-1/2') s('left-1/2') w-4 h-4 s('-translate-x-1/2') s('-translate-y-1/2') pointer-events-none hidden
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mptw/skylens-ui",
3
3
  "type": "module",
4
- "version": "1.4.26",
4
+ "version": "1.4.28",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",