@7shifts/sous-chef 3.77.0 → 3.77.1
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/index.css +10 -4
- package/dist/index.css.map +1 -1
- package/dist/index.js +5 -9
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +8 -9
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14470,10 +14470,10 @@ var EMPTY_STATE_SIZE = {
|
|
|
14470
14470
|
LARGE: 'large'
|
|
14471
14471
|
};
|
|
14472
14472
|
|
|
14473
|
-
var styles$2 = {"empty-state-container-inline":"_mhyqH","empty-state-container-inline--inside-modal":"_Kiu3T","empty-state-container-inline__content":"_Px6C0","empty-state-container-inline__content--
|
|
14473
|
+
var styles$2 = {"empty-state-container-inline":"_mhyqH","empty-state-container-inline--inside-modal":"_Kiu3T","empty-state-container-inline__content":"_Px6C0","empty-state-container-inline__content--large":"_voA-r","empty-state-container-inline__content--medium":"_Q9cut","empty-state-container-inline__body":"_xMUQ6","empty-state-container-inline__image":"_79QnQ","empty-state-container-inline__image--large":"_HxPhH","empty-state-container-inline__image--medium":"_TeUmg"};
|
|
14474
14474
|
|
|
14475
14475
|
var EmptyStateContainerInline = function EmptyStateContainerInline(_ref) {
|
|
14476
|
-
var _classNames, _classnames;
|
|
14476
|
+
var _classNames, _classnames, _classnames2;
|
|
14477
14477
|
var header = _ref.header,
|
|
14478
14478
|
title = _ref.title,
|
|
14479
14479
|
children = _ref.children,
|
|
@@ -14491,7 +14491,7 @@ var EmptyStateContainerInline = function EmptyStateContainerInline(_ref) {
|
|
|
14491
14491
|
className: classnames__default["default"](styles$2['empty-state-container-inline'], (_classNames = {}, _classNames[styles$2['empty-state-container-inline--inside-modal']] = isInsideModal, _classNames)),
|
|
14492
14492
|
"data-testid": testId
|
|
14493
14493
|
}, React__default["default"].createElement("div", {
|
|
14494
|
-
className: classnames__default["default"](styles$2['empty-state-container-inline__content'], (_classnames = {}, _classnames[styles$2['empty-state-
|
|
14494
|
+
className: classnames__default["default"](styles$2['empty-state-container-inline__content'], (_classnames = {}, _classnames[styles$2['empty-state-container-inline__content--large']] = size === EMPTY_STATE_SIZE.LARGE, _classnames[styles$2['empty-state-container-inline__content--medium']] = size === EMPTY_STATE_SIZE.MEDIUM, _classnames))
|
|
14495
14495
|
}, React__default["default"].createElement(Stack, {
|
|
14496
14496
|
space: 8
|
|
14497
14497
|
}, header && React__default["default"].createElement(Text, {
|
|
@@ -14511,14 +14511,10 @@ var EmptyStateContainerInline = function EmptyStateContainerInline(_ref) {
|
|
|
14511
14511
|
}), caption && React__default["default"].createElement(Text, {
|
|
14512
14512
|
as: "caption"
|
|
14513
14513
|
}, caption))), mediaUrl && React__default["default"].createElement("div", {
|
|
14514
|
-
className: styles$2['empty-state-container-inline__image']
|
|
14514
|
+
className: classnames__default["default"](styles$2['empty-state-container-inline__image'], (_classnames2 = {}, _classnames2[styles$2['empty-state-container-inline__image--large']] = size === EMPTY_STATE_SIZE.LARGE, _classnames2[styles$2['empty-state-container-inline__image--medium']] = size === EMPTY_STATE_SIZE.MEDIUM, _classnames2))
|
|
14515
14515
|
}, React__default["default"].createElement("img", {
|
|
14516
14516
|
src: mediaUrl,
|
|
14517
|
-
alt: String(title)
|
|
14518
|
-
style: {
|
|
14519
|
-
maxWidth: size === EMPTY_STATE_SIZE.LARGE ? '500px' : '333px',
|
|
14520
|
-
minWidth: '320px'
|
|
14521
|
-
}
|
|
14517
|
+
alt: String(title)
|
|
14522
14518
|
})));
|
|
14523
14519
|
};
|
|
14524
14520
|
|