@pathscale/ui 0.0.59 → 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 +11 -15
- 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
|
};
|
|
@@ -8254,7 +8250,7 @@ const NavbarRow = (props)=>{
|
|
|
8254
8250
|
"dataTheme"
|
|
8255
8251
|
]);
|
|
8256
8252
|
const resolvedChildren = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.children)(()=>local.children);
|
|
8257
|
-
const classes = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>twMerge("flex items-center",
|
|
8253
|
+
const classes = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>twMerge("flex items-center", clsx({
|
|
8258
8254
|
"border-b border-gray-200": true === local.bordered,
|
|
8259
8255
|
"px-4 py-2": false !== local.padded,
|
|
8260
8256
|
"bg-base-100": !local.color || "ghost" === local.color,
|
|
@@ -8266,7 +8262,7 @@ const NavbarRow = (props)=>{
|
|
|
8266
8262
|
"bg-success text-success-content": "success" === local.color,
|
|
8267
8263
|
"bg-warning text-warning-content": "warning" === local.color,
|
|
8268
8264
|
"bg-error text-error-content": "error" === local.color
|
|
8269
|
-
})));
|
|
8265
|
+
}), local.class, local.className));
|
|
8270
8266
|
return (()=>{
|
|
8271
8267
|
var _el$ = NavbarRow_tmpl$();
|
|
8272
8268
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
|