@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.modern.js
CHANGED
|
@@ -14566,7 +14566,7 @@ const EMPTY_STATE_SIZE = {
|
|
|
14566
14566
|
LARGE: 'large'
|
|
14567
14567
|
};
|
|
14568
14568
|
|
|
14569
|
-
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--
|
|
14569
|
+
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"};
|
|
14570
14570
|
|
|
14571
14571
|
const EmptyStateContainerInline = ({
|
|
14572
14572
|
header,
|
|
@@ -14589,8 +14589,8 @@ const EmptyStateContainerInline = ({
|
|
|
14589
14589
|
"data-testid": testId
|
|
14590
14590
|
}, React__default.createElement("div", {
|
|
14591
14591
|
className: classnames(styles$2['empty-state-container-inline__content'], {
|
|
14592
|
-
[styles$2['empty-state-
|
|
14593
|
-
[styles$2['empty-state-
|
|
14592
|
+
[styles$2['empty-state-container-inline__content--large']]: _size === EMPTY_STATE_SIZE.LARGE,
|
|
14593
|
+
[styles$2['empty-state-container-inline__content--medium']]: _size === EMPTY_STATE_SIZE.MEDIUM
|
|
14594
14594
|
})
|
|
14595
14595
|
}, React__default.createElement(Stack, {
|
|
14596
14596
|
space: 8
|
|
@@ -14611,14 +14611,13 @@ const EmptyStateContainerInline = ({
|
|
|
14611
14611
|
}), caption && React__default.createElement(Text, {
|
|
14612
14612
|
as: "caption"
|
|
14613
14613
|
}, caption))), mediaUrl && React__default.createElement("div", {
|
|
14614
|
-
className: styles$2['empty-state-container-inline__image']
|
|
14614
|
+
className: classnames(styles$2['empty-state-container-inline__image'], {
|
|
14615
|
+
[styles$2['empty-state-container-inline__image--large']]: _size === EMPTY_STATE_SIZE.LARGE,
|
|
14616
|
+
[styles$2['empty-state-container-inline__image--medium']]: _size === EMPTY_STATE_SIZE.MEDIUM
|
|
14617
|
+
})
|
|
14615
14618
|
}, React__default.createElement("img", {
|
|
14616
14619
|
src: mediaUrl,
|
|
14617
|
-
alt: String(title)
|
|
14618
|
-
style: {
|
|
14619
|
-
maxWidth: _size === EMPTY_STATE_SIZE.LARGE ? '500px' : '333px',
|
|
14620
|
-
minWidth: '320px'
|
|
14621
|
-
}
|
|
14620
|
+
alt: String(title)
|
|
14622
14621
|
})));
|
|
14623
14622
|
};
|
|
14624
14623
|
|