@rocket.chat/fuselage 0.6.3-dev.448 → 0.6.3-dev.450
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginatedSelectFiltered.d.ts","sourceRoot":"","sources":["../../../src/components/SelectPaginated/PaginatedSelectFiltered.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,GAAG,CAAC;AAI9C,aAAK,4BAA4B,GAAG,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"PaginatedSelectFiltered.d.ts","sourceRoot":"","sources":["../../../src/components/SelectPaginated/PaginatedSelectFiltered.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,GAAG,CAAC;AAI9C,aAAK,4BAA4B,GAAG,oBAAoB,CAAC;AAOzD,eAAO,MAAM,uBAAuB,uCAMjC,4BAA4B,gBAyC9B,CAAC"}
|
|
@@ -13306,11 +13306,12 @@ var PaginatedSelectFiltered = function (_a) {
|
|
|
13306
13306
|
// setFilter,
|
|
13307
13307
|
options = _a.options, placeholder = _a.placeholder, props = __rest(_a, ["options", "placeholder"]);
|
|
13308
13308
|
var _b = __read((0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(''), 2), filter = _b[0], setFilter = _b[1];
|
|
13309
|
+
var handleChange = (0,_rocket_chat_fuselage_hooks__WEBPACK_IMPORTED_MODULE_0__.useMutableCallback)(function (e) {
|
|
13310
|
+
setFilter(e.currentTarget.value);
|
|
13311
|
+
});
|
|
13309
13312
|
var anchor = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)((0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (_a, ref) {
|
|
13310
|
-
var _children = _a.children, filter = _a.filter,
|
|
13311
|
-
return (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_InputBox__WEBPACK_IMPORTED_MODULE_3__.InputBox.Input, __assign({ mi: 'x4', flexGrow: 1, className: 'rcx-select__focus', ref: ref, placeholder: placeholder, value: filter, onChange:
|
|
13312
|
-
setFilter(e.currentTarget.value);
|
|
13313
|
-
}) }, props, { "rcx-input-box--undecorated": true })));
|
|
13313
|
+
var _children = _a.children, filter = _a.filter, props = __rest(_a, ["children", "filter"]);
|
|
13314
|
+
return (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_InputBox__WEBPACK_IMPORTED_MODULE_3__.InputBox.Input, __assign({ mi: 'x4', flexGrow: 1, className: 'rcx-select__focus', ref: ref, placeholder: placeholder, value: filter, onChange: handleChange }, props, { "rcx-input-box--undecorated": true })));
|
|
13314
13315
|
}), []);
|
|
13315
13316
|
return (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(___WEBPACK_IMPORTED_MODULE_2__.PaginatedSelect, __assign({ placeholder: undefined, filter: filter, options: options }, props, { anchor: anchor })));
|
|
13316
13317
|
};
|
|
@@ -16270,7 +16271,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16270
16271
|
|
|
16271
16272
|
|
|
16272
16273
|
if (true) {
|
|
16273
|
-
console.log("fuselage: " + "0.31.
|
|
16274
|
+
console.log("fuselage: " + "0.31.5");
|
|
16274
16275
|
}
|
|
16275
16276
|
|
|
16276
16277
|
|