@pathscale/ui 0.0.57 → 0.0.59
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 +45 -18
- package/dist/styles/icons/generated-icons.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3623,12 +3623,14 @@ const Alert = (props)=>{
|
|
|
3623
3623
|
"class",
|
|
3624
3624
|
"className",
|
|
3625
3625
|
"style",
|
|
3626
|
+
"children",
|
|
3626
3627
|
"aria-atomic",
|
|
3627
3628
|
"aria-live",
|
|
3628
3629
|
"aria-relevant",
|
|
3629
3630
|
"aria-label",
|
|
3630
3631
|
"aria-labelledby"
|
|
3631
3632
|
]);
|
|
3633
|
+
const resolvedChildren = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.children)(()=>local.children);
|
|
3632
3634
|
const classes = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>twMerge("alert", local.class, local.className, clsx({
|
|
3633
3635
|
"alert-vertical": "vertical" === local.layout,
|
|
3634
3636
|
"alert-horizontal": "horizontal" === local.layout,
|
|
@@ -3674,7 +3676,7 @@ const Alert = (props)=>{
|
|
|
3674
3676
|
}
|
|
3675
3677
|
}), false, true);
|
|
3676
3678
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, ()=>local.icon, null);
|
|
3677
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$,
|
|
3679
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, resolvedChildren, null);
|
|
3678
3680
|
return _el$;
|
|
3679
3681
|
})();
|
|
3680
3682
|
};
|
|
@@ -7242,7 +7244,6 @@ function ValidatedForm_ValidatedForm(props) {
|
|
|
7242
7244
|
],
|
|
7243
7245
|
onSubmit: local.onSubmit
|
|
7244
7246
|
});
|
|
7245
|
-
const resolvedChildren = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.children)(()=>local.children);
|
|
7246
7247
|
const contextValue = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>({
|
|
7247
7248
|
errors,
|
|
7248
7249
|
touched,
|
|
@@ -7258,7 +7259,7 @@ function ValidatedForm_ValidatedForm(props) {
|
|
|
7258
7259
|
return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(form_Form, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
|
|
7259
7260
|
ref: form,
|
|
7260
7261
|
get children () {
|
|
7261
|
-
return
|
|
7262
|
+
return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.memo)(()=>"function" == typeof local.children)() ? local.children() : local.children;
|
|
7262
7263
|
}
|
|
7263
7264
|
}));
|
|
7264
7265
|
}
|
|
@@ -7715,32 +7716,58 @@ const Link = (props)=>{
|
|
|
7715
7716
|
"color",
|
|
7716
7717
|
"hover",
|
|
7717
7718
|
"class",
|
|
7718
|
-
"
|
|
7719
|
+
"className",
|
|
7720
|
+
"dataTheme",
|
|
7721
|
+
"style",
|
|
7722
|
+
"asChild",
|
|
7723
|
+
"aria-current",
|
|
7724
|
+
"aria-label",
|
|
7725
|
+
"aria-describedby"
|
|
7719
7726
|
]);
|
|
7720
|
-
const
|
|
7721
|
-
|
|
7722
|
-
|
|
7723
|
-
|
|
7724
|
-
|
|
7725
|
-
|
|
7726
|
-
|
|
7727
|
-
|
|
7728
|
-
|
|
7729
|
-
|
|
7730
|
-
|
|
7727
|
+
const resolvedChildren = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.children)(()=>local.children);
|
|
7728
|
+
const classes = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>twMerge("link", dist_clsx({
|
|
7729
|
+
"link-hover": false !== local.hover,
|
|
7730
|
+
"link-neutral": "neutral" === local.color,
|
|
7731
|
+
"link-primary": "primary" === local.color,
|
|
7732
|
+
"link-secondary": "secondary" === local.color,
|
|
7733
|
+
"link-accent": "accent" === local.color,
|
|
7734
|
+
"link-info": "info" === local.color,
|
|
7735
|
+
"link-success": "success" === local.color,
|
|
7736
|
+
"link-warning": "warning" === local.color,
|
|
7737
|
+
"link-error": "error" === local.color,
|
|
7738
|
+
"link-ghost": "ghost" === local.color
|
|
7739
|
+
}), local.class, local.className));
|
|
7740
|
+
const ariaCurrent = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>local["aria-current"]);
|
|
7741
|
+
const ariaLabel = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>local["aria-label"]);
|
|
7742
|
+
const ariaDescribedby = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>local["aria-describedby"]);
|
|
7743
|
+
if (local.asChild) return resolvedChildren();
|
|
7731
7744
|
return (()=>{
|
|
7732
7745
|
var _el$ = Link_tmpl$();
|
|
7733
7746
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(rest, {
|
|
7734
7747
|
get href () {
|
|
7735
7748
|
return local.href;
|
|
7736
7749
|
},
|
|
7737
|
-
class
|
|
7750
|
+
get ["class"] () {
|
|
7751
|
+
return classes();
|
|
7752
|
+
},
|
|
7753
|
+
get style () {
|
|
7754
|
+
return local.style;
|
|
7755
|
+
},
|
|
7738
7756
|
get ["data-theme"] () {
|
|
7739
|
-
return local
|
|
7757
|
+
return local.dataTheme;
|
|
7758
|
+
},
|
|
7759
|
+
get ["aria-current"] () {
|
|
7760
|
+
return ariaCurrent();
|
|
7761
|
+
},
|
|
7762
|
+
get ["aria-label"] () {
|
|
7763
|
+
return ariaLabel();
|
|
7764
|
+
},
|
|
7765
|
+
get ["aria-describedby"] () {
|
|
7766
|
+
return ariaDescribedby();
|
|
7740
7767
|
},
|
|
7741
7768
|
rel: "noopener noreferrer"
|
|
7742
7769
|
}), false, true);
|
|
7743
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$,
|
|
7770
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, resolvedChildren);
|
|
7744
7771
|
return _el$;
|
|
7745
7772
|
})();
|
|
7746
7773
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.iconify{background-color:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}.iconify,.iconify-color{display:inline-block;height:1em;width:1em}.iconify-color{background-repeat:no-repeat;background-size:100% 100%}.icon-[mdi-light--chevron-left]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M14.41 18.16 8.75 12.5l5.66-5.66.7.71-4.95 4.95 4.95 4.95z'/%3E%3C/svg%3E")}.icon-[mdi-light--chevron-left].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi-light--chevron-left].iconify-color{background-image:var(--svg)}.icon-[mdi-light--chevron-right]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='m8.59 18.16 5.66-5.66-5.66-5.66-.7.71 4.95 4.95-4.95 4.95z'/%3E%3C/svg%3E")}.icon-[mdi-light--chevron-right].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi-light--chevron-right].iconify-color{background-image:var(--svg)}
|
|
1
|
+
.iconify{background-color:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}.iconify,.iconify-color{display:inline-block;height:1em;width:1em}.iconify-color{background-repeat:no-repeat;background-size:100% 100%}.icon-[mdi-light--chevron-left]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M14.41 18.16 8.75 12.5l5.66-5.66.7.71-4.95 4.95 4.95 4.95z'/%3E%3C/svg%3E")}.icon-[mdi-light--chevron-left].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi-light--chevron-left].iconify-color{background-image:var(--svg)}.icon-[mdi-light--chevron-right]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='m8.59 18.16 5.66-5.66-5.66-5.66-.7.71 4.95 4.95-4.95 4.95z'/%3E%3C/svg%3E")}.icon-[mdi-light--chevron-right].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi-light--chevron-right].iconify-color{background-image:var(--svg)}
|