@pathscale/ui 0.0.114 → 0.0.115
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
CHANGED
|
@@ -9397,7 +9397,7 @@ const DropdownDetails = Object.assign(Details, {
|
|
|
9397
9397
|
Toggle: DropdownToggle_Summary
|
|
9398
9398
|
});
|
|
9399
9399
|
var DropdownItem_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<li role=menuitem>"), DropdownItem_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<a>"), DropdownItem_tmpl$3 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<button>");
|
|
9400
|
-
const
|
|
9400
|
+
const DropdownItem = (props)=>{
|
|
9401
9401
|
const dropdownContext = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.useContext)(DropdownContext);
|
|
9402
9402
|
const defaultProps = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.mergeProps)({
|
|
9403
9403
|
closeOnClick: true
|
|
@@ -9439,7 +9439,7 @@ const DropdownItem_DropdownItem = (props)=>{
|
|
|
9439
9439
|
return _el$;
|
|
9440
9440
|
})();
|
|
9441
9441
|
};
|
|
9442
|
-
const
|
|
9442
|
+
const dropdown_DropdownItem = DropdownItem;
|
|
9443
9443
|
var DropdownMenu_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<ul>");
|
|
9444
9444
|
const DropdownMenu = (props)=>{
|
|
9445
9445
|
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
@@ -9545,6 +9545,7 @@ const Dropdown = (props)=>{
|
|
|
9545
9545
|
"fullWidth",
|
|
9546
9546
|
"dataTheme",
|
|
9547
9547
|
"style",
|
|
9548
|
+
"role",
|
|
9548
9549
|
"aria-label",
|
|
9549
9550
|
"aria-describedby",
|
|
9550
9551
|
"aria-expanded",
|
|
@@ -9573,7 +9574,7 @@ const Dropdown = (props)=>{
|
|
|
9573
9574
|
"function" == typeof _ref$ ? (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.use)(_ref$, _el$) : dropdownCtx.ref = _el$;
|
|
9574
9575
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
|
|
9575
9576
|
get role () {
|
|
9576
|
-
return local.item ? "combobox" : "listbox";
|
|
9577
|
+
return void 0 !== local.role ? local.role : local.item ? "combobox" : "listbox";
|
|
9577
9578
|
}
|
|
9578
9579
|
}, others, {
|
|
9579
9580
|
get ["data-theme"] () {
|
|
@@ -9640,7 +9641,7 @@ const dropdown_Dropdown = Object.assign(Dropdown, {
|
|
|
9640
9641
|
Details: DropdownDetails,
|
|
9641
9642
|
Toggle: dropdown_DropdownToggle,
|
|
9642
9643
|
Menu: dropdown_DropdownMenu,
|
|
9643
|
-
Item:
|
|
9644
|
+
Item: dropdown_DropdownItem
|
|
9644
9645
|
});
|
|
9645
9646
|
const dropdown = dropdown_Dropdown;
|
|
9646
9647
|
var FileInput_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<input>");
|