@pathscale/ui 0.0.63 → 0.0.64
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/LICENSE +1 -0
- package/dist/index.js +14 -8
- package/package.json +1 -1
package/LICENSE
CHANGED
package/dist/index.js
CHANGED
|
@@ -6868,6 +6868,7 @@ const Dropdown_classesFn = ({ className, horizontal, vertical, end, hover, open
|
|
|
6868
6868
|
const Dropdown = (props)=>{
|
|
6869
6869
|
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
6870
6870
|
"children",
|
|
6871
|
+
"class",
|
|
6871
6872
|
"className",
|
|
6872
6873
|
"item",
|
|
6873
6874
|
"horizontal",
|
|
@@ -6876,20 +6877,22 @@ const Dropdown = (props)=>{
|
|
|
6876
6877
|
"hover",
|
|
6877
6878
|
"open",
|
|
6878
6879
|
"dataTheme",
|
|
6880
|
+
"style",
|
|
6879
6881
|
"aria-label",
|
|
6880
6882
|
"aria-describedby",
|
|
6881
6883
|
"aria-expanded",
|
|
6882
6884
|
"aria-haspopup",
|
|
6883
6885
|
"aria-labelledby"
|
|
6884
6886
|
]);
|
|
6885
|
-
const classes = ()=>
|
|
6886
|
-
|
|
6887
|
-
|
|
6888
|
-
|
|
6889
|
-
|
|
6890
|
-
|
|
6891
|
-
|
|
6892
|
-
|
|
6887
|
+
const classes = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>twMerge("dropdown", local.class, local.className, clsx({
|
|
6888
|
+
"dropdown-left": "left" === local.horizontal,
|
|
6889
|
+
"dropdown-right": "right" === local.horizontal,
|
|
6890
|
+
"dropdown-top": "top" === local.vertical,
|
|
6891
|
+
"dropdown-bottom": "bottom" === local.vertical,
|
|
6892
|
+
"dropdown-end": local.end,
|
|
6893
|
+
"dropdown-hover": local.hover,
|
|
6894
|
+
"dropdown-open": local.open
|
|
6895
|
+
})));
|
|
6893
6896
|
return (()=>{
|
|
6894
6897
|
var _el$ = Dropdown_tmpl$3();
|
|
6895
6898
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
|
|
@@ -6903,6 +6906,9 @@ const Dropdown = (props)=>{
|
|
|
6903
6906
|
get ["class"] () {
|
|
6904
6907
|
return classes();
|
|
6905
6908
|
},
|
|
6909
|
+
get style () {
|
|
6910
|
+
return local.style;
|
|
6911
|
+
},
|
|
6906
6912
|
get ["aria-label"] () {
|
|
6907
6913
|
return local["aria-label"];
|
|
6908
6914
|
},
|