@mptw/skylens-ui 1.4.32 → 1.4.34

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/app.vue CHANGED
@@ -1,3 +1,7 @@
1
1
  <template lang="pug">
2
- SLRangeInput
2
+ SLButton(
3
+ icon='trash'
4
+ color='primary-600'
5
+ size='xxs'
6
+ )
3
7
  </template>
@@ -111,30 +111,33 @@ export default defineComponent({
111
111
  .btn
112
112
  @apply relative inline-flex items-center justify-center s("p-1.75") border border-transparent rounded bg-transparent text-base leading-normal s("focus:outline-none")
113
113
 
114
- &-lg
114
+ &.btn-lg
115
115
  @apply s("px-7.75")
116
116
 
117
- &-md
117
+ &.btn-md
118
118
  @apply s("px-3.75")
119
119
 
120
- &-sm
120
+ &.btn-sm
121
121
  @apply s("py-0.75") s("px-1.75")
122
122
 
123
123
  .btn-content
124
124
  @apply space-x-1
125
125
 
126
- &-xs
126
+ &.btn-xs
127
127
  @apply s("py-0.75") s("px-1.75") text-xs
128
128
 
129
129
  .btn-content
130
130
  @apply space-x-1
131
131
 
132
- &-xxs
132
+ &.btn-xxs
133
133
  @apply s("p-0.75") text-sm
134
134
 
135
135
  .btn-content
136
136
  @apply space-x-1
137
137
 
138
+ .icon.btn-icon
139
+ @apply text-sm leading-none
140
+
138
141
  &-white
139
142
  @apply bg-white border-white text-gray-2 s("hover:bg-white") s("hover:border-white")
140
143
 
@@ -292,7 +295,7 @@ export default defineComponent({
292
295
  @apply inline-flex items-center space-x-1
293
296
 
294
297
  .icon.btn-icon
295
- @apply text-xs
298
+ @apply inline-flex text-xs leading-none
296
299
 
297
300
  .btn-loading
298
301
  @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.32",
4
+ "version": "1.4.34",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",
@@ -18,6 +18,7 @@ module.exports = {
18
18
  },
19
19
  colors: {
20
20
  primary: {
21
+ 15: '#FAFAFD',
21
22
  25: '#F9F9FF',
22
23
  50: '#F3F4F8',
23
24
  100: '#E8EAF2',