@pathscale/ui 1.2.4 → 1.2.6
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,7 +1,7 @@
|
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__ from "solid-js/web";
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__ from "solid-js";
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__ from "tailwind-merge";
|
|
4
|
-
var _tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<span class="inline-flex shrink-0"aria-hidden=true>'), _tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<span class="inline-flex items-center gap-1.5"><span>'), _tmpl$3 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<a class="underline-offset-4 transition hover:underline">')
|
|
4
|
+
var _tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<span class="inline-flex shrink-0"aria-hidden=true>'), _tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<span class="inline-flex items-center gap-1.5"><span>'), _tmpl$3 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div><a target=_blank rel="noopener noreferrer"class="underline-offset-4 transition hover:underline">');
|
|
5
5
|
const ALIGN_CLASS = {
|
|
6
6
|
left: "justify-start text-left",
|
|
7
7
|
center: "justify-center text-center",
|
|
@@ -23,7 +23,8 @@ const AuthPoweredBy_AuthPoweredBy = (props)=>{
|
|
|
23
23
|
"className",
|
|
24
24
|
"dataTheme"
|
|
25
25
|
]);
|
|
26
|
-
const label = ()=>local.label ?? "
|
|
26
|
+
const label = ()=>local.label ?? "Secure Auth by Honey";
|
|
27
|
+
const href = ()=>local.href ?? "https://honey.id/";
|
|
27
28
|
const content = ()=>(()=>{
|
|
28
29
|
var _el$ = _tmpl$2(), _el$3 = _el$.firstChild;
|
|
29
30
|
(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, {
|
|
@@ -40,7 +41,7 @@ const AuthPoweredBy_AuthPoweredBy = (props)=>{
|
|
|
40
41
|
return _el$;
|
|
41
42
|
})();
|
|
42
43
|
return (()=>{
|
|
43
|
-
var _el$4 = _tmpl$
|
|
44
|
+
var _el$4 = _tmpl$3(), _el$5 = _el$4.firstChild;
|
|
44
45
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$4, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, ()=>({
|
|
45
46
|
class: (0, __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__.twMerge)("flex w-full", ALIGN_CLASS[local.align ?? "center"], VARIANT_CLASS[local.variant ?? "subtle"], local.class, local.className)
|
|
46
47
|
}), {
|
|
@@ -49,20 +50,8 @@ const AuthPoweredBy_AuthPoweredBy = (props)=>{
|
|
|
49
50
|
},
|
|
50
51
|
"data-slot": "auth-powered-by"
|
|
51
52
|
}), false, true);
|
|
52
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$
|
|
53
|
-
|
|
54
|
-
return local.href;
|
|
55
|
-
},
|
|
56
|
-
get fallback () {
|
|
57
|
-
return content();
|
|
58
|
-
},
|
|
59
|
-
get children () {
|
|
60
|
-
var _el$5 = _tmpl$3();
|
|
61
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$5, content);
|
|
62
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$5, "href", local.href));
|
|
63
|
-
return _el$5;
|
|
64
|
-
}
|
|
65
|
-
}));
|
|
53
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$5, content);
|
|
54
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$5, "href", href()));
|
|
66
55
|
return _el$4;
|
|
67
56
|
})();
|
|
68
57
|
};
|