@nexxtmove/ui 0.1.59 → 0.1.60
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/dist/index.js
CHANGED
|
@@ -4341,7 +4341,7 @@ const IZ = { key: 0 }, Vx = /* @__PURE__ */ W({
|
|
|
4341
4341
|
i.required ? (o(), e("span", AZ, "*")) : F("", !0)
|
|
4342
4342
|
], 8, EZ)) : F("", !0),
|
|
4343
4343
|
E("div", {
|
|
4344
|
-
class: N(["flex items-center gap-2 overflow-hidden rounded-lg ring transition-colors ease-out focus-within:ring-cornflower-blue-500", [i.error ? "ring-brick-400" : "ring-gray-200", { "
|
|
4344
|
+
class: N(["flex items-center gap-2 overflow-hidden rounded-lg ring transition-colors ease-out focus-within:ring-cornflower-blue-500", [i.error ? "ring-brick-400" : "ring-gray-200", { "pl-3": i.leftIcon, "pr-3": i.rightIcon }]])
|
|
4345
4345
|
}, [
|
|
4346
4346
|
i.leftIcon ? (o(), e("span", jZ, [
|
|
4347
4347
|
U(O, { name: i.leftIcon }, null, 8, ["name"])
|
package/package.json
CHANGED
|
@@ -36,7 +36,7 @@ const modelValue = defineModel<string>()
|
|
|
36
36
|
|
|
37
37
|
<div
|
|
38
38
|
class="flex items-center gap-2 overflow-hidden rounded-lg ring transition-colors ease-out focus-within:ring-cornflower-blue-500"
|
|
39
|
-
:class="[error ? 'ring-brick-400' : 'ring-gray-200', { '
|
|
39
|
+
:class="[error ? 'ring-brick-400' : 'ring-gray-200', { 'pl-3': leftIcon, 'pr-3': rightIcon }]"
|
|
40
40
|
>
|
|
41
41
|
<span v-if="leftIcon" class="flex items-center">
|
|
42
42
|
<Icon :name="leftIcon" />
|