@dpa-id-components/dpa-shared-components 9.1.1 → 9.1.2
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.
|
@@ -17897,7 +17897,7 @@ const Xb = {
|
|
|
17897
17897
|
},
|
|
17898
17898
|
emits: ["update:modelValue"],
|
|
17899
17899
|
setup(e) {
|
|
17900
|
-
const t = ne(`toggle-id-${xl()}`), a = e, r = H(() => a.labelPosition === "left" ? a.labelSpace === "default" ? "mr-3" : "mr-12" : a.labelSpace === "default" ? "ml-3" : "ml-12"), n = H(() => a.labelPosition === "left"), o = H(() => a.color === "blue" ? "bg-blue-default" : "bg-primary
|
|
17900
|
+
const t = ne(`toggle-id-${xl()}`), a = e, r = H(() => a.labelPosition === "left" ? a.labelSpace === "default" ? "mr-3" : "mr-12" : a.labelSpace === "default" ? "ml-3" : "ml-12"), n = H(() => a.labelPosition === "left"), o = H(() => a.color === "blue" ? "bg-blue-default" : "bg-green-primary"), i = H(() => a.size === "small" ? "h-3 w-6" : "h-4 w-10"), l = H(() => a.size === "small" ? "h-4 w-4 top-[-2px]" : "h-6 w-6 top-[-4px]");
|
|
17901
17901
|
return (s, u) => (M(), z("div", null, [
|
|
17902
17902
|
te("label", {
|
|
17903
17903
|
for: t.value,
|