@mptw/skylens-ui 1.4.45 → 1.4.46

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.
@@ -57,7 +57,7 @@ export default defineComponent({
57
57
  color: {
58
58
  type: String,
59
59
  default: "",
60
- validator: (val: string) => ["", "primary-600"].includes(val),
60
+ validator: (val: string) => ["", "primary-600", "primary"].includes(val),
61
61
  },
62
62
  },
63
63
  emits: ["update:modelValue"],
@@ -202,6 +202,11 @@ export default defineComponent({
202
202
  input:checked + label
203
203
  @apply bg-primary-600 border-primary
204
204
 
205
+ &.ios-switch-primary
206
+ label
207
+ .false-label
208
+ @apply text-primary
209
+
205
210
  input
206
211
  @apply absolute s('left-1/2') s('top-1/2') transform s('-translate-x-1/2') s('-translate-y-1/2')
207
212
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mptw/skylens-ui",
3
3
  "type": "module",
4
- "version": "1.4.45",
4
+ "version": "1.4.46",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",