@rocket.chat/fuselage 0.38.1 → 0.38.2
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/CHANGELOG.md +6 -0
- package/dist/components/Card/Card.d.ts +6 -0
- package/dist/components/Card/Card.d.ts.map +1 -0
- package/dist/components/Card/CardBody.d.ts +11 -0
- package/dist/components/Card/CardBody.d.ts.map +1 -0
- package/dist/components/Card/CardCol.d.ts +6 -0
- package/dist/components/Card/CardCol.d.ts.map +1 -0
- package/dist/components/Card/CardControls.d.ts +5 -0
- package/dist/components/Card/CardControls.d.ts.map +1 -0
- package/dist/components/Card/CardDivider.d.ts +4 -0
- package/dist/components/Card/CardDivider.d.ts.map +1 -0
- package/dist/components/Card/CardHeader.d.ts +6 -0
- package/dist/components/Card/CardHeader.d.ts.map +1 -0
- package/dist/components/Card/CardRow.d.ts +6 -0
- package/dist/components/Card/CardRow.d.ts.map +1 -0
- package/dist/components/Card/CardTitle.d.ts +8 -0
- package/dist/components/Card/CardTitle.d.ts.map +1 -0
- package/dist/components/Card/index.d.ts +9 -0
- package/dist/components/Card/index.d.ts.map +1 -0
- package/dist/components/CardGroup/CardGroup.d.ts +13 -0
- package/dist/components/CardGroup/CardGroup.d.ts.map +1 -0
- package/dist/components/CardGroup/index.d.ts +2 -0
- package/dist/components/CardGroup/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +2 -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 +398 -0
- package/dist/fuselage.development.js.map +1 -1
- package/dist/fuselage.production.js +1 -1
- package/package.json +2 -2
|
@@ -2704,6 +2704,402 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
2704
2704
|
__exportStar(__webpack_require__(/*! ./Callout */ "./src/components/Callout/Callout.tsx"), exports);
|
|
2705
2705
|
|
|
2706
2706
|
|
|
2707
|
+
/***/ }),
|
|
2708
|
+
|
|
2709
|
+
/***/ "./src/components/Card/Card.tsx":
|
|
2710
|
+
/*!**************************************!*\
|
|
2711
|
+
!*** ./src/components/Card/Card.tsx ***!
|
|
2712
|
+
\**************************************/
|
|
2713
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2714
|
+
|
|
2715
|
+
|
|
2716
|
+
var __assign = (this && this.__assign) || function () {
|
|
2717
|
+
__assign = Object.assign || function(t) {
|
|
2718
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
2719
|
+
s = arguments[i];
|
|
2720
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
2721
|
+
t[p] = s[p];
|
|
2722
|
+
}
|
|
2723
|
+
return t;
|
|
2724
|
+
};
|
|
2725
|
+
return __assign.apply(this, arguments);
|
|
2726
|
+
};
|
|
2727
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2728
|
+
var t = {};
|
|
2729
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
2730
|
+
t[p] = s[p];
|
|
2731
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
2732
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
2733
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
2734
|
+
t[p[i]] = s[p[i]];
|
|
2735
|
+
}
|
|
2736
|
+
return t;
|
|
2737
|
+
};
|
|
2738
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2739
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
2740
|
+
};
|
|
2741
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2742
|
+
var fuselage_hooks_1 = __webpack_require__(/*! @rocket.chat/fuselage-hooks */ "@rocket.chat/fuselage-hooks");
|
|
2743
|
+
var react_1 = __importDefault(__webpack_require__(/*! react */ "react"));
|
|
2744
|
+
var Box_1 = __importDefault(__webpack_require__(/*! ../Box/Box */ "./src/components/Box/Box.tsx"));
|
|
2745
|
+
var Card = function (_a) {
|
|
2746
|
+
var horizontal = _a.horizontal, props = __rest(_a, ["horizontal"]);
|
|
2747
|
+
var breakpoints = (0, fuselage_hooks_1.useBreakpoints)();
|
|
2748
|
+
var isMobile = !breakpoints.includes('sm');
|
|
2749
|
+
return (react_1.default.createElement(Box_1.default, __assign({ "rcx-card": true, "rcx-card__horizontal": horizontal, "rcx-card__vertical": !horizontal, "rcx-card__horizontal--wrap": horizontal && isMobile }, props)));
|
|
2750
|
+
};
|
|
2751
|
+
exports["default"] = Card;
|
|
2752
|
+
|
|
2753
|
+
|
|
2754
|
+
/***/ }),
|
|
2755
|
+
|
|
2756
|
+
/***/ "./src/components/Card/CardBody.tsx":
|
|
2757
|
+
/*!******************************************!*\
|
|
2758
|
+
!*** ./src/components/Card/CardBody.tsx ***!
|
|
2759
|
+
\******************************************/
|
|
2760
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2761
|
+
|
|
2762
|
+
|
|
2763
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2764
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
2765
|
+
};
|
|
2766
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2767
|
+
var react_1 = __importDefault(__webpack_require__(/*! react */ "react"));
|
|
2768
|
+
var Box_1 = __importDefault(__webpack_require__(/*! ../Box/Box */ "./src/components/Box/Box.tsx"));
|
|
2769
|
+
var CardBody = function (_a) {
|
|
2770
|
+
var children = _a.children, _b = _a.flexDirection, flexDirection = _b === void 0 ? 'row' : _b, height = _a.height;
|
|
2771
|
+
return (react_1.default.createElement(Box_1.default, { fontScale: 'p2m', display: 'flex', flexDirection: flexDirection, flexGrow: 1, height: height, "rcx-card__body": true }, children));
|
|
2772
|
+
};
|
|
2773
|
+
exports["default"] = CardBody;
|
|
2774
|
+
|
|
2775
|
+
|
|
2776
|
+
/***/ }),
|
|
2777
|
+
|
|
2778
|
+
/***/ "./src/components/Card/CardCol.tsx":
|
|
2779
|
+
/*!*****************************************!*\
|
|
2780
|
+
!*** ./src/components/Card/CardCol.tsx ***!
|
|
2781
|
+
\*****************************************/
|
|
2782
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2783
|
+
|
|
2784
|
+
|
|
2785
|
+
var __assign = (this && this.__assign) || function () {
|
|
2786
|
+
__assign = Object.assign || function(t) {
|
|
2787
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
2788
|
+
s = arguments[i];
|
|
2789
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
2790
|
+
t[p] = s[p];
|
|
2791
|
+
}
|
|
2792
|
+
return t;
|
|
2793
|
+
};
|
|
2794
|
+
return __assign.apply(this, arguments);
|
|
2795
|
+
};
|
|
2796
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2797
|
+
var t = {};
|
|
2798
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
2799
|
+
t[p] = s[p];
|
|
2800
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
2801
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
2802
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
2803
|
+
t[p[i]] = s[p[i]];
|
|
2804
|
+
}
|
|
2805
|
+
return t;
|
|
2806
|
+
};
|
|
2807
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2808
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
2809
|
+
};
|
|
2810
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2811
|
+
var react_1 = __importDefault(__webpack_require__(/*! react */ "react"));
|
|
2812
|
+
var CardCol = function (_a) {
|
|
2813
|
+
var children = _a.children, props = __rest(_a, ["children"]);
|
|
2814
|
+
return (react_1.default.createElement("div", __assign({ className: 'rcx-card__col' }, props), children));
|
|
2815
|
+
};
|
|
2816
|
+
exports["default"] = CardCol;
|
|
2817
|
+
|
|
2818
|
+
|
|
2819
|
+
/***/ }),
|
|
2820
|
+
|
|
2821
|
+
/***/ "./src/components/Card/CardControls.tsx":
|
|
2822
|
+
/*!**********************************************!*\
|
|
2823
|
+
!*** ./src/components/Card/CardControls.tsx ***!
|
|
2824
|
+
\**********************************************/
|
|
2825
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2826
|
+
|
|
2827
|
+
|
|
2828
|
+
var __assign = (this && this.__assign) || function () {
|
|
2829
|
+
__assign = Object.assign || function(t) {
|
|
2830
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
2831
|
+
s = arguments[i];
|
|
2832
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
2833
|
+
t[p] = s[p];
|
|
2834
|
+
}
|
|
2835
|
+
return t;
|
|
2836
|
+
};
|
|
2837
|
+
return __assign.apply(this, arguments);
|
|
2838
|
+
};
|
|
2839
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2840
|
+
var t = {};
|
|
2841
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
2842
|
+
t[p] = s[p];
|
|
2843
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
2844
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
2845
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
2846
|
+
t[p[i]] = s[p[i]];
|
|
2847
|
+
}
|
|
2848
|
+
return t;
|
|
2849
|
+
};
|
|
2850
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2851
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
2852
|
+
};
|
|
2853
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2854
|
+
var react_1 = __importDefault(__webpack_require__(/*! react */ "react"));
|
|
2855
|
+
var CardControls = function (_a) {
|
|
2856
|
+
var props = __rest(_a, []);
|
|
2857
|
+
return (react_1.default.createElement("div", __assign({ className: 'rcx-card__controls' }, props)));
|
|
2858
|
+
};
|
|
2859
|
+
exports["default"] = CardControls;
|
|
2860
|
+
|
|
2861
|
+
|
|
2862
|
+
/***/ }),
|
|
2863
|
+
|
|
2864
|
+
/***/ "./src/components/Card/CardHeader.tsx":
|
|
2865
|
+
/*!********************************************!*\
|
|
2866
|
+
!*** ./src/components/Card/CardHeader.tsx ***!
|
|
2867
|
+
\********************************************/
|
|
2868
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2869
|
+
|
|
2870
|
+
|
|
2871
|
+
var __assign = (this && this.__assign) || function () {
|
|
2872
|
+
__assign = Object.assign || function(t) {
|
|
2873
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
2874
|
+
s = arguments[i];
|
|
2875
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
2876
|
+
t[p] = s[p];
|
|
2877
|
+
}
|
|
2878
|
+
return t;
|
|
2879
|
+
};
|
|
2880
|
+
return __assign.apply(this, arguments);
|
|
2881
|
+
};
|
|
2882
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2883
|
+
var t = {};
|
|
2884
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
2885
|
+
t[p] = s[p];
|
|
2886
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
2887
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
2888
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
2889
|
+
t[p[i]] = s[p[i]];
|
|
2890
|
+
}
|
|
2891
|
+
return t;
|
|
2892
|
+
};
|
|
2893
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2894
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
2895
|
+
};
|
|
2896
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2897
|
+
var react_1 = __importDefault(__webpack_require__(/*! react */ "react"));
|
|
2898
|
+
var CardHeader = function (_a) {
|
|
2899
|
+
var children = _a.children, props = __rest(_a, ["children"]);
|
|
2900
|
+
return (react_1.default.createElement("div", __assign({ className: 'rcx-card__header' }, props), children));
|
|
2901
|
+
};
|
|
2902
|
+
exports["default"] = CardHeader;
|
|
2903
|
+
|
|
2904
|
+
|
|
2905
|
+
/***/ }),
|
|
2906
|
+
|
|
2907
|
+
/***/ "./src/components/Card/CardRow.tsx":
|
|
2908
|
+
/*!*****************************************!*\
|
|
2909
|
+
!*** ./src/components/Card/CardRow.tsx ***!
|
|
2910
|
+
\*****************************************/
|
|
2911
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2912
|
+
|
|
2913
|
+
|
|
2914
|
+
var __assign = (this && this.__assign) || function () {
|
|
2915
|
+
__assign = Object.assign || function(t) {
|
|
2916
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
2917
|
+
s = arguments[i];
|
|
2918
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
2919
|
+
t[p] = s[p];
|
|
2920
|
+
}
|
|
2921
|
+
return t;
|
|
2922
|
+
};
|
|
2923
|
+
return __assign.apply(this, arguments);
|
|
2924
|
+
};
|
|
2925
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2926
|
+
var t = {};
|
|
2927
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
2928
|
+
t[p] = s[p];
|
|
2929
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
2930
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
2931
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
2932
|
+
t[p[i]] = s[p[i]];
|
|
2933
|
+
}
|
|
2934
|
+
return t;
|
|
2935
|
+
};
|
|
2936
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2937
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
2938
|
+
};
|
|
2939
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2940
|
+
var react_1 = __importDefault(__webpack_require__(/*! react */ "react"));
|
|
2941
|
+
var CardRow = function (_a) {
|
|
2942
|
+
var children = _a.children, props = __rest(_a, ["children"]);
|
|
2943
|
+
return (react_1.default.createElement("div", __assign({ className: 'rcx-card__row' }, props), children));
|
|
2944
|
+
};
|
|
2945
|
+
exports["default"] = CardRow;
|
|
2946
|
+
|
|
2947
|
+
|
|
2948
|
+
/***/ }),
|
|
2949
|
+
|
|
2950
|
+
/***/ "./src/components/Card/CardTitle.tsx":
|
|
2951
|
+
/*!*******************************************!*\
|
|
2952
|
+
!*** ./src/components/Card/CardTitle.tsx ***!
|
|
2953
|
+
\*******************************************/
|
|
2954
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2955
|
+
|
|
2956
|
+
|
|
2957
|
+
var __assign = (this && this.__assign) || function () {
|
|
2958
|
+
__assign = Object.assign || function(t) {
|
|
2959
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
2960
|
+
s = arguments[i];
|
|
2961
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
2962
|
+
t[p] = s[p];
|
|
2963
|
+
}
|
|
2964
|
+
return t;
|
|
2965
|
+
};
|
|
2966
|
+
return __assign.apply(this, arguments);
|
|
2967
|
+
};
|
|
2968
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2969
|
+
var t = {};
|
|
2970
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
2971
|
+
t[p] = s[p];
|
|
2972
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
2973
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
2974
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
2975
|
+
t[p[i]] = s[p[i]];
|
|
2976
|
+
}
|
|
2977
|
+
return t;
|
|
2978
|
+
};
|
|
2979
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2980
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
2981
|
+
};
|
|
2982
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2983
|
+
var react_1 = __importDefault(__webpack_require__(/*! react */ "react"));
|
|
2984
|
+
var Box_1 = __importDefault(__webpack_require__(/*! ../Box/Box */ "./src/components/Box/Box.tsx"));
|
|
2985
|
+
var LabelInfo_1 = __webpack_require__(/*! ../Label/LabelInfo */ "./src/components/Label/LabelInfo.tsx");
|
|
2986
|
+
var CardTitle = function (_a) {
|
|
2987
|
+
var children = _a.children, info = _a.info, _b = _a.variant, variant = _b === void 0 ? 'h4' : _b, props = __rest(_a, ["children", "info", "variant"]);
|
|
2988
|
+
return (react_1.default.createElement(Box_1.default, __assign({ fontScale: variant, is: variant, "rcx-card__title": true }, props),
|
|
2989
|
+
children,
|
|
2990
|
+
info && react_1.default.createElement(LabelInfo_1.LabelInfo, { title: info, mis: 2 })));
|
|
2991
|
+
};
|
|
2992
|
+
exports["default"] = CardTitle;
|
|
2993
|
+
|
|
2994
|
+
|
|
2995
|
+
/***/ }),
|
|
2996
|
+
|
|
2997
|
+
/***/ "./src/components/Card/index.ts":
|
|
2998
|
+
/*!**************************************!*\
|
|
2999
|
+
!*** ./src/components/Card/index.ts ***!
|
|
3000
|
+
\**************************************/
|
|
3001
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3002
|
+
|
|
3003
|
+
|
|
3004
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3005
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
3006
|
+
};
|
|
3007
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3008
|
+
exports.CardHeader = exports.CardContent = exports.CardControls = exports.CardTitle = exports.CardRow = exports.CardCol = exports.CardBody = exports.Card = void 0;
|
|
3009
|
+
var Card_1 = __webpack_require__(/*! ./Card */ "./src/components/Card/Card.tsx");
|
|
3010
|
+
Object.defineProperty(exports, "Card", ({ enumerable: true, get: function () { return __importDefault(Card_1).default; } }));
|
|
3011
|
+
var CardBody_1 = __webpack_require__(/*! ./CardBody */ "./src/components/Card/CardBody.tsx");
|
|
3012
|
+
Object.defineProperty(exports, "CardBody", ({ enumerable: true, get: function () { return __importDefault(CardBody_1).default; } }));
|
|
3013
|
+
var CardCol_1 = __webpack_require__(/*! ./CardCol */ "./src/components/Card/CardCol.tsx");
|
|
3014
|
+
Object.defineProperty(exports, "CardCol", ({ enumerable: true, get: function () { return __importDefault(CardCol_1).default; } }));
|
|
3015
|
+
var CardRow_1 = __webpack_require__(/*! ./CardRow */ "./src/components/Card/CardRow.tsx");
|
|
3016
|
+
Object.defineProperty(exports, "CardRow", ({ enumerable: true, get: function () { return __importDefault(CardRow_1).default; } }));
|
|
3017
|
+
var CardTitle_1 = __webpack_require__(/*! ./CardTitle */ "./src/components/Card/CardTitle.tsx");
|
|
3018
|
+
Object.defineProperty(exports, "CardTitle", ({ enumerable: true, get: function () { return __importDefault(CardTitle_1).default; } }));
|
|
3019
|
+
var CardControls_1 = __webpack_require__(/*! ./CardControls */ "./src/components/Card/CardControls.tsx");
|
|
3020
|
+
Object.defineProperty(exports, "CardControls", ({ enumerable: true, get: function () { return __importDefault(CardControls_1).default; } }));
|
|
3021
|
+
var CardRow_2 = __webpack_require__(/*! ./CardRow */ "./src/components/Card/CardRow.tsx");
|
|
3022
|
+
Object.defineProperty(exports, "CardContent", ({ enumerable: true, get: function () { return __importDefault(CardRow_2).default; } }));
|
|
3023
|
+
var CardHeader_1 = __webpack_require__(/*! ./CardHeader */ "./src/components/Card/CardHeader.tsx");
|
|
3024
|
+
Object.defineProperty(exports, "CardHeader", ({ enumerable: true, get: function () { return __importDefault(CardHeader_1).default; } }));
|
|
3025
|
+
|
|
3026
|
+
|
|
3027
|
+
/***/ }),
|
|
3028
|
+
|
|
3029
|
+
/***/ "./src/components/CardGroup/CardGroup.tsx":
|
|
3030
|
+
/*!************************************************!*\
|
|
3031
|
+
!*** ./src/components/CardGroup/CardGroup.tsx ***!
|
|
3032
|
+
\************************************************/
|
|
3033
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3034
|
+
|
|
3035
|
+
|
|
3036
|
+
var __assign = (this && this.__assign) || function () {
|
|
3037
|
+
__assign = Object.assign || function(t) {
|
|
3038
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
3039
|
+
s = arguments[i];
|
|
3040
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
3041
|
+
t[p] = s[p];
|
|
3042
|
+
}
|
|
3043
|
+
return t;
|
|
3044
|
+
};
|
|
3045
|
+
return __assign.apply(this, arguments);
|
|
3046
|
+
};
|
|
3047
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3048
|
+
var t = {};
|
|
3049
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
3050
|
+
t[p] = s[p];
|
|
3051
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
3052
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
3053
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
3054
|
+
t[p[i]] = s[p[i]];
|
|
3055
|
+
}
|
|
3056
|
+
return t;
|
|
3057
|
+
};
|
|
3058
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3059
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
3060
|
+
};
|
|
3061
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3062
|
+
exports.CardGroup = void 0;
|
|
3063
|
+
var react_1 = __importDefault(__webpack_require__(/*! react */ "react"));
|
|
3064
|
+
var appendClassName_1 = __webpack_require__(/*! ../../helpers/appendClassName */ "./src/helpers/appendClassName.ts");
|
|
3065
|
+
var patchChildren_1 = __webpack_require__(/*! ../../helpers/patchChildren */ "./src/helpers/patchChildren.ts");
|
|
3066
|
+
var Box_1 = __importDefault(__webpack_require__(/*! ../Box */ "./src/components/Box/index.tsx"));
|
|
3067
|
+
var CardGroup = function (_a) {
|
|
3068
|
+
var _b = _a.align, align = _b === void 0 ? 'start' : _b, children = _a.children, stretch = _a.stretch, vertical = _a.vertical, wrap = _a.wrap, props = __rest(_a, ["align", "children", "stretch", "vertical", "wrap"]);
|
|
3069
|
+
return (react_1.default.createElement(Box_1.default, __assign({ "rcx-card-group": true, "rcx-card-group--align": align, "rcx-card-group--stretch": stretch, "rcx-card-group--vertical": vertical, "rcx-card-group--wrap": wrap, role: 'group' }, props), (0, patchChildren_1.patchChildren)(children, function (childProps) { return ({
|
|
3070
|
+
className: (0, appendClassName_1.appendClassName)(childProps.className, 'rcx-card-group__item'),
|
|
3071
|
+
}); })));
|
|
3072
|
+
};
|
|
3073
|
+
exports.CardGroup = CardGroup;
|
|
3074
|
+
|
|
3075
|
+
|
|
3076
|
+
/***/ }),
|
|
3077
|
+
|
|
3078
|
+
/***/ "./src/components/CardGroup/index.ts":
|
|
3079
|
+
/*!*******************************************!*\
|
|
3080
|
+
!*** ./src/components/CardGroup/index.ts ***!
|
|
3081
|
+
\*******************************************/
|
|
3082
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3083
|
+
|
|
3084
|
+
|
|
3085
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3086
|
+
if (k2 === undefined) k2 = k;
|
|
3087
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
3088
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
3089
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
3090
|
+
}
|
|
3091
|
+
Object.defineProperty(o, k2, desc);
|
|
3092
|
+
}) : (function(o, m, k, k2) {
|
|
3093
|
+
if (k2 === undefined) k2 = k;
|
|
3094
|
+
o[k2] = m[k];
|
|
3095
|
+
}));
|
|
3096
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
3097
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3098
|
+
};
|
|
3099
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3100
|
+
__exportStar(__webpack_require__(/*! ./CardGroup */ "./src/components/CardGroup/CardGroup.tsx"), exports);
|
|
3101
|
+
|
|
3102
|
+
|
|
2707
3103
|
/***/ }),
|
|
2708
3104
|
|
|
2709
3105
|
/***/ "./src/components/CheckBox/CheckBox.tsx":
|
|
@@ -16632,6 +17028,8 @@ Object.defineProperty(exports, "ActionButton", ({ enumerable: true, get: functio
|
|
|
16632
17028
|
Object.defineProperty(exports, "IconButton", ({ enumerable: true, get: function () { return Button_1.IconButton; } }));
|
|
16633
17029
|
__exportStar(__webpack_require__(/*! ./ButtonGroup */ "./src/components/ButtonGroup/index.ts"), exports);
|
|
16634
17030
|
__exportStar(__webpack_require__(/*! ./Callout */ "./src/components/Callout/index.tsx"), exports);
|
|
17031
|
+
__exportStar(__webpack_require__(/*! ./Card */ "./src/components/Card/index.ts"), exports);
|
|
17032
|
+
__exportStar(__webpack_require__(/*! ./CardGroup */ "./src/components/CardGroup/index.ts"), exports);
|
|
16635
17033
|
__exportStar(__webpack_require__(/*! ./CheckBox */ "./src/components/CheckBox/index.ts"), exports);
|
|
16636
17034
|
__exportStar(__webpack_require__(/*! ./Chevron */ "./src/components/Chevron/index.tsx"), exports);
|
|
16637
17035
|
var CodeSnippet_1 = __webpack_require__(/*! ./CodeSnippet */ "./src/components/CodeSnippet/index.tsx");
|