srcdev-nuxt-forms 6.1.12 → 6.1.13
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="triple-toggle-switch" :data-size="size" :data-theme="theme">
|
|
2
|
+
<div class="triple-toggle-switch" :class="[elementClasses]" :data-size="size" :data-theme="theme">
|
|
3
3
|
<div class="triple-toggle-switch-wrapper">
|
|
4
4
|
<div class="selected-option-marker-wrapper">
|
|
5
5
|
<div class="selected-option-marker" :class="[{ show: showMarker }]"></div>
|
|
@@ -35,7 +35,7 @@ import propValidators from "../../forms/c12/prop-validators"
|
|
|
35
35
|
const props = defineProps({
|
|
36
36
|
name: {
|
|
37
37
|
type: String,
|
|
38
|
-
|
|
38
|
+
default: "triple-toggle-switch",
|
|
39
39
|
},
|
|
40
40
|
size: {
|
|
41
41
|
type: String as PropType<string>,
|
|
@@ -62,6 +62,7 @@ const props = defineProps({
|
|
|
62
62
|
})
|
|
63
63
|
|
|
64
64
|
const modelValue = defineModel()
|
|
65
|
+
const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough)
|
|
65
66
|
|
|
66
67
|
const fieldData = defineModel("fieldData") as Ref<IFormMultipleOptions>
|
|
67
68
|
|
|
@@ -200,7 +201,7 @@ onMounted(() => {
|
|
|
200
201
|
grid-template-areas: "icon-stack";
|
|
201
202
|
place-content: center;
|
|
202
203
|
background: transparent;
|
|
203
|
-
border: var(--form-element-border-width) solid #ffffff50;
|
|
204
|
+
border: var(--form-element-border-width) solid light-dark(#00000025, #ffffff50);
|
|
204
205
|
outline: var(--form-element-outline-width) solid transparent;
|
|
205
206
|
border-radius: 50%;
|
|
206
207
|
padding: var(--_select-scheme-group-padding);
|
package/package.json
CHANGED