@rocket.chat/fuselage 0.6.3-dev.357 → 0.6.3-dev.358

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.
@@ -7399,232 +7399,6 @@ var NumberInput = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)
7399
7399
 
7400
7400
  /***/ }),
7401
7401
 
7402
- /***/ "./src/components/Options/Option/index.js":
7403
- /*!************************************************!*\
7404
- !*** ./src/components/Options/Option/index.js ***!
7405
- \************************************************/
7406
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
7407
-
7408
- "use strict";
7409
- __webpack_require__.r(__webpack_exports__);
7410
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7411
- /* harmony export */ "OptionMenu": function() { return /* binding */ OptionMenu; },
7412
- /* harmony export */ "Option": function() { return /* binding */ Option; }
7413
- /* harmony export */ });
7414
- /* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ "../../node_modules/@babel/runtime/helpers/objectWithoutProperties.js");
7415
- /* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__);
7416
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
7417
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
7418
- /* harmony import */ var _Icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../Icon */ "./src/components/Icon/index.js");
7419
- /* harmony import */ var _Skeleton__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../Skeleton */ "./src/components/Skeleton/index.js");
7420
-
7421
- var _excluded = ["is", "id", "presence", "children", "label", "focus", "selected", "className", "ref", "icon", "avatar"];
7422
-
7423
- var _jsxFileName = "/home/runner/work/Rocket.Chat.Fuselage/Rocket.Chat.Fuselage/packages/fuselage/src/components/Options/Option/index.js",
7424
- _this = undefined;
7425
-
7426
-
7427
-
7428
-
7429
-
7430
- var OptionColumn = function OptionColumn(props) {
7431
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", Object.assign({
7432
- className: "rcx-option__column"
7433
- }, props, {
7434
- __self: _this,
7435
- __source: {
7436
- fileName: _jsxFileName,
7437
- lineNumber: 7,
7438
- columnNumber: 3
7439
- }
7440
- }));
7441
- };
7442
-
7443
- var OptionContent = function OptionContent(props) {
7444
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", Object.assign({
7445
- className: "rcx-option__content"
7446
- }, props, {
7447
- __self: _this,
7448
- __source: {
7449
- fileName: _jsxFileName,
7450
- lineNumber: 10,
7451
- columnNumber: 3
7452
- }
7453
- }));
7454
- };
7455
-
7456
- var OptionAvatar = function OptionAvatar(props) {
7457
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", Object.assign({
7458
- className: "rcx-option__avatar"
7459
- }, props, {
7460
- __self: _this,
7461
- __source: {
7462
- fileName: _jsxFileName,
7463
- lineNumber: 13,
7464
- columnNumber: 3
7465
- }
7466
- }));
7467
- };
7468
-
7469
- var OptionDescription = function OptionDescription(props) {
7470
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", Object.assign({
7471
- className: "rcx-option__description"
7472
- }, props, {
7473
- __self: _this,
7474
- __source: {
7475
- fileName: _jsxFileName,
7476
- lineNumber: 16,
7477
- columnNumber: 3
7478
- }
7479
- }));
7480
- };
7481
-
7482
- var OptionIcon = function OptionIcon(_ref) {
7483
- var name = _ref.name;
7484
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(OptionColumn, {
7485
- __self: _this,
7486
- __source: {
7487
- fileName: _jsxFileName,
7488
- lineNumber: 19,
7489
- columnNumber: 3
7490
- }
7491
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_Icon__WEBPACK_IMPORTED_MODULE_2__.Icon, {
7492
- size: "x20",
7493
- name: name,
7494
- __self: _this,
7495
- __source: {
7496
- fileName: _jsxFileName,
7497
- lineNumber: 20,
7498
- columnNumber: 5
7499
- }
7500
- }));
7501
- };
7502
-
7503
- var OptionSkeleton = function OptionSkeleton(props) {
7504
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Option, Object.assign({}, props, {
7505
- __self: _this,
7506
- __source: {
7507
- fileName: _jsxFileName,
7508
- lineNumber: 25,
7509
- columnNumber: 3
7510
- }
7511
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Option.Avatar, {
7512
- __self: _this,
7513
- __source: {
7514
- fileName: _jsxFileName,
7515
- lineNumber: 26,
7516
- columnNumber: 5
7517
- }
7518
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_Skeleton__WEBPACK_IMPORTED_MODULE_3__.Skeleton, {
7519
- variant: "rect",
7520
- width: 28,
7521
- height: 28,
7522
- __self: _this,
7523
- __source: {
7524
- fileName: _jsxFileName,
7525
- lineNumber: 27,
7526
- columnNumber: 7
7527
- }
7528
- })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Option.Content, {
7529
- __self: _this,
7530
- __source: {
7531
- fileName: _jsxFileName,
7532
- lineNumber: 29,
7533
- columnNumber: 5
7534
- }
7535
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_Skeleton__WEBPACK_IMPORTED_MODULE_3__.Skeleton, {
7536
- width: "100%",
7537
- __self: _this,
7538
- __source: {
7539
- fileName: _jsxFileName,
7540
- lineNumber: 30,
7541
- columnNumber: 7
7542
- }
7543
- })));
7544
- };
7545
-
7546
- var OptionMenu = function OptionMenu(props) {
7547
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", Object.assign({
7548
- className: "rcx-box--animated rcx-option__menu-wraper"
7549
- }, props, {
7550
- __self: _this,
7551
- __source: {
7552
- fileName: _jsxFileName,
7553
- lineNumber: 36,
7554
- columnNumber: 3
7555
- }
7556
- }));
7557
- };
7558
- var Option = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().memo(function (_ref2) {
7559
- var _ref2$is = _ref2.is,
7560
- Tag = _ref2$is === void 0 ? 'li' : _ref2$is,
7561
- id = _ref2.id,
7562
- presence = _ref2.presence,
7563
- children = _ref2.children,
7564
- label = _ref2.label,
7565
- focus = _ref2.focus,
7566
- selected = _ref2.selected,
7567
- className = _ref2.className,
7568
- ref = _ref2.ref,
7569
- icon = _ref2.icon,
7570
- avatar = _ref2.avatar,
7571
- options = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0___default()(_ref2, _excluded);
7572
-
7573
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Tag, Object.assign({
7574
- key: id,
7575
- id: id,
7576
- ref: ref,
7577
- "aria-selected": selected
7578
- }, options, {
7579
- className: ['rcx-option', className, focus && 'rcx-option--focus', selected && 'rcx-option--selected'].filter(Boolean).join(' '),
7580
- __self: _this,
7581
- __source: {
7582
- fileName: _jsxFileName,
7583
- lineNumber: 54,
7584
- columnNumber: 5
7585
- }
7586
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", {
7587
- className: "rcx-option__wrapper",
7588
- __self: _this,
7589
- __source: {
7590
- fileName: _jsxFileName,
7591
- lineNumber: 69,
7592
- columnNumber: 7
7593
- }
7594
- }, avatar && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Option.Avatar, {
7595
- __self: _this,
7596
- __source: {
7597
- fileName: _jsxFileName,
7598
- lineNumber: 70,
7599
- columnNumber: 20
7600
- }
7601
- }, avatar), icon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Option.Icon, {
7602
- name: icon,
7603
- __self: _this,
7604
- __source: {
7605
- fileName: _jsxFileName,
7606
- lineNumber: 71,
7607
- columnNumber: 18
7608
- }
7609
- }), label && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Option.Content, {
7610
- __self: _this,
7611
- __source: {
7612
- fileName: _jsxFileName,
7613
- lineNumber: 72,
7614
- columnNumber: 19
7615
- }
7616
- }, label), label !== children && children));
7617
- });
7618
- Option.Description = OptionDescription;
7619
- Option.Skeleton = OptionSkeleton;
7620
- Option.Avatar = OptionAvatar;
7621
- Option.Menu = OptionMenu;
7622
- Option.Icon = OptionIcon;
7623
- Option.Column = OptionColumn;
7624
- Option.Content = OptionContent;
7625
-
7626
- /***/ }),
7627
-
7628
7402
  /***/ "./src/components/Options/index.js":
7629
7403
  /*!*****************************************!*\
7630
7404
  !*** ./src/components/Options/index.js ***!
@@ -7650,7 +7424,7 @@ __webpack_require__.r(__webpack_exports__);
7650
7424
  /* harmony import */ var _Box__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Box */ "./src/components/Box/index.js");
7651
7425
  /* harmony import */ var _CheckBox__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../CheckBox */ "./src/components/CheckBox/index.js");
7652
7426
  /* harmony import */ var _Tile__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Tile */ "./src/components/Tile/index.ts");
7653
- /* harmony import */ var _Option__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Option */ "./src/components/Options/Option/index.js");
7427
+ /* harmony import */ var _Option__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Option */ "./src/components/Options/Option/index.tsx");
7654
7428
  /* harmony import */ var _useCursor__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./useCursor */ "./src/components/Options/useCursor.ts");
7655
7429
 
7656
7430
 
@@ -7820,232 +7594,6 @@ Options.AvatarSize = 'x20';
7820
7594
 
7821
7595
  /***/ }),
7822
7596
 
7823
- /***/ "./src/components/OptionsPaginated/Option/index.js":
7824
- /*!*********************************************************!*\
7825
- !*** ./src/components/OptionsPaginated/Option/index.js ***!
7826
- \*********************************************************/
7827
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
7828
-
7829
- "use strict";
7830
- __webpack_require__.r(__webpack_exports__);
7831
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7832
- /* harmony export */ "OptionMenu": function() { return /* binding */ OptionMenu; },
7833
- /* harmony export */ "Option": function() { return /* binding */ Option; }
7834
- /* harmony export */ });
7835
- /* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ "../../node_modules/@babel/runtime/helpers/objectWithoutProperties.js");
7836
- /* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__);
7837
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
7838
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
7839
- /* harmony import */ var _Icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../Icon */ "./src/components/Icon/index.js");
7840
- /* harmony import */ var _Skeleton__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../Skeleton */ "./src/components/Skeleton/index.js");
7841
-
7842
- var _excluded = ["is", "id", "presence", "children", "label", "focus", "selected", "className", "ref", "icon", "avatar"];
7843
-
7844
- var _jsxFileName = "/home/runner/work/Rocket.Chat.Fuselage/Rocket.Chat.Fuselage/packages/fuselage/src/components/OptionsPaginated/Option/index.js",
7845
- _this = undefined;
7846
-
7847
-
7848
-
7849
-
7850
-
7851
- var OptionColumn = function OptionColumn(props) {
7852
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", Object.assign({
7853
- className: "rcx-option__column"
7854
- }, props, {
7855
- __self: _this,
7856
- __source: {
7857
- fileName: _jsxFileName,
7858
- lineNumber: 7,
7859
- columnNumber: 3
7860
- }
7861
- }));
7862
- };
7863
-
7864
- var OptionContent = function OptionContent(props) {
7865
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", Object.assign({
7866
- className: "rcx-option__content"
7867
- }, props, {
7868
- __self: _this,
7869
- __source: {
7870
- fileName: _jsxFileName,
7871
- lineNumber: 10,
7872
- columnNumber: 3
7873
- }
7874
- }));
7875
- };
7876
-
7877
- var OptionAvatar = function OptionAvatar(props) {
7878
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", Object.assign({
7879
- className: "rcx-option__avatar"
7880
- }, props, {
7881
- __self: _this,
7882
- __source: {
7883
- fileName: _jsxFileName,
7884
- lineNumber: 13,
7885
- columnNumber: 3
7886
- }
7887
- }));
7888
- };
7889
-
7890
- var OptionDescription = function OptionDescription(props) {
7891
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", Object.assign({
7892
- className: "rcx-option__description"
7893
- }, props, {
7894
- __self: _this,
7895
- __source: {
7896
- fileName: _jsxFileName,
7897
- lineNumber: 16,
7898
- columnNumber: 3
7899
- }
7900
- }));
7901
- };
7902
-
7903
- var OptionIcon = function OptionIcon(_ref) {
7904
- var name = _ref.name;
7905
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(OptionColumn, {
7906
- __self: _this,
7907
- __source: {
7908
- fileName: _jsxFileName,
7909
- lineNumber: 19,
7910
- columnNumber: 3
7911
- }
7912
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_Icon__WEBPACK_IMPORTED_MODULE_2__.Icon, {
7913
- size: "x20",
7914
- name: name,
7915
- __self: _this,
7916
- __source: {
7917
- fileName: _jsxFileName,
7918
- lineNumber: 20,
7919
- columnNumber: 5
7920
- }
7921
- }));
7922
- };
7923
-
7924
- var OptionSkeleton = function OptionSkeleton(props) {
7925
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Option, Object.assign({}, props, {
7926
- __self: _this,
7927
- __source: {
7928
- fileName: _jsxFileName,
7929
- lineNumber: 25,
7930
- columnNumber: 3
7931
- }
7932
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Option.Avatar, {
7933
- __self: _this,
7934
- __source: {
7935
- fileName: _jsxFileName,
7936
- lineNumber: 26,
7937
- columnNumber: 5
7938
- }
7939
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_Skeleton__WEBPACK_IMPORTED_MODULE_3__.Skeleton, {
7940
- variant: "rect",
7941
- width: 28,
7942
- height: 28,
7943
- __self: _this,
7944
- __source: {
7945
- fileName: _jsxFileName,
7946
- lineNumber: 27,
7947
- columnNumber: 7
7948
- }
7949
- })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Option.Content, {
7950
- __self: _this,
7951
- __source: {
7952
- fileName: _jsxFileName,
7953
- lineNumber: 29,
7954
- columnNumber: 5
7955
- }
7956
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_Skeleton__WEBPACK_IMPORTED_MODULE_3__.Skeleton, {
7957
- width: "100%",
7958
- __self: _this,
7959
- __source: {
7960
- fileName: _jsxFileName,
7961
- lineNumber: 30,
7962
- columnNumber: 7
7963
- }
7964
- })));
7965
- };
7966
-
7967
- var OptionMenu = function OptionMenu(props) {
7968
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", Object.assign({
7969
- className: "rcx-box--animated rcx-option__menu-wraper"
7970
- }, props, {
7971
- __self: _this,
7972
- __source: {
7973
- fileName: _jsxFileName,
7974
- lineNumber: 36,
7975
- columnNumber: 3
7976
- }
7977
- }));
7978
- };
7979
- var Option = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().memo(function (_ref2) {
7980
- var _ref2$is = _ref2.is,
7981
- Tag = _ref2$is === void 0 ? 'li' : _ref2$is,
7982
- id = _ref2.id,
7983
- presence = _ref2.presence,
7984
- children = _ref2.children,
7985
- label = _ref2.label,
7986
- focus = _ref2.focus,
7987
- selected = _ref2.selected,
7988
- className = _ref2.className,
7989
- ref = _ref2.ref,
7990
- icon = _ref2.icon,
7991
- avatar = _ref2.avatar,
7992
- options = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0___default()(_ref2, _excluded);
7993
-
7994
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Tag, Object.assign({
7995
- key: id,
7996
- id: id,
7997
- ref: ref,
7998
- "aria-selected": selected
7999
- }, options, {
8000
- className: ['rcx-option', className, focus && 'rcx-option--focus', selected && 'rcx-option--selected'].filter(Boolean).join(' '),
8001
- __self: _this,
8002
- __source: {
8003
- fileName: _jsxFileName,
8004
- lineNumber: 54,
8005
- columnNumber: 5
8006
- }
8007
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", {
8008
- className: "rcx-option__wrapper",
8009
- __self: _this,
8010
- __source: {
8011
- fileName: _jsxFileName,
8012
- lineNumber: 69,
8013
- columnNumber: 7
8014
- }
8015
- }, avatar && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Option.Avatar, {
8016
- __self: _this,
8017
- __source: {
8018
- fileName: _jsxFileName,
8019
- lineNumber: 70,
8020
- columnNumber: 20
8021
- }
8022
- }, avatar), icon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Option.Icon, {
8023
- name: icon,
8024
- __self: _this,
8025
- __source: {
8026
- fileName: _jsxFileName,
8027
- lineNumber: 71,
8028
- columnNumber: 18
8029
- }
8030
- }), label && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Option.Content, {
8031
- __self: _this,
8032
- __source: {
8033
- fileName: _jsxFileName,
8034
- lineNumber: 72,
8035
- columnNumber: 19
8036
- }
8037
- }, label), label !== children && children));
8038
- });
8039
- Option.Description = OptionDescription;
8040
- Option.Skeleton = OptionSkeleton;
8041
- Option.Avatar = OptionAvatar;
8042
- Option.Menu = OptionMenu;
8043
- Option.Icon = OptionIcon;
8044
- Option.Column = OptionColumn;
8045
- Option.Content = OptionContent;
8046
-
8047
- /***/ }),
8048
-
8049
7597
  /***/ "./src/components/OptionsPaginated/index.js":
8050
7598
  /*!**************************************************!*\
8051
7599
  !*** ./src/components/OptionsPaginated/index.js ***!
@@ -8071,8 +7619,8 @@ __webpack_require__.r(__webpack_exports__);
8071
7619
  /* harmony import */ var react_virtuoso__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react-virtuoso */ "../../node_modules/react-virtuoso/dist/index.m.js");
8072
7620
  /* harmony import */ var _Box__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Box */ "./src/components/Box/index.js");
8073
7621
  /* harmony import */ var _CheckBox__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../CheckBox */ "./src/components/CheckBox/index.js");
8074
- /* harmony import */ var _Tile__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Tile */ "./src/components/Tile/index.ts");
8075
- /* harmony import */ var _Option__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Option */ "./src/components/OptionsPaginated/Option/index.js");
7622
+ /* harmony import */ var _Options_Option__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Options/Option */ "./src/components/Options/Option/index.tsx");
7623
+ /* harmony import */ var _Tile__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../Tile */ "./src/components/Tile/index.ts");
8076
7624
 
8077
7625
 
8078
7626
  var _excluded = ["selected", "children"],
@@ -8095,7 +7643,7 @@ var prevent = function prevent(e) {
8095
7643
  };
8096
7644
 
8097
7645
  var Empty = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().memo(function () {
8098
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_Option__WEBPACK_IMPORTED_MODULE_7__.Option, {
7646
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_Options_Option__WEBPACK_IMPORTED_MODULE_6__.Option, {
8099
7647
  color: "hint",
8100
7648
  label: "Empty",
8101
7649
  __self: _this,
@@ -8111,7 +7659,7 @@ var CheckOption = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().memo
8111
7659
  label = _ref.children,
8112
7660
  options = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, _excluded);
8113
7661
 
8114
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_Option__WEBPACK_IMPORTED_MODULE_7__.Option, Object.assign({
7662
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_Options_Option__WEBPACK_IMPORTED_MODULE_6__.Option, Object.assign({
8115
7663
  label: label,
8116
7664
  selected: selected
8117
7665
  }, options, {
@@ -8139,7 +7687,7 @@ var OptionsPaginated = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default()
8139
7687
  options = _ref2.options,
8140
7688
  cursor = _ref2.cursor,
8141
7689
  _ref2$renderItem = _ref2.renderItem,
8142
- OptionComponent = _ref2$renderItem === void 0 ? _Option__WEBPACK_IMPORTED_MODULE_7__.Option : _ref2$renderItem,
7690
+ OptionComponent = _ref2$renderItem === void 0 ? _Options_Option__WEBPACK_IMPORTED_MODULE_6__.Option : _ref2$renderItem,
8143
7691
  onSelect = _ref2.onSelect,
8144
7692
  endReached = _ref2.endReached,
8145
7693
  props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref2, _excluded2);
@@ -8183,7 +7731,7 @@ var OptionsPaginated = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default()
8183
7731
  lineNumber: 64,
8184
7732
  columnNumber: 7
8185
7733
  }
8186
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_Tile__WEBPACK_IMPORTED_MODULE_6__.default, {
7734
+ }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_Tile__WEBPACK_IMPORTED_MODULE_7__.default, {
8187
7735
  padding: 0,
8188
7736
  paddingBlock: 'x12',
8189
7737
  paddingInline: 0,
@@ -15343,6 +14891,91 @@ __webpack_require__.r(__webpack_exports__);
15343
14891
 
15344
14892
 
15345
14893
 
14894
+ /***/ }),
14895
+
14896
+ /***/ "./src/components/Options/Option/index.tsx":
14897
+ /*!*************************************************!*\
14898
+ !*** ./src/components/Options/Option/index.tsx ***!
14899
+ \*************************************************/
14900
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
14901
+
14902
+ "use strict";
14903
+ __webpack_require__.r(__webpack_exports__);
14904
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
14905
+ /* harmony export */ "OptionMenu": function() { return /* binding */ OptionMenu; },
14906
+ /* harmony export */ "Option": function() { return /* binding */ Option; }
14907
+ /* harmony export */ });
14908
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
14909
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
14910
+ /* harmony import */ var _Icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../Icon */ "./src/components/Icon/index.js");
14911
+ /* harmony import */ var _Skeleton__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../Skeleton */ "./src/components/Skeleton/index.js");
14912
+ var __assign = (undefined && undefined.__assign) || function () {
14913
+ __assign = Object.assign || function(t) {
14914
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
14915
+ s = arguments[i];
14916
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
14917
+ t[p] = s[p];
14918
+ }
14919
+ return t;
14920
+ };
14921
+ return __assign.apply(this, arguments);
14922
+ };
14923
+ var __rest = (undefined && undefined.__rest) || function (s, e) {
14924
+ var t = {};
14925
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
14926
+ t[p] = s[p];
14927
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
14928
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
14929
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
14930
+ t[p[i]] = s[p[i]];
14931
+ }
14932
+ return t;
14933
+ };
14934
+
14935
+
14936
+
14937
+ var OptionColumn = function (props) { return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", __assign({ className: 'rcx-option__column' }, props))); };
14938
+ var OptionContent = function (props) { return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", __assign({ className: 'rcx-option__content' }, props))); };
14939
+ var OptionAvatar = function (props) { return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", __assign({ className: 'rcx-option__avatar' }, props))); };
14940
+ var OptionDescription = function (props) { return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", __assign({ className: 'rcx-option__description' }, props))); };
14941
+ var OptionIcon = function (_a) {
14942
+ var name = _a.name;
14943
+ return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(OptionColumn, null,
14944
+ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Icon__WEBPACK_IMPORTED_MODULE_1__.Icon, { size: 'x20', name: name })));
14945
+ };
14946
+ var OptionSkeleton = function () { return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Option, null,
14947
+ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(OptionAvatar, null,
14948
+ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Skeleton__WEBPACK_IMPORTED_MODULE_2__.Skeleton, { variant: 'rect', width: 28, height: 28 })),
14949
+ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(OptionContent, null,
14950
+ react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Skeleton__WEBPACK_IMPORTED_MODULE_2__.Skeleton, { width: '100%' })))); };
14951
+ var OptionMenu = function (props) { return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", __assign({ className: 'rcx-box--animated rcx-option__menu-wraper' }, props))); };
14952
+ var Option = react__WEBPACK_IMPORTED_MODULE_0___default().memo(function (_a) {
14953
+ var _b = _a.is, Tag = _b === void 0 ? 'li' : _b, id = _a.id, children = _a.children, label = _a.label, focus = _a.focus, selected = _a.selected, className = _a.className, ref = _a.ref, icon = _a.icon, avatar = _a.avatar, title = _a.title, onClick = _a.onClick, options = __rest(_a, ["is", "id", "children", "label", "focus", "selected", "className", "ref", "icon", "avatar", "title", "onClick"]);
14954
+ return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Tag, __assign({ key: id, id: id, ref: ref, "aria-selected": selected, title: title, onClick: onClick }, options, { className: [
14955
+ 'rcx-option',
14956
+ className,
14957
+ focus && 'rcx-option--focus',
14958
+ selected && 'rcx-option--selected',
14959
+ ]
14960
+ .filter(Boolean)
14961
+ .join(' ') }),
14962
+ react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { className: 'rcx-option__wrapper' },
14963
+ avatar && react__WEBPACK_IMPORTED_MODULE_0___default().createElement(OptionAvatar, null, avatar),
14964
+ icon && react__WEBPACK_IMPORTED_MODULE_0___default().createElement(OptionIcon, { name: icon }),
14965
+ label && react__WEBPACK_IMPORTED_MODULE_0___default().createElement(OptionContent, null, label),
14966
+ label !== children && children)));
14967
+ });
14968
+ /* harmony default export */ __webpack_exports__["default"] = (Object.assign(Option, {
14969
+ Description: OptionDescription,
14970
+ Skeleton: OptionSkeleton,
14971
+ Avatar: OptionAvatar,
14972
+ Menu: OptionMenu,
14973
+ Icon: OptionIcon,
14974
+ Column: OptionColumn,
14975
+ Content: OptionContent,
14976
+ }));
14977
+
14978
+
15346
14979
  /***/ }),
15347
14980
 
15348
14981
  /***/ "./src/components/Options/useCursor.ts":
@@ -16002,7 +15635,7 @@ __webpack_require__.r(__webpack_exports__);
16002
15635
  /* harmony import */ var _MultiSelect__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./MultiSelect */ "./src/components/MultiSelect/index.js");
16003
15636
  /* harmony import */ var _NumberInput__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./NumberInput */ "./src/components/NumberInput/index.js");
16004
15637
  /* harmony import */ var _Options__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./Options */ "./src/components/Options/index.js");
16005
- /* harmony import */ var _Options_Option__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./Options/Option */ "./src/components/Options/Option/index.js");
15638
+ /* harmony import */ var _Options_Option__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./Options/Option */ "./src/components/Options/Option/index.tsx");
16006
15639
  /* harmony import */ var _Pagination__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./Pagination */ "./src/components/Pagination/index.js");
16007
15640
  /* harmony import */ var _PasswordInput__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./PasswordInput */ "./src/components/PasswordInput/index.ts");
16008
15641
  /* harmony import */ var _StatusBullet__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./StatusBullet */ "./src/components/StatusBullet/index.js");