@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 +5 -1
- package/components/SLButton.vue +9 -6
- package/package.json +1 -1
- package/tailwind.config.js +1 -0
package/app.vue
CHANGED
package/components/SLButton.vue
CHANGED
|
@@ -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
|
-
|
|
114
|
+
&.btn-lg
|
|
115
115
|
@apply s("px-7.75")
|
|
116
116
|
|
|
117
|
-
|
|
117
|
+
&.btn-md
|
|
118
118
|
@apply s("px-3.75")
|
|
119
119
|
|
|
120
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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