@rocket.chat/fuselage 0.55.1 → 0.56.0
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/components/Contextualbar/ContextualbarHeader.d.ts.map +1 -1
- package/dist/components/Contextualbar/ContextualbarSection.d.ts.map +1 -1
- package/dist/components/ContextualbarV2/Contextualbar.d.ts +10 -0
- package/dist/components/ContextualbarV2/Contextualbar.d.ts.map +1 -0
- package/dist/components/ContextualbarV2/ContextualbarAction.d.ts +10 -0
- package/dist/components/ContextualbarV2/ContextualbarAction.d.ts.map +1 -0
- package/dist/components/ContextualbarV2/ContextualbarActions.d.ts +12 -0
- package/dist/components/ContextualbarV2/ContextualbarActions.d.ts.map +1 -0
- package/dist/components/ContextualbarV2/ContextualbarButton.d.ts +27 -0
- package/dist/components/ContextualbarV2/ContextualbarButton.d.ts.map +1 -0
- package/dist/components/ContextualbarV2/ContextualbarContent.d.ts +10 -0
- package/dist/components/ContextualbarV2/ContextualbarContent.d.ts.map +1 -0
- package/dist/components/ContextualbarV2/ContextualbarEmptyContent.d.ts +12 -0
- package/dist/components/ContextualbarV2/ContextualbarEmptyContent.d.ts.map +1 -0
- package/dist/components/ContextualbarV2/ContextualbarFooter.d.ts +10 -0
- package/dist/components/ContextualbarV2/ContextualbarFooter.d.ts.map +1 -0
- package/dist/components/ContextualbarV2/ContextualbarHeader.d.ts +10 -0
- package/dist/components/ContextualbarV2/ContextualbarHeader.d.ts.map +1 -0
- package/dist/components/ContextualbarV2/ContextualbarIcon.d.ts +14 -0
- package/dist/components/ContextualbarV2/ContextualbarIcon.d.ts.map +1 -0
- package/dist/components/ContextualbarV2/ContextualbarSection.d.ts +10 -0
- package/dist/components/ContextualbarV2/ContextualbarSection.d.ts.map +1 -0
- package/dist/components/ContextualbarV2/ContextualbarSkeleton.d.ts +11 -0
- package/dist/components/ContextualbarV2/ContextualbarSkeleton.d.ts.map +1 -0
- package/dist/components/ContextualbarV2/ContextualbarTitle.d.ts +11 -0
- package/dist/components/ContextualbarV2/ContextualbarTitle.d.ts.map +1 -0
- package/dist/components/ContextualbarV2/index.d.ts +14 -0
- package/dist/components/ContextualbarV2/index.d.ts.map +1 -0
- package/dist/components/Menu/V2/Menu.d.ts +4 -1
- package/dist/components/Menu/V2/Menu.d.ts.map +1 -1
- package/dist/components/Menu/V2/index.d.ts +2 -2
- package/dist/components/Menu/V2/index.d.ts.map +1 -1
- package/dist/components/Menu/V2/stately/MenuItem.d.ts +8 -0
- package/dist/components/Menu/V2/stately/MenuItem.d.ts.map +1 -0
- package/dist/components/Menu/V2/stately/MenuSection.d.ts +8 -0
- package/dist/components/Menu/V2/stately/MenuSection.d.ts.map +1 -0
- package/dist/components/Menu/V2/stately/PartialNode.d.ts +18 -0
- package/dist/components/Menu/V2/stately/PartialNode.d.ts.map +1 -0
- package/dist/components/Sidebar/TopBar/TopBarV2.d.ts +8 -0
- package/dist/components/Sidebar/TopBar/TopBarV2.d.ts.map +1 -0
- package/dist/components/Sidebar/TopBar/index.d.ts +1 -0
- package/dist/components/Sidebar/TopBar/index.d.ts.map +1 -1
- package/dist/components/Table/Table.d.ts +1 -2
- package/dist/components/Table/Table.d.ts.map +1 -1
- package/dist/components/Table/{TableSelection.d.ts → TableSelection/TableSelection.d.ts} +1 -1
- package/dist/components/Table/TableSelection/TableSelection.d.ts.map +1 -0
- package/dist/components/Table/TableSelection/TableSelectionButton.d.ts +6 -0
- package/dist/components/Table/TableSelection/TableSelectionButton.d.ts.map +1 -0
- package/dist/components/Table/TableSelection/TableSelectionButtonGroup.d.ts +4 -0
- package/dist/components/Table/TableSelection/TableSelectionButtonGroup.d.ts.map +1 -0
- package/dist/components/Table/TableSelection/index.d.ts +4 -0
- package/dist/components/Table/TableSelection/index.d.ts.map +1 -0
- package/dist/components/Table/index.d.ts +0 -1
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/fuselage.css +1 -1
- package/dist/fuselage.css.map +1 -1
- package/dist/fuselage.development.js +1201 -79
- package/dist/fuselage.development.js.map +1 -1
- package/dist/fuselage.production.js +1 -1
- package/package.json +1 -1
- package/dist/components/Table/TableSelection.d.ts.map +0 -1
- package/dist/components/Table/TableSelectionButton.d.ts +0 -6
- package/dist/components/Table/TableSelectionButton.d.ts.map +0 -1
|
@@ -4136,6 +4136,742 @@ exports["default"] = (0, react_1.memo)(ContextualbarEmptyContent);
|
|
|
4136
4136
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4137
4137
|
|
|
4138
4138
|
|
|
4139
|
+
var __assign = (this && this.__assign) || function () {
|
|
4140
|
+
__assign = Object.assign || function(t) {
|
|
4141
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4142
|
+
s = arguments[i];
|
|
4143
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
4144
|
+
t[p] = s[p];
|
|
4145
|
+
}
|
|
4146
|
+
return t;
|
|
4147
|
+
};
|
|
4148
|
+
return __assign.apply(this, arguments);
|
|
4149
|
+
};
|
|
4150
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4151
|
+
if (k2 === undefined) k2 = k;
|
|
4152
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
4153
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
4154
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
4155
|
+
}
|
|
4156
|
+
Object.defineProperty(o, k2, desc);
|
|
4157
|
+
}) : (function(o, m, k, k2) {
|
|
4158
|
+
if (k2 === undefined) k2 = k;
|
|
4159
|
+
o[k2] = m[k];
|
|
4160
|
+
}));
|
|
4161
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
4162
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
4163
|
+
}) : function(o, v) {
|
|
4164
|
+
o["default"] = v;
|
|
4165
|
+
});
|
|
4166
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
4167
|
+
if (mod && mod.__esModule) return mod;
|
|
4168
|
+
var result = {};
|
|
4169
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
4170
|
+
__setModuleDefault(result, mod);
|
|
4171
|
+
return result;
|
|
4172
|
+
};
|
|
4173
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
4174
|
+
var t = {};
|
|
4175
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4176
|
+
t[p] = s[p];
|
|
4177
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
4178
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
4179
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
4180
|
+
t[p[i]] = s[p[i]];
|
|
4181
|
+
}
|
|
4182
|
+
return t;
|
|
4183
|
+
};
|
|
4184
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4185
|
+
var react_1 = __importStar(__webpack_require__(/*! react */ "react"));
|
|
4186
|
+
var __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
|
|
4187
|
+
var ContextualbarFooter = (0, react_1.forwardRef)(function ContextualbarFooter(_a, ref) {
|
|
4188
|
+
var children = _a.children, props = __rest(_a, ["children"]);
|
|
4189
|
+
return (react_1.default.createElement(__1.Box, __assign({ ref: ref, p: 24 }, props), children));
|
|
4190
|
+
});
|
|
4191
|
+
exports["default"] = (0, react_1.memo)(ContextualbarFooter);
|
|
4192
|
+
|
|
4193
|
+
|
|
4194
|
+
/***/ }),
|
|
4195
|
+
|
|
4196
|
+
/***/ "./src/components/Contextualbar/ContextualbarHeader.tsx":
|
|
4197
|
+
/*!**************************************************************!*\
|
|
4198
|
+
!*** ./src/components/Contextualbar/ContextualbarHeader.tsx ***!
|
|
4199
|
+
\**************************************************************/
|
|
4200
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4201
|
+
|
|
4202
|
+
|
|
4203
|
+
var __assign = (this && this.__assign) || function () {
|
|
4204
|
+
__assign = Object.assign || function(t) {
|
|
4205
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4206
|
+
s = arguments[i];
|
|
4207
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
4208
|
+
t[p] = s[p];
|
|
4209
|
+
}
|
|
4210
|
+
return t;
|
|
4211
|
+
};
|
|
4212
|
+
return __assign.apply(this, arguments);
|
|
4213
|
+
};
|
|
4214
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4215
|
+
if (k2 === undefined) k2 = k;
|
|
4216
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
4217
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
4218
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
4219
|
+
}
|
|
4220
|
+
Object.defineProperty(o, k2, desc);
|
|
4221
|
+
}) : (function(o, m, k, k2) {
|
|
4222
|
+
if (k2 === undefined) k2 = k;
|
|
4223
|
+
o[k2] = m[k];
|
|
4224
|
+
}));
|
|
4225
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
4226
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
4227
|
+
}) : function(o, v) {
|
|
4228
|
+
o["default"] = v;
|
|
4229
|
+
});
|
|
4230
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
4231
|
+
if (mod && mod.__esModule) return mod;
|
|
4232
|
+
var result = {};
|
|
4233
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
4234
|
+
__setModuleDefault(result, mod);
|
|
4235
|
+
return result;
|
|
4236
|
+
};
|
|
4237
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
4238
|
+
var t = {};
|
|
4239
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4240
|
+
t[p] = s[p];
|
|
4241
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
4242
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
4243
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
4244
|
+
t[p[i]] = s[p[i]];
|
|
4245
|
+
}
|
|
4246
|
+
return t;
|
|
4247
|
+
};
|
|
4248
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4249
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4250
|
+
};
|
|
4251
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4252
|
+
var react_1 = __importStar(__webpack_require__(/*! react */ "react"));
|
|
4253
|
+
var Box_1 = __importDefault(__webpack_require__(/*! ../Box */ "./src/components/Box/index.tsx"));
|
|
4254
|
+
var Margins_1 = __importDefault(__webpack_require__(/*! ../Margins */ "./src/components/Margins/index.ts"));
|
|
4255
|
+
var ContextualbarHeader = function (_a) {
|
|
4256
|
+
var children = _a.children, props = __rest(_a, ["children"]);
|
|
4257
|
+
return (react_1.default.createElement(Box_1.default, __assign({ display: 'flex', alignItems: 'center', height: 'x56', pi: 24, borderBlockEndWidth: 'default', borderBlockColor: 'extra-light', flexShrink: 0 }, props),
|
|
4258
|
+
react_1.default.createElement(Box_1.default, { marginInline: 'neg-x4', display: 'flex', alignItems: 'center', justifyContent: 'space-between', flexGrow: 1, height: '100%', overflow: 'hidden' },
|
|
4259
|
+
react_1.default.createElement(Margins_1.default, { inline: 'x4' }, children))));
|
|
4260
|
+
};
|
|
4261
|
+
exports["default"] = (0, react_1.memo)(ContextualbarHeader);
|
|
4262
|
+
|
|
4263
|
+
|
|
4264
|
+
/***/ }),
|
|
4265
|
+
|
|
4266
|
+
/***/ "./src/components/Contextualbar/ContextualbarIcon.tsx":
|
|
4267
|
+
/*!************************************************************!*\
|
|
4268
|
+
!*** ./src/components/Contextualbar/ContextualbarIcon.tsx ***!
|
|
4269
|
+
\************************************************************/
|
|
4270
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4271
|
+
|
|
4272
|
+
|
|
4273
|
+
var __assign = (this && this.__assign) || function () {
|
|
4274
|
+
__assign = Object.assign || function(t) {
|
|
4275
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4276
|
+
s = arguments[i];
|
|
4277
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
4278
|
+
t[p] = s[p];
|
|
4279
|
+
}
|
|
4280
|
+
return t;
|
|
4281
|
+
};
|
|
4282
|
+
return __assign.apply(this, arguments);
|
|
4283
|
+
};
|
|
4284
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4285
|
+
if (k2 === undefined) k2 = k;
|
|
4286
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
4287
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
4288
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
4289
|
+
}
|
|
4290
|
+
Object.defineProperty(o, k2, desc);
|
|
4291
|
+
}) : (function(o, m, k, k2) {
|
|
4292
|
+
if (k2 === undefined) k2 = k;
|
|
4293
|
+
o[k2] = m[k];
|
|
4294
|
+
}));
|
|
4295
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
4296
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
4297
|
+
}) : function(o, v) {
|
|
4298
|
+
o["default"] = v;
|
|
4299
|
+
});
|
|
4300
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
4301
|
+
if (mod && mod.__esModule) return mod;
|
|
4302
|
+
var result = {};
|
|
4303
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
4304
|
+
__setModuleDefault(result, mod);
|
|
4305
|
+
return result;
|
|
4306
|
+
};
|
|
4307
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4308
|
+
var react_1 = __importStar(__webpack_require__(/*! react */ "react"));
|
|
4309
|
+
var __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
|
|
4310
|
+
var ContextualbarIcon = function (props) { return react_1.default.createElement(__1.Icon, __assign({}, props, { pi: 2, size: 'x24' })); };
|
|
4311
|
+
exports["default"] = (0, react_1.memo)(ContextualbarIcon);
|
|
4312
|
+
|
|
4313
|
+
|
|
4314
|
+
/***/ }),
|
|
4315
|
+
|
|
4316
|
+
/***/ "./src/components/Contextualbar/ContextualbarSection.tsx":
|
|
4317
|
+
/*!***************************************************************!*\
|
|
4318
|
+
!*** ./src/components/Contextualbar/ContextualbarSection.tsx ***!
|
|
4319
|
+
\***************************************************************/
|
|
4320
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4321
|
+
|
|
4322
|
+
|
|
4323
|
+
var __assign = (this && this.__assign) || function () {
|
|
4324
|
+
__assign = Object.assign || function(t) {
|
|
4325
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4326
|
+
s = arguments[i];
|
|
4327
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
4328
|
+
t[p] = s[p];
|
|
4329
|
+
}
|
|
4330
|
+
return t;
|
|
4331
|
+
};
|
|
4332
|
+
return __assign.apply(this, arguments);
|
|
4333
|
+
};
|
|
4334
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4335
|
+
if (k2 === undefined) k2 = k;
|
|
4336
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
4337
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
4338
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
4339
|
+
}
|
|
4340
|
+
Object.defineProperty(o, k2, desc);
|
|
4341
|
+
}) : (function(o, m, k, k2) {
|
|
4342
|
+
if (k2 === undefined) k2 = k;
|
|
4343
|
+
o[k2] = m[k];
|
|
4344
|
+
}));
|
|
4345
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
4346
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
4347
|
+
}) : function(o, v) {
|
|
4348
|
+
o["default"] = v;
|
|
4349
|
+
});
|
|
4350
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
4351
|
+
if (mod && mod.__esModule) return mod;
|
|
4352
|
+
var result = {};
|
|
4353
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
4354
|
+
__setModuleDefault(result, mod);
|
|
4355
|
+
return result;
|
|
4356
|
+
};
|
|
4357
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4358
|
+
var react_1 = __importStar(__webpack_require__(/*! react */ "react"));
|
|
4359
|
+
var __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
|
|
4360
|
+
var ContextualbarSection = (0, react_1.forwardRef)(function ContextualbarSection(props, ref) {
|
|
4361
|
+
return (react_1.default.createElement(__1.Box, __assign({ ref: ref, "rcx-vertical-bar__section": true, pi: 24, pb: 16, display: 'flex', alignItems: 'center', flexGrow: 1, borderBlockEndWidth: 'default', borderBlockColor: 'extra-light' }, props)));
|
|
4362
|
+
});
|
|
4363
|
+
exports["default"] = (0, react_1.memo)(ContextualbarSection);
|
|
4364
|
+
|
|
4365
|
+
|
|
4366
|
+
/***/ }),
|
|
4367
|
+
|
|
4368
|
+
/***/ "./src/components/Contextualbar/ContextualbarSkeleton.tsx":
|
|
4369
|
+
/*!****************************************************************!*\
|
|
4370
|
+
!*** ./src/components/Contextualbar/ContextualbarSkeleton.tsx ***!
|
|
4371
|
+
\****************************************************************/
|
|
4372
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4373
|
+
|
|
4374
|
+
|
|
4375
|
+
var __assign = (this && this.__assign) || function () {
|
|
4376
|
+
__assign = Object.assign || function(t) {
|
|
4377
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4378
|
+
s = arguments[i];
|
|
4379
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
4380
|
+
t[p] = s[p];
|
|
4381
|
+
}
|
|
4382
|
+
return t;
|
|
4383
|
+
};
|
|
4384
|
+
return __assign.apply(this, arguments);
|
|
4385
|
+
};
|
|
4386
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4387
|
+
if (k2 === undefined) k2 = k;
|
|
4388
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
4389
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
4390
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
4391
|
+
}
|
|
4392
|
+
Object.defineProperty(o, k2, desc);
|
|
4393
|
+
}) : (function(o, m, k, k2) {
|
|
4394
|
+
if (k2 === undefined) k2 = k;
|
|
4395
|
+
o[k2] = m[k];
|
|
4396
|
+
}));
|
|
4397
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
4398
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
4399
|
+
}) : function(o, v) {
|
|
4400
|
+
o["default"] = v;
|
|
4401
|
+
});
|
|
4402
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
4403
|
+
if (mod && mod.__esModule) return mod;
|
|
4404
|
+
var result = {};
|
|
4405
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
4406
|
+
__setModuleDefault(result, mod);
|
|
4407
|
+
return result;
|
|
4408
|
+
};
|
|
4409
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4410
|
+
var react_1 = __importStar(__webpack_require__(/*! react */ "react"));
|
|
4411
|
+
var _1 = __webpack_require__(/*! . */ "./src/components/Contextualbar/index.ts");
|
|
4412
|
+
var __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
|
|
4413
|
+
var ContextualbarSkeleton = function (props) { return (react_1.default.createElement(_1.Contextualbar, __assign({}, props),
|
|
4414
|
+
react_1.default.createElement(_1.ContextualbarHeader, null,
|
|
4415
|
+
react_1.default.createElement(__1.Skeleton, { width: '100%' })),
|
|
4416
|
+
react_1.default.createElement(__1.Box, { p: 24 },
|
|
4417
|
+
react_1.default.createElement(__1.Skeleton, { mbe: 4, width: '32px', height: '32px', variant: 'rect' }),
|
|
4418
|
+
Array(5)
|
|
4419
|
+
.fill(5)
|
|
4420
|
+
.map(function (_, index) { return (react_1.default.createElement(__1.Skeleton, { key: index })); })))); };
|
|
4421
|
+
exports["default"] = (0, react_1.memo)(ContextualbarSkeleton);
|
|
4422
|
+
|
|
4423
|
+
|
|
4424
|
+
/***/ }),
|
|
4425
|
+
|
|
4426
|
+
/***/ "./src/components/Contextualbar/ContextualbarTitle.tsx":
|
|
4427
|
+
/*!*************************************************************!*\
|
|
4428
|
+
!*** ./src/components/Contextualbar/ContextualbarTitle.tsx ***!
|
|
4429
|
+
\*************************************************************/
|
|
4430
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4431
|
+
|
|
4432
|
+
|
|
4433
|
+
var __assign = (this && this.__assign) || function () {
|
|
4434
|
+
__assign = Object.assign || function(t) {
|
|
4435
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4436
|
+
s = arguments[i];
|
|
4437
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
4438
|
+
t[p] = s[p];
|
|
4439
|
+
}
|
|
4440
|
+
return t;
|
|
4441
|
+
};
|
|
4442
|
+
return __assign.apply(this, arguments);
|
|
4443
|
+
};
|
|
4444
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4445
|
+
if (k2 === undefined) k2 = k;
|
|
4446
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
4447
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
4448
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
4449
|
+
}
|
|
4450
|
+
Object.defineProperty(o, k2, desc);
|
|
4451
|
+
}) : (function(o, m, k, k2) {
|
|
4452
|
+
if (k2 === undefined) k2 = k;
|
|
4453
|
+
o[k2] = m[k];
|
|
4454
|
+
}));
|
|
4455
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
4456
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
4457
|
+
}) : function(o, v) {
|
|
4458
|
+
o["default"] = v;
|
|
4459
|
+
});
|
|
4460
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
4461
|
+
if (mod && mod.__esModule) return mod;
|
|
4462
|
+
var result = {};
|
|
4463
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
4464
|
+
__setModuleDefault(result, mod);
|
|
4465
|
+
return result;
|
|
4466
|
+
};
|
|
4467
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4468
|
+
var react_1 = __importStar(__webpack_require__(/*! react */ "react"));
|
|
4469
|
+
var __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
|
|
4470
|
+
var ContextualbarTitle = function (props) { return (react_1.default.createElement(__1.Box, __assign({ flexShrink: 1, flexGrow: 1, fontScale: 'h4', withTruncatedText: true }, props))); };
|
|
4471
|
+
exports["default"] = (0, react_1.memo)(ContextualbarTitle);
|
|
4472
|
+
|
|
4473
|
+
|
|
4474
|
+
/***/ }),
|
|
4475
|
+
|
|
4476
|
+
/***/ "./src/components/Contextualbar/index.ts":
|
|
4477
|
+
/*!***********************************************!*\
|
|
4478
|
+
!*** ./src/components/Contextualbar/index.ts ***!
|
|
4479
|
+
\***********************************************/
|
|
4480
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4481
|
+
|
|
4482
|
+
|
|
4483
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4484
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4485
|
+
};
|
|
4486
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4487
|
+
exports.ContextualbarSection = exports.ContextualbarTitle = exports.ContextualbarSkeleton = exports.ContextualbarIcon = exports.ContextualbarHeader = exports.ContextualbarFooter = exports.ContextualbarEmptyContent = exports.ContextualbarContent = exports.ContextualbarButton = exports.ContextualbarActions = exports.ContextualbarAction = exports.Contextualbar = void 0;
|
|
4488
|
+
var Contextualbar_1 = __importDefault(__webpack_require__(/*! ./Contextualbar */ "./src/components/Contextualbar/Contextualbar.tsx"));
|
|
4489
|
+
exports.Contextualbar = Contextualbar_1.default;
|
|
4490
|
+
var ContextualbarAction_1 = __importDefault(__webpack_require__(/*! ./ContextualbarAction */ "./src/components/Contextualbar/ContextualbarAction.tsx"));
|
|
4491
|
+
exports.ContextualbarAction = ContextualbarAction_1.default;
|
|
4492
|
+
var ContextualbarActions_1 = __importDefault(__webpack_require__(/*! ./ContextualbarActions */ "./src/components/Contextualbar/ContextualbarActions.tsx"));
|
|
4493
|
+
exports.ContextualbarActions = ContextualbarActions_1.default;
|
|
4494
|
+
var ContextualbarButton_1 = __importDefault(__webpack_require__(/*! ./ContextualbarButton */ "./src/components/Contextualbar/ContextualbarButton.tsx"));
|
|
4495
|
+
exports.ContextualbarButton = ContextualbarButton_1.default;
|
|
4496
|
+
var ContextualbarContent_1 = __importDefault(__webpack_require__(/*! ./ContextualbarContent */ "./src/components/Contextualbar/ContextualbarContent.tsx"));
|
|
4497
|
+
exports.ContextualbarContent = ContextualbarContent_1.default;
|
|
4498
|
+
var ContextualbarEmptyContent_1 = __importDefault(__webpack_require__(/*! ./ContextualbarEmptyContent */ "./src/components/Contextualbar/ContextualbarEmptyContent.tsx"));
|
|
4499
|
+
exports.ContextualbarEmptyContent = ContextualbarEmptyContent_1.default;
|
|
4500
|
+
var ContextualbarFooter_1 = __importDefault(__webpack_require__(/*! ./ContextualbarFooter */ "./src/components/Contextualbar/ContextualbarFooter.tsx"));
|
|
4501
|
+
exports.ContextualbarFooter = ContextualbarFooter_1.default;
|
|
4502
|
+
var ContextualbarHeader_1 = __importDefault(__webpack_require__(/*! ./ContextualbarHeader */ "./src/components/Contextualbar/ContextualbarHeader.tsx"));
|
|
4503
|
+
exports.ContextualbarHeader = ContextualbarHeader_1.default;
|
|
4504
|
+
var ContextualbarIcon_1 = __importDefault(__webpack_require__(/*! ./ContextualbarIcon */ "./src/components/Contextualbar/ContextualbarIcon.tsx"));
|
|
4505
|
+
exports.ContextualbarIcon = ContextualbarIcon_1.default;
|
|
4506
|
+
var ContextualbarSection_1 = __importDefault(__webpack_require__(/*! ./ContextualbarSection */ "./src/components/Contextualbar/ContextualbarSection.tsx"));
|
|
4507
|
+
exports.ContextualbarSection = ContextualbarSection_1.default;
|
|
4508
|
+
var ContextualbarSkeleton_1 = __importDefault(__webpack_require__(/*! ./ContextualbarSkeleton */ "./src/components/Contextualbar/ContextualbarSkeleton.tsx"));
|
|
4509
|
+
exports.ContextualbarSkeleton = ContextualbarSkeleton_1.default;
|
|
4510
|
+
var ContextualbarTitle_1 = __importDefault(__webpack_require__(/*! ./ContextualbarTitle */ "./src/components/Contextualbar/ContextualbarTitle.tsx"));
|
|
4511
|
+
exports.ContextualbarTitle = ContextualbarTitle_1.default;
|
|
4512
|
+
|
|
4513
|
+
|
|
4514
|
+
/***/ }),
|
|
4515
|
+
|
|
4516
|
+
/***/ "./src/components/ContextualbarV2/Contextualbar.tsx":
|
|
4517
|
+
/*!**********************************************************!*\
|
|
4518
|
+
!*** ./src/components/ContextualbarV2/Contextualbar.tsx ***!
|
|
4519
|
+
\**********************************************************/
|
|
4520
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4521
|
+
|
|
4522
|
+
|
|
4523
|
+
var __assign = (this && this.__assign) || function () {
|
|
4524
|
+
__assign = Object.assign || function(t) {
|
|
4525
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4526
|
+
s = arguments[i];
|
|
4527
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
4528
|
+
t[p] = s[p];
|
|
4529
|
+
}
|
|
4530
|
+
return t;
|
|
4531
|
+
};
|
|
4532
|
+
return __assign.apply(this, arguments);
|
|
4533
|
+
};
|
|
4534
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4535
|
+
if (k2 === undefined) k2 = k;
|
|
4536
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
4537
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
4538
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
4539
|
+
}
|
|
4540
|
+
Object.defineProperty(o, k2, desc);
|
|
4541
|
+
}) : (function(o, m, k, k2) {
|
|
4542
|
+
if (k2 === undefined) k2 = k;
|
|
4543
|
+
o[k2] = m[k];
|
|
4544
|
+
}));
|
|
4545
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
4546
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
4547
|
+
}) : function(o, v) {
|
|
4548
|
+
o["default"] = v;
|
|
4549
|
+
});
|
|
4550
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
4551
|
+
if (mod && mod.__esModule) return mod;
|
|
4552
|
+
var result = {};
|
|
4553
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
4554
|
+
__setModuleDefault(result, mod);
|
|
4555
|
+
return result;
|
|
4556
|
+
};
|
|
4557
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
4558
|
+
var t = {};
|
|
4559
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4560
|
+
t[p] = s[p];
|
|
4561
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
4562
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
4563
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
4564
|
+
t[p[i]] = s[p[i]];
|
|
4565
|
+
}
|
|
4566
|
+
return t;
|
|
4567
|
+
};
|
|
4568
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4569
|
+
var react_1 = __importStar(__webpack_require__(/*! react */ "react"));
|
|
4570
|
+
var __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
|
|
4571
|
+
var Contextualbar = (0, react_1.forwardRef)(function Contextualbar(_a, ref) {
|
|
4572
|
+
var children = _a.children, width = _a.width, position = _a.position, _b = _a.bg, bg = _b === void 0 ? 'room' : _b, props = __rest(_a, ["children", "width", "position", "bg"]);
|
|
4573
|
+
return (react_1.default.createElement(__1.Box, __assign({ ref: ref, "rcx-vertical-bar": true, bg: bg, color: 'default', display: 'flex', flexDirection: 'column', flexShrink: 0, width: width, borderInlineStartWidth: 'default', borderInlineStartColor: 'extra-light', borderInlineStartStyle: 'solid', height: 'full', position: position, insetInlineEnd: 'none', insetBlockStart: 'none', zIndex: 5 }, props), children));
|
|
4574
|
+
});
|
|
4575
|
+
exports["default"] = (0, react_1.memo)(Contextualbar);
|
|
4576
|
+
|
|
4577
|
+
|
|
4578
|
+
/***/ }),
|
|
4579
|
+
|
|
4580
|
+
/***/ "./src/components/ContextualbarV2/ContextualbarAction.tsx":
|
|
4581
|
+
/*!****************************************************************!*\
|
|
4582
|
+
!*** ./src/components/ContextualbarV2/ContextualbarAction.tsx ***!
|
|
4583
|
+
\****************************************************************/
|
|
4584
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4585
|
+
|
|
4586
|
+
|
|
4587
|
+
var __assign = (this && this.__assign) || function () {
|
|
4588
|
+
__assign = Object.assign || function(t) {
|
|
4589
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4590
|
+
s = arguments[i];
|
|
4591
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
4592
|
+
t[p] = s[p];
|
|
4593
|
+
}
|
|
4594
|
+
return t;
|
|
4595
|
+
};
|
|
4596
|
+
return __assign.apply(this, arguments);
|
|
4597
|
+
};
|
|
4598
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4599
|
+
if (k2 === undefined) k2 = k;
|
|
4600
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
4601
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
4602
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
4603
|
+
}
|
|
4604
|
+
Object.defineProperty(o, k2, desc);
|
|
4605
|
+
}) : (function(o, m, k, k2) {
|
|
4606
|
+
if (k2 === undefined) k2 = k;
|
|
4607
|
+
o[k2] = m[k];
|
|
4608
|
+
}));
|
|
4609
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
4610
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
4611
|
+
}) : function(o, v) {
|
|
4612
|
+
o["default"] = v;
|
|
4613
|
+
});
|
|
4614
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
4615
|
+
if (mod && mod.__esModule) return mod;
|
|
4616
|
+
var result = {};
|
|
4617
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
4618
|
+
__setModuleDefault(result, mod);
|
|
4619
|
+
return result;
|
|
4620
|
+
};
|
|
4621
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
4622
|
+
var t = {};
|
|
4623
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4624
|
+
t[p] = s[p];
|
|
4625
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
4626
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
4627
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
4628
|
+
t[p[i]] = s[p[i]];
|
|
4629
|
+
}
|
|
4630
|
+
return t;
|
|
4631
|
+
};
|
|
4632
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4633
|
+
var react_1 = __importStar(__webpack_require__(/*! react */ "react"));
|
|
4634
|
+
var __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
|
|
4635
|
+
var ContextualbarAction = function (_a) {
|
|
4636
|
+
var name = _a.name, props = __rest(_a, ["name"]);
|
|
4637
|
+
return (react_1.default.createElement(__1.IconButton, __assign({}, props, { small: true, flexShrink: 0, icon: name })));
|
|
4638
|
+
};
|
|
4639
|
+
exports["default"] = (0, react_1.memo)(ContextualbarAction);
|
|
4640
|
+
|
|
4641
|
+
|
|
4642
|
+
/***/ }),
|
|
4643
|
+
|
|
4644
|
+
/***/ "./src/components/ContextualbarV2/ContextualbarActions.tsx":
|
|
4645
|
+
/*!*****************************************************************!*\
|
|
4646
|
+
!*** ./src/components/ContextualbarV2/ContextualbarActions.tsx ***!
|
|
4647
|
+
\*****************************************************************/
|
|
4648
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4649
|
+
|
|
4650
|
+
|
|
4651
|
+
var __assign = (this && this.__assign) || function () {
|
|
4652
|
+
__assign = Object.assign || function(t) {
|
|
4653
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4654
|
+
s = arguments[i];
|
|
4655
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
4656
|
+
t[p] = s[p];
|
|
4657
|
+
}
|
|
4658
|
+
return t;
|
|
4659
|
+
};
|
|
4660
|
+
return __assign.apply(this, arguments);
|
|
4661
|
+
};
|
|
4662
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4663
|
+
if (k2 === undefined) k2 = k;
|
|
4664
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
4665
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
4666
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
4667
|
+
}
|
|
4668
|
+
Object.defineProperty(o, k2, desc);
|
|
4669
|
+
}) : (function(o, m, k, k2) {
|
|
4670
|
+
if (k2 === undefined) k2 = k;
|
|
4671
|
+
o[k2] = m[k];
|
|
4672
|
+
}));
|
|
4673
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
4674
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
4675
|
+
}) : function(o, v) {
|
|
4676
|
+
o["default"] = v;
|
|
4677
|
+
});
|
|
4678
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
4679
|
+
if (mod && mod.__esModule) return mod;
|
|
4680
|
+
var result = {};
|
|
4681
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
4682
|
+
__setModuleDefault(result, mod);
|
|
4683
|
+
return result;
|
|
4684
|
+
};
|
|
4685
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4686
|
+
var react_1 = __importStar(__webpack_require__(/*! react */ "react"));
|
|
4687
|
+
var __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
|
|
4688
|
+
var ContextualbarActions = function (props) { return react_1.default.createElement(__1.ButtonGroup, __assign({}, props)); };
|
|
4689
|
+
exports["default"] = (0, react_1.memo)(ContextualbarActions);
|
|
4690
|
+
|
|
4691
|
+
|
|
4692
|
+
/***/ }),
|
|
4693
|
+
|
|
4694
|
+
/***/ "./src/components/ContextualbarV2/ContextualbarButton.tsx":
|
|
4695
|
+
/*!****************************************************************!*\
|
|
4696
|
+
!*** ./src/components/ContextualbarV2/ContextualbarButton.tsx ***!
|
|
4697
|
+
\****************************************************************/
|
|
4698
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4699
|
+
|
|
4700
|
+
|
|
4701
|
+
var __assign = (this && this.__assign) || function () {
|
|
4702
|
+
__assign = Object.assign || function(t) {
|
|
4703
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4704
|
+
s = arguments[i];
|
|
4705
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
4706
|
+
t[p] = s[p];
|
|
4707
|
+
}
|
|
4708
|
+
return t;
|
|
4709
|
+
};
|
|
4710
|
+
return __assign.apply(this, arguments);
|
|
4711
|
+
};
|
|
4712
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4713
|
+
if (k2 === undefined) k2 = k;
|
|
4714
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
4715
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
4716
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
4717
|
+
}
|
|
4718
|
+
Object.defineProperty(o, k2, desc);
|
|
4719
|
+
}) : (function(o, m, k, k2) {
|
|
4720
|
+
if (k2 === undefined) k2 = k;
|
|
4721
|
+
o[k2] = m[k];
|
|
4722
|
+
}));
|
|
4723
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
4724
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
4725
|
+
}) : function(o, v) {
|
|
4726
|
+
o["default"] = v;
|
|
4727
|
+
});
|
|
4728
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
4729
|
+
if (mod && mod.__esModule) return mod;
|
|
4730
|
+
var result = {};
|
|
4731
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
4732
|
+
__setModuleDefault(result, mod);
|
|
4733
|
+
return result;
|
|
4734
|
+
};
|
|
4735
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4736
|
+
var react_1 = __importStar(__webpack_require__(/*! react */ "react"));
|
|
4737
|
+
var __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
|
|
4738
|
+
var ContextualbarButton = function (props) { return react_1.default.createElement(__1.Button, __assign({}, props)); };
|
|
4739
|
+
exports["default"] = (0, react_1.memo)(ContextualbarButton);
|
|
4740
|
+
|
|
4741
|
+
|
|
4742
|
+
/***/ }),
|
|
4743
|
+
|
|
4744
|
+
/***/ "./src/components/ContextualbarV2/ContextualbarContent.tsx":
|
|
4745
|
+
/*!*****************************************************************!*\
|
|
4746
|
+
!*** ./src/components/ContextualbarV2/ContextualbarContent.tsx ***!
|
|
4747
|
+
\*****************************************************************/
|
|
4748
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4749
|
+
|
|
4750
|
+
|
|
4751
|
+
var __assign = (this && this.__assign) || function () {
|
|
4752
|
+
__assign = Object.assign || function(t) {
|
|
4753
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4754
|
+
s = arguments[i];
|
|
4755
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
4756
|
+
t[p] = s[p];
|
|
4757
|
+
}
|
|
4758
|
+
return t;
|
|
4759
|
+
};
|
|
4760
|
+
return __assign.apply(this, arguments);
|
|
4761
|
+
};
|
|
4762
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4763
|
+
if (k2 === undefined) k2 = k;
|
|
4764
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
4765
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
4766
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
4767
|
+
}
|
|
4768
|
+
Object.defineProperty(o, k2, desc);
|
|
4769
|
+
}) : (function(o, m, k, k2) {
|
|
4770
|
+
if (k2 === undefined) k2 = k;
|
|
4771
|
+
o[k2] = m[k];
|
|
4772
|
+
}));
|
|
4773
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
4774
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
4775
|
+
}) : function(o, v) {
|
|
4776
|
+
o["default"] = v;
|
|
4777
|
+
});
|
|
4778
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
4779
|
+
if (mod && mod.__esModule) return mod;
|
|
4780
|
+
var result = {};
|
|
4781
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
4782
|
+
__setModuleDefault(result, mod);
|
|
4783
|
+
return result;
|
|
4784
|
+
};
|
|
4785
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4786
|
+
var react_1 = __importStar(__webpack_require__(/*! react */ "react"));
|
|
4787
|
+
var __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
|
|
4788
|
+
var ContextualbarContent = (0, react_1.forwardRef)(function ContextualbarContent(props, ref) {
|
|
4789
|
+
return (react_1.default.createElement(__1.Box, __assign({ ref: ref, "rcx-vertical-bar__content": true, paddingInline: 24, display: 'flex', flexDirection: 'column', overflowY: 'hidden', height: 'full' }, props)));
|
|
4790
|
+
});
|
|
4791
|
+
exports["default"] = (0, react_1.memo)(ContextualbarContent);
|
|
4792
|
+
|
|
4793
|
+
|
|
4794
|
+
/***/ }),
|
|
4795
|
+
|
|
4796
|
+
/***/ "./src/components/ContextualbarV2/ContextualbarEmptyContent.tsx":
|
|
4797
|
+
/*!**********************************************************************!*\
|
|
4798
|
+
!*** ./src/components/ContextualbarV2/ContextualbarEmptyContent.tsx ***!
|
|
4799
|
+
\**********************************************************************/
|
|
4800
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4801
|
+
|
|
4802
|
+
|
|
4803
|
+
var __assign = (this && this.__assign) || function () {
|
|
4804
|
+
__assign = Object.assign || function(t) {
|
|
4805
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4806
|
+
s = arguments[i];
|
|
4807
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
4808
|
+
t[p] = s[p];
|
|
4809
|
+
}
|
|
4810
|
+
return t;
|
|
4811
|
+
};
|
|
4812
|
+
return __assign.apply(this, arguments);
|
|
4813
|
+
};
|
|
4814
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4815
|
+
if (k2 === undefined) k2 = k;
|
|
4816
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
4817
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
4818
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
4819
|
+
}
|
|
4820
|
+
Object.defineProperty(o, k2, desc);
|
|
4821
|
+
}) : (function(o, m, k, k2) {
|
|
4822
|
+
if (k2 === undefined) k2 = k;
|
|
4823
|
+
o[k2] = m[k];
|
|
4824
|
+
}));
|
|
4825
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
4826
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
4827
|
+
}) : function(o, v) {
|
|
4828
|
+
o["default"] = v;
|
|
4829
|
+
});
|
|
4830
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
4831
|
+
if (mod && mod.__esModule) return mod;
|
|
4832
|
+
var result = {};
|
|
4833
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
4834
|
+
__setModuleDefault(result, mod);
|
|
4835
|
+
return result;
|
|
4836
|
+
};
|
|
4837
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
4838
|
+
var t = {};
|
|
4839
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4840
|
+
t[p] = s[p];
|
|
4841
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
4842
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
4843
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
4844
|
+
t[p[i]] = s[p[i]];
|
|
4845
|
+
}
|
|
4846
|
+
return t;
|
|
4847
|
+
};
|
|
4848
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4849
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4850
|
+
};
|
|
4851
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4852
|
+
var react_1 = __importStar(__webpack_require__(/*! react */ "react"));
|
|
4853
|
+
var __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
|
|
4854
|
+
var ContextualbarContent_1 = __importDefault(__webpack_require__(/*! ./ContextualbarContent */ "./src/components/ContextualbarV2/ContextualbarContent.tsx"));
|
|
4855
|
+
var ContextualbarEmptyContent = (0, react_1.forwardRef)(function ContextualbarEmptyContent(_a, ref) {
|
|
4856
|
+
var _b = _a.icon, icon = _b === void 0 ? 'magnifier' : _b, _c = _a.title, title = _c === void 0 ? 'Nothing Found' : _c, subtitle = _a.subtitle, props = __rest(_a, ["icon", "title", "subtitle"]);
|
|
4857
|
+
return (react_1.default.createElement(ContextualbarContent_1.default, __assign({ justifyContent: 'center' }, props, { ref: ref }),
|
|
4858
|
+
react_1.default.createElement(__1.States, null,
|
|
4859
|
+
react_1.default.createElement(__1.StatesIcon, { name: icon }),
|
|
4860
|
+
react_1.default.createElement(__1.StatesTitle, null, title),
|
|
4861
|
+
subtitle && react_1.default.createElement(__1.StatesSubtitle, null, subtitle))));
|
|
4862
|
+
});
|
|
4863
|
+
exports["default"] = (0, react_1.memo)(ContextualbarEmptyContent);
|
|
4864
|
+
|
|
4865
|
+
|
|
4866
|
+
/***/ }),
|
|
4867
|
+
|
|
4868
|
+
/***/ "./src/components/ContextualbarV2/ContextualbarFooter.tsx":
|
|
4869
|
+
/*!****************************************************************!*\
|
|
4870
|
+
!*** ./src/components/ContextualbarV2/ContextualbarFooter.tsx ***!
|
|
4871
|
+
\****************************************************************/
|
|
4872
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4873
|
+
|
|
4874
|
+
|
|
4139
4875
|
var __assign = (this && this.__assign) || function () {
|
|
4140
4876
|
__assign = Object.assign || function(t) {
|
|
4141
4877
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -4193,10 +4929,10 @@ exports["default"] = (0, react_1.memo)(ContextualbarFooter);
|
|
|
4193
4929
|
|
|
4194
4930
|
/***/ }),
|
|
4195
4931
|
|
|
4196
|
-
/***/ "./src/components/
|
|
4197
|
-
|
|
4198
|
-
!*** ./src/components/
|
|
4199
|
-
|
|
4932
|
+
/***/ "./src/components/ContextualbarV2/ContextualbarHeader.tsx":
|
|
4933
|
+
/*!****************************************************************!*\
|
|
4934
|
+
!*** ./src/components/ContextualbarV2/ContextualbarHeader.tsx ***!
|
|
4935
|
+
\****************************************************************/
|
|
4200
4936
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4201
4937
|
|
|
4202
4938
|
|
|
@@ -4267,10 +5003,10 @@ var templateObject_1;
|
|
|
4267
5003
|
|
|
4268
5004
|
/***/ }),
|
|
4269
5005
|
|
|
4270
|
-
/***/ "./src/components/
|
|
4271
|
-
|
|
4272
|
-
!*** ./src/components/
|
|
4273
|
-
|
|
5006
|
+
/***/ "./src/components/ContextualbarV2/ContextualbarIcon.tsx":
|
|
5007
|
+
/*!**************************************************************!*\
|
|
5008
|
+
!*** ./src/components/ContextualbarV2/ContextualbarIcon.tsx ***!
|
|
5009
|
+
\**************************************************************/
|
|
4274
5010
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4275
5011
|
|
|
4276
5012
|
|
|
@@ -4317,10 +5053,10 @@ exports["default"] = (0, react_1.memo)(ContextualbarIcon);
|
|
|
4317
5053
|
|
|
4318
5054
|
/***/ }),
|
|
4319
5055
|
|
|
4320
|
-
/***/ "./src/components/
|
|
4321
|
-
|
|
4322
|
-
!*** ./src/components/
|
|
4323
|
-
|
|
5056
|
+
/***/ "./src/components/ContextualbarV2/ContextualbarSection.tsx":
|
|
5057
|
+
/*!*****************************************************************!*\
|
|
5058
|
+
!*** ./src/components/ContextualbarV2/ContextualbarSection.tsx ***!
|
|
5059
|
+
\*****************************************************************/
|
|
4324
5060
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4325
5061
|
|
|
4326
5062
|
|
|
@@ -4369,10 +5105,10 @@ exports["default"] = (0, react_1.memo)(ContextualbarSection);
|
|
|
4369
5105
|
|
|
4370
5106
|
/***/ }),
|
|
4371
5107
|
|
|
4372
|
-
/***/ "./src/components/
|
|
4373
|
-
|
|
4374
|
-
!*** ./src/components/
|
|
4375
|
-
|
|
5108
|
+
/***/ "./src/components/ContextualbarV2/ContextualbarSkeleton.tsx":
|
|
5109
|
+
/*!******************************************************************!*\
|
|
5110
|
+
!*** ./src/components/ContextualbarV2/ContextualbarSkeleton.tsx ***!
|
|
5111
|
+
\******************************************************************/
|
|
4376
5112
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4377
5113
|
|
|
4378
5114
|
|
|
@@ -4412,10 +5148,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
4412
5148
|
};
|
|
4413
5149
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4414
5150
|
var react_1 = __importStar(__webpack_require__(/*! react */ "react"));
|
|
4415
|
-
var _1 = __webpack_require__(/*! . */ "./src/components/
|
|
5151
|
+
var _1 = __webpack_require__(/*! . */ "./src/components/ContextualbarV2/index.ts");
|
|
4416
5152
|
var __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
|
|
4417
|
-
var ContextualbarSkeleton = function (props) { return (react_1.default.createElement(_1.
|
|
4418
|
-
react_1.default.createElement(_1.
|
|
5153
|
+
var ContextualbarSkeleton = function (props) { return (react_1.default.createElement(_1.ContextualbarV2, __assign({}, props),
|
|
5154
|
+
react_1.default.createElement(_1.ContextualbarV2Header, null,
|
|
4419
5155
|
react_1.default.createElement(__1.Skeleton, { width: '100%' })),
|
|
4420
5156
|
react_1.default.createElement(__1.Box, { p: 24 },
|
|
4421
5157
|
react_1.default.createElement(__1.Skeleton, { mbe: 4, width: '32px', height: '32px', variant: 'rect' }),
|
|
@@ -4427,10 +5163,10 @@ exports["default"] = (0, react_1.memo)(ContextualbarSkeleton);
|
|
|
4427
5163
|
|
|
4428
5164
|
/***/ }),
|
|
4429
5165
|
|
|
4430
|
-
/***/ "./src/components/
|
|
4431
|
-
|
|
4432
|
-
!*** ./src/components/
|
|
4433
|
-
|
|
5166
|
+
/***/ "./src/components/ContextualbarV2/ContextualbarTitle.tsx":
|
|
5167
|
+
/*!***************************************************************!*\
|
|
5168
|
+
!*** ./src/components/ContextualbarV2/ContextualbarTitle.tsx ***!
|
|
5169
|
+
\***************************************************************/
|
|
4434
5170
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4435
5171
|
|
|
4436
5172
|
|
|
@@ -4477,10 +5213,10 @@ exports["default"] = (0, react_1.memo)(ContextualbarTitle);
|
|
|
4477
5213
|
|
|
4478
5214
|
/***/ }),
|
|
4479
5215
|
|
|
4480
|
-
/***/ "./src/components/
|
|
4481
|
-
|
|
4482
|
-
!*** ./src/components/
|
|
4483
|
-
|
|
5216
|
+
/***/ "./src/components/ContextualbarV2/index.ts":
|
|
5217
|
+
/*!*************************************************!*\
|
|
5218
|
+
!*** ./src/components/ContextualbarV2/index.ts ***!
|
|
5219
|
+
\*************************************************/
|
|
4484
5220
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4485
5221
|
|
|
4486
5222
|
|
|
@@ -4488,31 +5224,31 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4488
5224
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4489
5225
|
};
|
|
4490
5226
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4491
|
-
exports.
|
|
4492
|
-
var Contextualbar_1 = __importDefault(__webpack_require__(/*! ./Contextualbar */ "./src/components/
|
|
4493
|
-
exports.
|
|
4494
|
-
var ContextualbarAction_1 = __importDefault(__webpack_require__(/*! ./ContextualbarAction */ "./src/components/
|
|
4495
|
-
exports.
|
|
4496
|
-
var ContextualbarActions_1 = __importDefault(__webpack_require__(/*! ./ContextualbarActions */ "./src/components/
|
|
4497
|
-
exports.
|
|
4498
|
-
var ContextualbarButton_1 = __importDefault(__webpack_require__(/*! ./ContextualbarButton */ "./src/components/
|
|
4499
|
-
exports.
|
|
4500
|
-
var ContextualbarContent_1 = __importDefault(__webpack_require__(/*! ./ContextualbarContent */ "./src/components/
|
|
4501
|
-
exports.
|
|
4502
|
-
var ContextualbarEmptyContent_1 = __importDefault(__webpack_require__(/*! ./ContextualbarEmptyContent */ "./src/components/
|
|
4503
|
-
exports.
|
|
4504
|
-
var ContextualbarFooter_1 = __importDefault(__webpack_require__(/*! ./ContextualbarFooter */ "./src/components/
|
|
4505
|
-
exports.
|
|
4506
|
-
var ContextualbarHeader_1 = __importDefault(__webpack_require__(/*! ./ContextualbarHeader */ "./src/components/
|
|
4507
|
-
exports.
|
|
4508
|
-
var ContextualbarIcon_1 = __importDefault(__webpack_require__(/*! ./ContextualbarIcon */ "./src/components/
|
|
4509
|
-
exports.
|
|
4510
|
-
var ContextualbarSection_1 = __importDefault(__webpack_require__(/*! ./ContextualbarSection */ "./src/components/
|
|
4511
|
-
exports.
|
|
4512
|
-
var ContextualbarSkeleton_1 = __importDefault(__webpack_require__(/*! ./ContextualbarSkeleton */ "./src/components/
|
|
4513
|
-
exports.
|
|
4514
|
-
var ContextualbarTitle_1 = __importDefault(__webpack_require__(/*! ./ContextualbarTitle */ "./src/components/
|
|
4515
|
-
exports.
|
|
5227
|
+
exports.ContextualbarV2Section = exports.ContextualbarV2Title = exports.ContextualbarV2Skeleton = exports.ContextualbarV2Icon = exports.ContextualbarV2Header = exports.ContextualbarV2Footer = exports.ContextualbarV2EmptyContent = exports.ContextualbarV2Content = exports.ContextualbarV2Button = exports.ContextualbarV2Actions = exports.ContextualbarV2Action = exports.ContextualbarV2 = void 0;
|
|
5228
|
+
var Contextualbar_1 = __importDefault(__webpack_require__(/*! ./Contextualbar */ "./src/components/ContextualbarV2/Contextualbar.tsx"));
|
|
5229
|
+
exports.ContextualbarV2 = Contextualbar_1.default;
|
|
5230
|
+
var ContextualbarAction_1 = __importDefault(__webpack_require__(/*! ./ContextualbarAction */ "./src/components/ContextualbarV2/ContextualbarAction.tsx"));
|
|
5231
|
+
exports.ContextualbarV2Action = ContextualbarAction_1.default;
|
|
5232
|
+
var ContextualbarActions_1 = __importDefault(__webpack_require__(/*! ./ContextualbarActions */ "./src/components/ContextualbarV2/ContextualbarActions.tsx"));
|
|
5233
|
+
exports.ContextualbarV2Actions = ContextualbarActions_1.default;
|
|
5234
|
+
var ContextualbarButton_1 = __importDefault(__webpack_require__(/*! ./ContextualbarButton */ "./src/components/ContextualbarV2/ContextualbarButton.tsx"));
|
|
5235
|
+
exports.ContextualbarV2Button = ContextualbarButton_1.default;
|
|
5236
|
+
var ContextualbarContent_1 = __importDefault(__webpack_require__(/*! ./ContextualbarContent */ "./src/components/ContextualbarV2/ContextualbarContent.tsx"));
|
|
5237
|
+
exports.ContextualbarV2Content = ContextualbarContent_1.default;
|
|
5238
|
+
var ContextualbarEmptyContent_1 = __importDefault(__webpack_require__(/*! ./ContextualbarEmptyContent */ "./src/components/ContextualbarV2/ContextualbarEmptyContent.tsx"));
|
|
5239
|
+
exports.ContextualbarV2EmptyContent = ContextualbarEmptyContent_1.default;
|
|
5240
|
+
var ContextualbarFooter_1 = __importDefault(__webpack_require__(/*! ./ContextualbarFooter */ "./src/components/ContextualbarV2/ContextualbarFooter.tsx"));
|
|
5241
|
+
exports.ContextualbarV2Footer = ContextualbarFooter_1.default;
|
|
5242
|
+
var ContextualbarHeader_1 = __importDefault(__webpack_require__(/*! ./ContextualbarHeader */ "./src/components/ContextualbarV2/ContextualbarHeader.tsx"));
|
|
5243
|
+
exports.ContextualbarV2Header = ContextualbarHeader_1.default;
|
|
5244
|
+
var ContextualbarIcon_1 = __importDefault(__webpack_require__(/*! ./ContextualbarIcon */ "./src/components/ContextualbarV2/ContextualbarIcon.tsx"));
|
|
5245
|
+
exports.ContextualbarV2Icon = ContextualbarIcon_1.default;
|
|
5246
|
+
var ContextualbarSection_1 = __importDefault(__webpack_require__(/*! ./ContextualbarSection */ "./src/components/ContextualbarV2/ContextualbarSection.tsx"));
|
|
5247
|
+
exports.ContextualbarV2Section = ContextualbarSection_1.default;
|
|
5248
|
+
var ContextualbarSkeleton_1 = __importDefault(__webpack_require__(/*! ./ContextualbarSkeleton */ "./src/components/ContextualbarV2/ContextualbarSkeleton.tsx"));
|
|
5249
|
+
exports.ContextualbarV2Skeleton = ContextualbarSkeleton_1.default;
|
|
5250
|
+
var ContextualbarTitle_1 = __importDefault(__webpack_require__(/*! ./ContextualbarTitle */ "./src/components/ContextualbarV2/ContextualbarTitle.tsx"));
|
|
5251
|
+
exports.ContextualbarV2Title = ContextualbarTitle_1.default;
|
|
4516
5252
|
|
|
4517
5253
|
|
|
4518
5254
|
/***/ }),
|
|
@@ -6777,6 +7513,7 @@ var Menu = function (_a) {
|
|
|
6777
7513
|
button ? ((0, react_1.cloneElement)(button, __assign(__assign({}, buttonProps), { ref: ref, icon: icon, className: className, title: title, pressed: pressed || state.isOpen }))) : (react_1.default.createElement(MenuButton, __assign({}, buttonProps, { ref: ref, icon: icon, className: className, title: title, pressed: pressed || state.isOpen, small: defaultSmall }, sizes))),
|
|
6778
7514
|
detached ? (0, react_dom_1.createPortal)(popover, document.body) : popover));
|
|
6779
7515
|
};
|
|
7516
|
+
Menu.displayName = 'MenuV2';
|
|
6780
7517
|
exports["default"] = Menu;
|
|
6781
7518
|
|
|
6782
7519
|
|
|
@@ -7197,9 +7934,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
7197
7934
|
};
|
|
7198
7935
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7199
7936
|
exports.MenuItemDescription = exports.MenuItemTitle = exports.MenuItemSkeleton = exports.MenuItemInput = exports.MenuItemIcon = exports.MenuItemContent = exports.MenuItemColumn = exports.MenuItemAvatar = exports.MenuSection = exports.MenuItem = exports.MenuV2 = void 0;
|
|
7200
|
-
var react_stately_1 = __webpack_require__(/*! react-stately */ "react-stately");
|
|
7201
|
-
Object.defineProperty(exports, "MenuItem", ({ enumerable: true, get: function () { return react_stately_1.Item; } }));
|
|
7202
|
-
Object.defineProperty(exports, "MenuSection", ({ enumerable: true, get: function () { return react_stately_1.Section; } }));
|
|
7203
7937
|
var Option_1 = __webpack_require__(/*! ../../Option */ "./src/components/Option/index.tsx");
|
|
7204
7938
|
Object.defineProperty(exports, "MenuItemIcon", ({ enumerable: true, get: function () { return Option_1.OptionIcon; } }));
|
|
7205
7939
|
Object.defineProperty(exports, "MenuItemAvatar", ({ enumerable: true, get: function () { return Option_1.OptionAvatar; } }));
|
|
@@ -7211,6 +7945,290 @@ Object.defineProperty(exports, "MenuItemTitle", ({ enumerable: true, get: functi
|
|
|
7211
7945
|
Object.defineProperty(exports, "MenuItemDescription", ({ enumerable: true, get: function () { return Option_1.OptionDescriptionBlock; } }));
|
|
7212
7946
|
var Menu_1 = __webpack_require__(/*! ./Menu */ "./src/components/Menu/V2/Menu.tsx");
|
|
7213
7947
|
Object.defineProperty(exports, "MenuV2", ({ enumerable: true, get: function () { return __importDefault(Menu_1).default; } }));
|
|
7948
|
+
var MenuItem_1 = __webpack_require__(/*! ./stately/MenuItem */ "./src/components/Menu/V2/stately/MenuItem.tsx");
|
|
7949
|
+
Object.defineProperty(exports, "MenuItem", ({ enumerable: true, get: function () { return __importDefault(MenuItem_1).default; } }));
|
|
7950
|
+
var MenuSection_1 = __webpack_require__(/*! ./stately/MenuSection */ "./src/components/Menu/V2/stately/MenuSection.tsx");
|
|
7951
|
+
Object.defineProperty(exports, "MenuSection", ({ enumerable: true, get: function () { return __importDefault(MenuSection_1).default; } }));
|
|
7952
|
+
|
|
7953
|
+
|
|
7954
|
+
/***/ }),
|
|
7955
|
+
|
|
7956
|
+
/***/ "./src/components/Menu/V2/stately/MenuItem.tsx":
|
|
7957
|
+
/*!*****************************************************!*\
|
|
7958
|
+
!*** ./src/components/Menu/V2/stately/MenuItem.tsx ***!
|
|
7959
|
+
\*****************************************************/
|
|
7960
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7961
|
+
|
|
7962
|
+
|
|
7963
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
7964
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
7965
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
7966
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
7967
|
+
function step(op) {
|
|
7968
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
7969
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
7970
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
7971
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
7972
|
+
switch (op[0]) {
|
|
7973
|
+
case 0: case 1: t = op; break;
|
|
7974
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
7975
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
7976
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
7977
|
+
default:
|
|
7978
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
7979
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
7980
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
7981
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
7982
|
+
if (t[2]) _.ops.pop();
|
|
7983
|
+
_.trys.pop(); continue;
|
|
7984
|
+
}
|
|
7985
|
+
op = body.call(thisArg, _);
|
|
7986
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
7987
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
7988
|
+
}
|
|
7989
|
+
};
|
|
7990
|
+
var __values = (this && this.__values) || function(o) {
|
|
7991
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
7992
|
+
if (m) return m.call(o);
|
|
7993
|
+
if (o && typeof o.length === "number") return {
|
|
7994
|
+
next: function () {
|
|
7995
|
+
if (o && i >= o.length) o = void 0;
|
|
7996
|
+
return { value: o && o[i++], done: !o };
|
|
7997
|
+
}
|
|
7998
|
+
};
|
|
7999
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
8000
|
+
};
|
|
8001
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8002
|
+
var react_1 = __webpack_require__(/*! react */ "react");
|
|
8003
|
+
function MenuItem(_props) {
|
|
8004
|
+
return null;
|
|
8005
|
+
}
|
|
8006
|
+
MenuItem.getCollectionNode = function getCollectionNode(props, context) {
|
|
8007
|
+
var childItems, title, children, rendered, textValue;
|
|
8008
|
+
return __generator(this, function (_a) {
|
|
8009
|
+
switch (_a.label) {
|
|
8010
|
+
case 0:
|
|
8011
|
+
childItems = props.childItems, title = props.title, children = props.children;
|
|
8012
|
+
rendered = props.title || props.children;
|
|
8013
|
+
textValue = props.textValue ||
|
|
8014
|
+
(typeof rendered === 'string' ? rendered : '') ||
|
|
8015
|
+
props['aria-label'] ||
|
|
8016
|
+
'';
|
|
8017
|
+
if (!textValue && !(context === null || context === void 0 ? void 0 : context.suppressTextValueWarning)) {
|
|
8018
|
+
console.warn('<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop.');
|
|
8019
|
+
}
|
|
8020
|
+
return [4 /*yield*/, {
|
|
8021
|
+
'type': 'item',
|
|
8022
|
+
props: props,
|
|
8023
|
+
rendered: rendered,
|
|
8024
|
+
textValue: textValue,
|
|
8025
|
+
'aria-label': props['aria-label'],
|
|
8026
|
+
'hasChildNodes': hasChildItems(props),
|
|
8027
|
+
'childNodes': function () {
|
|
8028
|
+
var childItems_1, childItems_1_1, child, e_1_1, items_1;
|
|
8029
|
+
var e_1, _a;
|
|
8030
|
+
return __generator(this, function (_b) {
|
|
8031
|
+
switch (_b.label) {
|
|
8032
|
+
case 0:
|
|
8033
|
+
if (!childItems) return [3 /*break*/, 9];
|
|
8034
|
+
_b.label = 1;
|
|
8035
|
+
case 1:
|
|
8036
|
+
_b.trys.push([1, 6, 7, 8]);
|
|
8037
|
+
childItems_1 = __values(childItems), childItems_1_1 = childItems_1.next();
|
|
8038
|
+
_b.label = 2;
|
|
8039
|
+
case 2:
|
|
8040
|
+
if (!!childItems_1_1.done) return [3 /*break*/, 5];
|
|
8041
|
+
child = childItems_1_1.value;
|
|
8042
|
+
return [4 /*yield*/, {
|
|
8043
|
+
type: 'item',
|
|
8044
|
+
value: child,
|
|
8045
|
+
}];
|
|
8046
|
+
case 3:
|
|
8047
|
+
_b.sent();
|
|
8048
|
+
_b.label = 4;
|
|
8049
|
+
case 4:
|
|
8050
|
+
childItems_1_1 = childItems_1.next();
|
|
8051
|
+
return [3 /*break*/, 2];
|
|
8052
|
+
case 5: return [3 /*break*/, 8];
|
|
8053
|
+
case 6:
|
|
8054
|
+
e_1_1 = _b.sent();
|
|
8055
|
+
e_1 = { error: e_1_1 };
|
|
8056
|
+
return [3 /*break*/, 8];
|
|
8057
|
+
case 7:
|
|
8058
|
+
try {
|
|
8059
|
+
if (childItems_1_1 && !childItems_1_1.done && (_a = childItems_1.return)) _a.call(childItems_1);
|
|
8060
|
+
}
|
|
8061
|
+
finally { if (e_1) throw e_1.error; }
|
|
8062
|
+
return [7 /*endfinally*/];
|
|
8063
|
+
case 8: return [3 /*break*/, 11];
|
|
8064
|
+
case 9:
|
|
8065
|
+
if (!title) return [3 /*break*/, 11];
|
|
8066
|
+
items_1 = [];
|
|
8067
|
+
react_1.Children.forEach(children, function (child) {
|
|
8068
|
+
items_1.push({
|
|
8069
|
+
type: 'item',
|
|
8070
|
+
element: child,
|
|
8071
|
+
});
|
|
8072
|
+
});
|
|
8073
|
+
return [5 /*yield**/, __values(items_1)];
|
|
8074
|
+
case 10:
|
|
8075
|
+
_b.sent();
|
|
8076
|
+
_b.label = 11;
|
|
8077
|
+
case 11: return [2 /*return*/];
|
|
8078
|
+
}
|
|
8079
|
+
});
|
|
8080
|
+
},
|
|
8081
|
+
}];
|
|
8082
|
+
case 1:
|
|
8083
|
+
_a.sent();
|
|
8084
|
+
return [2 /*return*/];
|
|
8085
|
+
}
|
|
8086
|
+
});
|
|
8087
|
+
};
|
|
8088
|
+
function hasChildItems(props) {
|
|
8089
|
+
if (props.hasChildItems != null) {
|
|
8090
|
+
return props.hasChildItems;
|
|
8091
|
+
}
|
|
8092
|
+
if (props.childItems) {
|
|
8093
|
+
return true;
|
|
8094
|
+
}
|
|
8095
|
+
if (props.title && react_1.Children.count(props.children) > 0) {
|
|
8096
|
+
return true;
|
|
8097
|
+
}
|
|
8098
|
+
return false;
|
|
8099
|
+
}
|
|
8100
|
+
exports["default"] = MenuItem;
|
|
8101
|
+
|
|
8102
|
+
|
|
8103
|
+
/***/ }),
|
|
8104
|
+
|
|
8105
|
+
/***/ "./src/components/Menu/V2/stately/MenuSection.tsx":
|
|
8106
|
+
/*!********************************************************!*\
|
|
8107
|
+
!*** ./src/components/Menu/V2/stately/MenuSection.tsx ***!
|
|
8108
|
+
\********************************************************/
|
|
8109
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
8110
|
+
|
|
8111
|
+
|
|
8112
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
8113
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
8114
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
8115
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
8116
|
+
function step(op) {
|
|
8117
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
8118
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
8119
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
8120
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
8121
|
+
switch (op[0]) {
|
|
8122
|
+
case 0: case 1: t = op; break;
|
|
8123
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
8124
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
8125
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
8126
|
+
default:
|
|
8127
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
8128
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
8129
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
8130
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
8131
|
+
if (t[2]) _.ops.pop();
|
|
8132
|
+
_.trys.pop(); continue;
|
|
8133
|
+
}
|
|
8134
|
+
op = body.call(thisArg, _);
|
|
8135
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
8136
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
8137
|
+
}
|
|
8138
|
+
};
|
|
8139
|
+
var __values = (this && this.__values) || function(o) {
|
|
8140
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
8141
|
+
if (m) return m.call(o);
|
|
8142
|
+
if (o && typeof o.length === "number") return {
|
|
8143
|
+
next: function () {
|
|
8144
|
+
if (o && i >= o.length) o = void 0;
|
|
8145
|
+
return { value: o && o[i++], done: !o };
|
|
8146
|
+
}
|
|
8147
|
+
};
|
|
8148
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
8149
|
+
};
|
|
8150
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8151
|
+
var react_1 = __webpack_require__(/*! react */ "react");
|
|
8152
|
+
function MenuSection(_props) {
|
|
8153
|
+
return null;
|
|
8154
|
+
}
|
|
8155
|
+
MenuSection.getCollectionNode = function getCollectionNode(props) {
|
|
8156
|
+
var children, title, items;
|
|
8157
|
+
return __generator(this, function (_a) {
|
|
8158
|
+
switch (_a.label) {
|
|
8159
|
+
case 0:
|
|
8160
|
+
children = props.children, title = props.title, items = props.items;
|
|
8161
|
+
return [4 /*yield*/, {
|
|
8162
|
+
'type': 'section',
|
|
8163
|
+
props: props,
|
|
8164
|
+
'hasChildNodes': true,
|
|
8165
|
+
'rendered': title,
|
|
8166
|
+
'aria-label': props['aria-label'],
|
|
8167
|
+
'childNodes': function () {
|
|
8168
|
+
var items_1, items_1_1, item, e_1_1, items_2;
|
|
8169
|
+
var e_1, _a;
|
|
8170
|
+
return __generator(this, function (_b) {
|
|
8171
|
+
switch (_b.label) {
|
|
8172
|
+
case 0:
|
|
8173
|
+
if (!(typeof children === 'function')) return [3 /*break*/, 9];
|
|
8174
|
+
if (!items) {
|
|
8175
|
+
throw new Error('props.children was a function but props.items is missing');
|
|
8176
|
+
}
|
|
8177
|
+
_b.label = 1;
|
|
8178
|
+
case 1:
|
|
8179
|
+
_b.trys.push([1, 6, 7, 8]);
|
|
8180
|
+
items_1 = __values(items), items_1_1 = items_1.next();
|
|
8181
|
+
_b.label = 2;
|
|
8182
|
+
case 2:
|
|
8183
|
+
if (!!items_1_1.done) return [3 /*break*/, 5];
|
|
8184
|
+
item = items_1_1.value;
|
|
8185
|
+
return [4 /*yield*/, {
|
|
8186
|
+
type: 'item',
|
|
8187
|
+
value: item,
|
|
8188
|
+
renderer: children,
|
|
8189
|
+
}];
|
|
8190
|
+
case 3:
|
|
8191
|
+
_b.sent();
|
|
8192
|
+
_b.label = 4;
|
|
8193
|
+
case 4:
|
|
8194
|
+
items_1_1 = items_1.next();
|
|
8195
|
+
return [3 /*break*/, 2];
|
|
8196
|
+
case 5: return [3 /*break*/, 8];
|
|
8197
|
+
case 6:
|
|
8198
|
+
e_1_1 = _b.sent();
|
|
8199
|
+
e_1 = { error: e_1_1 };
|
|
8200
|
+
return [3 /*break*/, 8];
|
|
8201
|
+
case 7:
|
|
8202
|
+
try {
|
|
8203
|
+
if (items_1_1 && !items_1_1.done && (_a = items_1.return)) _a.call(items_1);
|
|
8204
|
+
}
|
|
8205
|
+
finally { if (e_1) throw e_1.error; }
|
|
8206
|
+
return [7 /*endfinally*/];
|
|
8207
|
+
case 8: return [3 /*break*/, 11];
|
|
8208
|
+
case 9:
|
|
8209
|
+
items_2 = [];
|
|
8210
|
+
react_1.Children.forEach(children, function (child) {
|
|
8211
|
+
items_2.push({
|
|
8212
|
+
type: 'item',
|
|
8213
|
+
element: child,
|
|
8214
|
+
});
|
|
8215
|
+
});
|
|
8216
|
+
return [5 /*yield**/, __values(items_2)];
|
|
8217
|
+
case 10:
|
|
8218
|
+
_b.sent();
|
|
8219
|
+
_b.label = 11;
|
|
8220
|
+
case 11: return [2 /*return*/];
|
|
8221
|
+
}
|
|
8222
|
+
});
|
|
8223
|
+
},
|
|
8224
|
+
}];
|
|
8225
|
+
case 1:
|
|
8226
|
+
_a.sent();
|
|
8227
|
+
return [2 /*return*/];
|
|
8228
|
+
}
|
|
8229
|
+
});
|
|
8230
|
+
};
|
|
8231
|
+
exports["default"] = MenuSection;
|
|
7214
8232
|
|
|
7215
8233
|
|
|
7216
8234
|
/***/ }),
|
|
@@ -15583,7 +16601,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
15583
16601
|
exports.SidebarDivider = void 0;
|
|
15584
16602
|
var react_1 = __importDefault(__webpack_require__(/*! react */ "react"));
|
|
15585
16603
|
var Divider_1 = __webpack_require__(/*! ../Divider */ "./src/components/Divider/index.tsx");
|
|
15586
|
-
var SidebarDivider = function () { return (react_1.default.createElement(Divider_1.Divider, { "rcx-sidebar--divider": true, mbs:
|
|
16604
|
+
var SidebarDivider = function () { return (react_1.default.createElement(Divider_1.Divider, { "rcx-sidebar--divider": true, mbs: -2, mbe: 0 })); };
|
|
15587
16605
|
exports.SidebarDivider = SidebarDivider;
|
|
15588
16606
|
|
|
15589
16607
|
|
|
@@ -15924,6 +16942,55 @@ var TopBarToolBox = function (_a) {
|
|
|
15924
16942
|
exports.TopBarToolBox = TopBarToolBox;
|
|
15925
16943
|
|
|
15926
16944
|
|
|
16945
|
+
/***/ }),
|
|
16946
|
+
|
|
16947
|
+
/***/ "./src/components/Sidebar/TopBar/TopBarV2.tsx":
|
|
16948
|
+
/*!****************************************************!*\
|
|
16949
|
+
!*** ./src/components/Sidebar/TopBar/TopBarV2.tsx ***!
|
|
16950
|
+
\****************************************************/
|
|
16951
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
16952
|
+
|
|
16953
|
+
|
|
16954
|
+
var __assign = (this && this.__assign) || function () {
|
|
16955
|
+
__assign = Object.assign || function(t) {
|
|
16956
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
16957
|
+
s = arguments[i];
|
|
16958
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
16959
|
+
t[p] = s[p];
|
|
16960
|
+
}
|
|
16961
|
+
return t;
|
|
16962
|
+
};
|
|
16963
|
+
return __assign.apply(this, arguments);
|
|
16964
|
+
};
|
|
16965
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
16966
|
+
var t = {};
|
|
16967
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16968
|
+
t[p] = s[p];
|
|
16969
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
16970
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
16971
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
16972
|
+
t[p[i]] = s[p[i]];
|
|
16973
|
+
}
|
|
16974
|
+
return t;
|
|
16975
|
+
};
|
|
16976
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16977
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
16978
|
+
};
|
|
16979
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
16980
|
+
exports.TopBarV2 = void 0;
|
|
16981
|
+
var react_1 = __importDefault(__webpack_require__(/*! react */ "react"));
|
|
16982
|
+
var TopBarV2 = function (_a) {
|
|
16983
|
+
var className = _a.className, props = __rest(_a, ["className"]);
|
|
16984
|
+
return (react_1.default.createElement("div", __assign({ className: [
|
|
16985
|
+
'rc-box rc-box--full rcx-sidebar-topbar-v2 rcx-sidebar-topbar-v2',
|
|
16986
|
+
className,
|
|
16987
|
+
]
|
|
16988
|
+
.filter(Boolean)
|
|
16989
|
+
.join(' ') }, props)));
|
|
16990
|
+
};
|
|
16991
|
+
exports.TopBarV2 = TopBarV2;
|
|
16992
|
+
|
|
16993
|
+
|
|
15927
16994
|
/***/ }),
|
|
15928
16995
|
|
|
15929
16996
|
/***/ "./src/components/Sidebar/TopBar/TopBarWrapper.tsx":
|
|
@@ -16000,6 +17067,7 @@ exports["default"] = Object.assign(TopBar_1.TopBar, {
|
|
|
16000
17067
|
Title: TopBarTitle_1.TopBarTitle,
|
|
16001
17068
|
});
|
|
16002
17069
|
__exportStar(__webpack_require__(/*! ./TopBar */ "./src/components/Sidebar/TopBar/TopBar.tsx"), exports);
|
|
17070
|
+
__exportStar(__webpack_require__(/*! ./TopBarV2 */ "./src/components/Sidebar/TopBar/TopBarV2.tsx"), exports);
|
|
16003
17071
|
__exportStar(__webpack_require__(/*! ./TopBarAction */ "./src/components/Sidebar/TopBar/TopBarAction.tsx"), exports);
|
|
16004
17072
|
__exportStar(__webpack_require__(/*! ./TopBarActions */ "./src/components/Sidebar/TopBar/TopBarActions.tsx"), exports);
|
|
16005
17073
|
__exportStar(__webpack_require__(/*! ./TopBarSection */ "./src/components/Sidebar/TopBar/TopBarSection.tsx"), exports);
|
|
@@ -17338,14 +18406,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17338
18406
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17339
18407
|
};
|
|
17340
18408
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
17341
|
-
exports.Table =
|
|
18409
|
+
exports.Table = void 0;
|
|
17342
18410
|
var react_1 = __importDefault(__webpack_require__(/*! react */ "react"));
|
|
17343
18411
|
var Box_1 = __importDefault(__webpack_require__(/*! ../Box */ "./src/components/Box/index.tsx"));
|
|
17344
|
-
exports.style = {
|
|
17345
|
-
overflow: 'hidden',
|
|
17346
|
-
textOverflow: 'ellipsis',
|
|
17347
|
-
whiteSpace: 'nowrap',
|
|
17348
|
-
};
|
|
17349
18412
|
var Table = function (_a) {
|
|
17350
18413
|
var striped = _a.striped, sticky = _a.sticky, _b = _a.fixed, fixed = _b === void 0 ? false : _b, props = __rest(_a, ["striped", "sticky", "fixed"]);
|
|
17351
18414
|
return (react_1.default.createElement(Box_1.default, { "rcx-table__wrapper": true },
|
|
@@ -17590,10 +18653,10 @@ exports.TableRow = TableRow;
|
|
|
17590
18653
|
|
|
17591
18654
|
/***/ }),
|
|
17592
18655
|
|
|
17593
|
-
/***/ "./src/components/Table/TableSelection.tsx":
|
|
17594
|
-
|
|
17595
|
-
!*** ./src/components/Table/TableSelection.tsx ***!
|
|
17596
|
-
|
|
18656
|
+
/***/ "./src/components/Table/TableSelection/TableSelection.tsx":
|
|
18657
|
+
/*!****************************************************************!*\
|
|
18658
|
+
!*** ./src/components/Table/TableSelection/TableSelection.tsx ***!
|
|
18659
|
+
\****************************************************************/
|
|
17597
18660
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
17598
18661
|
|
|
17599
18662
|
|
|
@@ -17625,13 +18688,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17625
18688
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
17626
18689
|
exports.TableSelection = void 0;
|
|
17627
18690
|
var react_1 = __importDefault(__webpack_require__(/*! react */ "react"));
|
|
17628
|
-
var Box_1 = __importDefault(__webpack_require__(/*!
|
|
17629
|
-
var Margins_1 = __importDefault(__webpack_require__(/*!
|
|
17630
|
-
var Table_1 = __webpack_require__(/*! ./Table */ "./src/components/Table/Table.tsx");
|
|
18691
|
+
var Box_1 = __importDefault(__webpack_require__(/*! ../../Box */ "./src/components/Box/index.tsx"));
|
|
18692
|
+
var Margins_1 = __importDefault(__webpack_require__(/*! ../../Margins */ "./src/components/Margins/index.ts"));
|
|
17631
18693
|
var TableSelection = function (_a) {
|
|
17632
18694
|
var children = _a.children, text = _a.text, props = __rest(_a, ["children", "text"]);
|
|
17633
|
-
return (react_1.default.createElement(Box_1.default, __assign({ "rcx-table__selection": true, display: 'flex', alignItems: 'center', justifyContent: 'space-between'
|
|
17634
|
-
react_1.default.createElement(Box_1.default, { fontScale: '
|
|
18695
|
+
return (react_1.default.createElement(Box_1.default, __assign({ "rcx-table__selection": true, display: 'flex', alignItems: 'center', justifyContent: 'space-between', pi: 24, elevation: '2' }, props),
|
|
18696
|
+
react_1.default.createElement(Box_1.default, { fontScale: 'p2b', mb: 16, flexShrink: 1, withTruncatedText: true }, text),
|
|
17635
18697
|
children && (react_1.default.createElement(Box_1.default, { mi: 'neg-x8', fontScale: 'p2m', flexShrink: 0 },
|
|
17636
18698
|
react_1.default.createElement(Margins_1.default, { inline: 'x4' }, children)))));
|
|
17637
18699
|
};
|
|
@@ -17640,10 +18702,10 @@ exports.TableSelection = TableSelection;
|
|
|
17640
18702
|
|
|
17641
18703
|
/***/ }),
|
|
17642
18704
|
|
|
17643
|
-
/***/ "./src/components/Table/TableSelectionButton.tsx":
|
|
17644
|
-
|
|
17645
|
-
!*** ./src/components/Table/TableSelectionButton.tsx ***!
|
|
17646
|
-
|
|
18705
|
+
/***/ "./src/components/Table/TableSelection/TableSelectionButton.tsx":
|
|
18706
|
+
/*!**********************************************************************!*\
|
|
18707
|
+
!*** ./src/components/Table/TableSelection/TableSelectionButton.tsx ***!
|
|
18708
|
+
\**********************************************************************/
|
|
17647
18709
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
17648
18710
|
|
|
17649
18711
|
|
|
@@ -17664,11 +18726,71 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17664
18726
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
17665
18727
|
exports.TableSelectionButton = void 0;
|
|
17666
18728
|
var react_1 = __importDefault(__webpack_require__(/*! react */ "react"));
|
|
17667
|
-
var Button_1 = __webpack_require__(/*!
|
|
17668
|
-
var TableSelectionButton = function (props) { return (react_1.default.createElement(Button_1.Button, __assign({ small: true,
|
|
18729
|
+
var Button_1 = __webpack_require__(/*! ../../Button */ "./src/components/Button/index.ts");
|
|
18730
|
+
var TableSelectionButton = function (props) { return (react_1.default.createElement(Button_1.Button, __assign({ small: true, flexShrink: 0 }, props))); };
|
|
17669
18731
|
exports.TableSelectionButton = TableSelectionButton;
|
|
17670
18732
|
|
|
17671
18733
|
|
|
18734
|
+
/***/ }),
|
|
18735
|
+
|
|
18736
|
+
/***/ "./src/components/Table/TableSelection/TableSelectionButtonGroup.tsx":
|
|
18737
|
+
/*!***************************************************************************!*\
|
|
18738
|
+
!*** ./src/components/Table/TableSelection/TableSelectionButtonGroup.tsx ***!
|
|
18739
|
+
\***************************************************************************/
|
|
18740
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
18741
|
+
|
|
18742
|
+
|
|
18743
|
+
var __assign = (this && this.__assign) || function () {
|
|
18744
|
+
__assign = Object.assign || function(t) {
|
|
18745
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
18746
|
+
s = arguments[i];
|
|
18747
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
18748
|
+
t[p] = s[p];
|
|
18749
|
+
}
|
|
18750
|
+
return t;
|
|
18751
|
+
};
|
|
18752
|
+
return __assign.apply(this, arguments);
|
|
18753
|
+
};
|
|
18754
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18755
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18756
|
+
};
|
|
18757
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
18758
|
+
exports.TableSelectionButtonGroup = void 0;
|
|
18759
|
+
var react_1 = __importDefault(__webpack_require__(/*! react */ "react"));
|
|
18760
|
+
var ButtonGroup_1 = __webpack_require__(/*! ../../ButtonGroup */ "./src/components/ButtonGroup/index.ts");
|
|
18761
|
+
var TableSelectionButtonGroup = function (props) { return react_1.default.createElement(ButtonGroup_1.ButtonGroup, __assign({}, props)); };
|
|
18762
|
+
exports.TableSelectionButtonGroup = TableSelectionButtonGroup;
|
|
18763
|
+
|
|
18764
|
+
|
|
18765
|
+
/***/ }),
|
|
18766
|
+
|
|
18767
|
+
/***/ "./src/components/Table/TableSelection/index.ts":
|
|
18768
|
+
/*!******************************************************!*\
|
|
18769
|
+
!*** ./src/components/Table/TableSelection/index.ts ***!
|
|
18770
|
+
\******************************************************/
|
|
18771
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
18772
|
+
|
|
18773
|
+
|
|
18774
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18775
|
+
if (k2 === undefined) k2 = k;
|
|
18776
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18777
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
18778
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18779
|
+
}
|
|
18780
|
+
Object.defineProperty(o, k2, desc);
|
|
18781
|
+
}) : (function(o, m, k, k2) {
|
|
18782
|
+
if (k2 === undefined) k2 = k;
|
|
18783
|
+
o[k2] = m[k];
|
|
18784
|
+
}));
|
|
18785
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
18786
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
18787
|
+
};
|
|
18788
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
18789
|
+
__exportStar(__webpack_require__(/*! ./TableSelection */ "./src/components/Table/TableSelection/TableSelection.tsx"), exports);
|
|
18790
|
+
__exportStar(__webpack_require__(/*! ./TableSelectionButton */ "./src/components/Table/TableSelection/TableSelectionButton.tsx"), exports);
|
|
18791
|
+
__exportStar(__webpack_require__(/*! ./TableSelectionButtonGroup */ "./src/components/Table/TableSelection/TableSelectionButtonGroup.tsx"), exports);
|
|
18792
|
+
|
|
18793
|
+
|
|
17672
18794
|
/***/ }),
|
|
17673
18795
|
|
|
17674
18796
|
/***/ "./src/components/Table/index.ts":
|
|
@@ -17699,8 +18821,7 @@ __exportStar(__webpack_require__(/*! ./TableCell */ "./src/components/Table/Tabl
|
|
|
17699
18821
|
__exportStar(__webpack_require__(/*! ./TableFoot */ "./src/components/Table/TableFoot.tsx"), exports);
|
|
17700
18822
|
__exportStar(__webpack_require__(/*! ./TableHead */ "./src/components/Table/TableHead.tsx"), exports);
|
|
17701
18823
|
__exportStar(__webpack_require__(/*! ./TableRow */ "./src/components/Table/TableRow.tsx"), exports);
|
|
17702
|
-
__exportStar(__webpack_require__(/*! ./TableSelection */ "./src/components/Table/TableSelection.
|
|
17703
|
-
__exportStar(__webpack_require__(/*! ./TableSelectionButton */ "./src/components/Table/TableSelectionButton.tsx"), exports);
|
|
18824
|
+
__exportStar(__webpack_require__(/*! ./TableSelection */ "./src/components/Table/TableSelection/index.ts"), exports);
|
|
17704
18825
|
|
|
17705
18826
|
|
|
17706
18827
|
/***/ }),
|
|
@@ -18792,6 +19913,7 @@ __exportStar(__webpack_require__(/*! ./Chevron */ "./src/components/Chevron/inde
|
|
|
18792
19913
|
var CodeSnippet_1 = __webpack_require__(/*! ./CodeSnippet */ "./src/components/CodeSnippet/index.tsx");
|
|
18793
19914
|
Object.defineProperty(exports, "CodeSnippet", ({ enumerable: true, get: function () { return __importDefault(CodeSnippet_1).default; } }));
|
|
18794
19915
|
__exportStar(__webpack_require__(/*! ./Contextualbar */ "./src/components/Contextualbar/index.ts"), exports);
|
|
19916
|
+
__exportStar(__webpack_require__(/*! ./ContextualbarV2 */ "./src/components/ContextualbarV2/index.ts"), exports);
|
|
18795
19917
|
var Chip_1 = __webpack_require__(/*! ./Chip */ "./src/components/Chip/index.ts");
|
|
18796
19918
|
Object.defineProperty(exports, "Chip", ({ enumerable: true, get: function () { return __importDefault(Chip_1).default; } }));
|
|
18797
19919
|
__exportStar(__webpack_require__(/*! ./Divider */ "./src/components/Divider/index.tsx"), exports);
|