@pathscale/ui 0.0.60 → 0.0.61
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 +9 -13
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7548,7 +7548,7 @@ const IndicatorItem = (props)=>{
|
|
|
7548
7548
|
const indicator_Indicator = Object.assign(Indicator, {
|
|
7549
7549
|
Item: IndicatorItem
|
|
7550
7550
|
});
|
|
7551
|
-
var Input_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<span>"), Input_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)(
|
|
7551
|
+
var Input_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<span>"), Input_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<label class="flex items-center gap-2 w-full"><input>');
|
|
7552
7552
|
const Input = (props)=>{
|
|
7553
7553
|
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
7554
7554
|
"size",
|
|
@@ -7571,7 +7571,7 @@ const Input = (props)=>{
|
|
|
7571
7571
|
if ("password" === local.type) return passwordVisible() ? "text" : "password";
|
|
7572
7572
|
return local.type;
|
|
7573
7573
|
});
|
|
7574
|
-
const classes = ()=>twMerge("input", local.class, local.className, clsx({
|
|
7574
|
+
const classes = ()=>twMerge("input input-bordered w-full focus:outline-none focus:ring-1 focus:ring-primary", local.class, local.className, clsx({
|
|
7575
7575
|
"input-xl": "xl" === local.size,
|
|
7576
7576
|
"input-lg": "lg" === local.size,
|
|
7577
7577
|
"input-md": "md" === local.size,
|
|
@@ -7614,6 +7614,12 @@ const Input = (props)=>{
|
|
|
7614
7614
|
},
|
|
7615
7615
|
get placeholder () {
|
|
7616
7616
|
return local["placeholder"];
|
|
7617
|
+
},
|
|
7618
|
+
get style () {
|
|
7619
|
+
return local.style;
|
|
7620
|
+
},
|
|
7621
|
+
get ["class"] () {
|
|
7622
|
+
return classes();
|
|
7617
7623
|
}
|
|
7618
7624
|
}), false, false);
|
|
7619
7625
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.Show, {
|
|
@@ -7640,17 +7646,7 @@ const Input = (props)=>{
|
|
|
7640
7646
|
return _el$3;
|
|
7641
7647
|
}
|
|
7642
7648
|
}), null);
|
|
7643
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((
|
|
7644
|
-
var _v$5 = classes(), _v$6 = local.style, _v$7 = local.dataTheme;
|
|
7645
|
-
_v$5 !== _p$.e && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$, _p$.e = _v$5);
|
|
7646
|
-
_p$.t = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.style)(_el$, _v$6, _p$.t);
|
|
7647
|
-
_v$7 !== _p$.a && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$, "data-theme", _p$.a = _v$7);
|
|
7648
|
-
return _p$;
|
|
7649
|
-
}, {
|
|
7650
|
-
e: void 0,
|
|
7651
|
-
t: void 0,
|
|
7652
|
-
a: void 0
|
|
7653
|
-
});
|
|
7649
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$, "data-theme", local.dataTheme));
|
|
7654
7650
|
return _el$;
|
|
7655
7651
|
})();
|
|
7656
7652
|
};
|