indicator-ui 0.0.379 → 0.0.381
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
|
@@ -47864,6 +47864,7 @@ function useBackdropModal() {
|
|
|
47864
47864
|
}
|
|
47865
47865
|
return {
|
|
47866
47866
|
isShow: isShow,
|
|
47867
|
+
getIsShow: getIsShow,
|
|
47867
47868
|
open: open,
|
|
47868
47869
|
close: close,
|
|
47869
47870
|
switching: switching,
|
|
@@ -47981,6 +47982,7 @@ function useModal() {
|
|
|
47981
47982
|
}
|
|
47982
47983
|
return {
|
|
47983
47984
|
isShow: isShow,
|
|
47985
|
+
getIsShow: getIsShow,
|
|
47984
47986
|
open: open,
|
|
47985
47987
|
close: close,
|
|
47986
47988
|
switching: switching,
|
|
@@ -55933,7 +55935,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
55933
55935
|
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/ui */ "./src/ui/index.ts");
|
|
55934
55936
|
/* harmony import */ var _styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../styles */ "./src/ui/Dropdown/styles/index.ts");
|
|
55935
55937
|
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/clsx/dist/clsx.mjs");
|
|
55936
|
-
var _excluded = ["items", "title", "size", "onClick", "width", "isActive", "className", "
|
|
55938
|
+
var _excluded = ["items", "title", "size", "onClick", "width", "isActive", "className", "styles"];
|
|
55937
55939
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
55938
55940
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
55939
55941
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -55958,8 +55960,8 @@ var _Dropdown = function _Dropdown(props, ref) {
|
|
|
55958
55960
|
width = _props$width === void 0 ? 'fill' : _props$width,
|
|
55959
55961
|
isActive = props.isActive,
|
|
55960
55962
|
className = props.className,
|
|
55961
|
-
_props$
|
|
55962
|
-
|
|
55963
|
+
_props$styles = props.styles,
|
|
55964
|
+
styles = _props$styles === void 0 ? {} : _props$styles,
|
|
55963
55965
|
anotherProps = _objectWithoutProperties(props, _excluded);
|
|
55964
55966
|
var getStyle = function getStyle() {
|
|
55965
55967
|
var resWidth;
|
|
@@ -55972,7 +55974,7 @@ var _Dropdown = function _Dropdown(props, ref) {
|
|
|
55972
55974
|
}
|
|
55973
55975
|
return _objectSpread({
|
|
55974
55976
|
width: resWidth
|
|
55975
|
-
},
|
|
55977
|
+
}, styles);
|
|
55976
55978
|
};
|
|
55977
55979
|
var getValue = function getValue(curItem) {
|
|
55978
55980
|
if (_typeof(curItem) === 'object' && 'value' in curItem) {
|