@rocket.chat/fuselage 0.32.0-dev.120 → 0.32.0-dev.123
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":"DropdownDesktop.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/DropdownDesktop.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAO,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,KAAqB,MAAM,OAAO,CAAC;AAI1C,eAAO,MAAM,eAAe;;gBAUZ,WAAW,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC;cAChD,SAAS;
|
|
1
|
+
{"version":3,"file":"DropdownDesktop.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/DropdownDesktop.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAO,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,KAAqB,MAAM,OAAO,CAAC;AAI1C,eAAO,MAAM,eAAe;;gBAUZ,WAAW,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC;cAChD,SAAS;qCAuBrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMobile.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/DropdownMobile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAO,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAqB,MAAM,OAAO,CAAC;AAI1C,eAAO,MAAM,cAAc;cAMb,SAAS;
|
|
1
|
+
{"version":3,"file":"DropdownMobile.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/DropdownMobile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAO,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAqB,MAAM,OAAO,CAAC;AAI1C,eAAO,MAAM,cAAc;cAMb,SAAS;qCAyBrB,CAAC"}
|
|
@@ -6039,7 +6039,7 @@ var CodeSnippet = function (_a) {
|
|
|
6039
6039
|
var children = _a.children, onClick = _a.onClick, _b = _a.buttonText, buttonText = _b === void 0 ? 'Copy' : _b, props = __rest(_a, ["children", "onClick", "buttonText"]);
|
|
6040
6040
|
if (!children) {
|
|
6041
6041
|
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Box__WEBPACK_IMPORTED_MODULE_1__["default"], __assign({ is: 'pre', "rcx-code-snippet": true }, props),
|
|
6042
|
-
react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Skeleton__WEBPACK_IMPORTED_MODULE_3__.Skeleton, { w: '100%' })));
|
|
6042
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Skeleton__WEBPACK_IMPORTED_MODULE_3__.Skeleton, { w: '100%', "aria-hidden": true, "aria-busy": true })));
|
|
6043
6043
|
}
|
|
6044
6044
|
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Box__WEBPACK_IMPORTED_MODULE_1__["default"], __assign({ is: 'pre', "rcx-code-snippet": true }, props),
|
|
6045
6045
|
react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Box__WEBPACK_IMPORTED_MODULE_1__["default"], { "rcx-code-snippet__codebox": true },
|
|
@@ -6185,7 +6185,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6185
6185
|
var DropdownDesktop = (0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function DropdownDesktop(_a, ref) {
|
|
6186
6186
|
var children = _a.children, reference = _a.reference, _b = _a.placement, placement = _b === void 0 ? 'bottom-start' : _b;
|
|
6187
6187
|
var style = (0,_rocket_chat_fuselage_hooks__WEBPACK_IMPORTED_MODULE_0__.usePosition)(reference, ref, { placement: placement }).style;
|
|
6188
|
-
return (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(___WEBPACK_IMPORTED_MODULE_2__.Tile, { style: style, ref: ref, elevation: '2', pi: '0', pb: '0', display: 'flex', flexDirection: 'column', overflow: 'auto' },
|
|
6188
|
+
return (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(___WEBPACK_IMPORTED_MODULE_2__.Tile, { style: style, ref: ref, elevation: '2', pi: '0', pb: '0', display: 'flex', flexDirection: 'column', overflow: 'auto', "data-testid": 'dropdown' },
|
|
6189
6189
|
react__WEBPACK_IMPORTED_MODULE_1___default().createElement(___WEBPACK_IMPORTED_MODULE_2__.Box, { flexShrink: 1, pb: 'x12' }, children)));
|
|
6190
6190
|
});
|
|
6191
6191
|
|
|
@@ -6210,7 +6210,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6210
6210
|
|
|
6211
6211
|
var DropdownMobile = (0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function DropdownMobile(_a, ref) {
|
|
6212
6212
|
var children = _a.children;
|
|
6213
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(___WEBPACK_IMPORTED_MODULE_1__.Tile, { ref: ref, elevation: '2', pi: '0', pb: '0', w: '100%', maxHeight: '80%', position: 'fixed', display: 'flex', flexDirection: 'column', overflow: 'auto', style: { bottom: 0, left: 0 }, zIndex: 2 },
|
|
6213
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(___WEBPACK_IMPORTED_MODULE_1__.Tile, { ref: ref, elevation: '2', pi: '0', pb: '0', w: '100%', maxHeight: '80%', position: 'fixed', display: 'flex', flexDirection: 'column', overflow: 'auto', style: { bottom: 0, left: 0 }, zIndex: 2, "data-testid": 'dropdown' },
|
|
6214
6214
|
react__WEBPACK_IMPORTED_MODULE_0___default().createElement(___WEBPACK_IMPORTED_MODULE_1__.Box, { flexShrink: 1, pb: 'x16' }, children)));
|
|
6215
6215
|
});
|
|
6216
6216
|
|