import './Sheet.styles_fnrgwh.css';
import { styled } from '@linaria/react';
import { tokens } from './Sheet.tokens.js';
import { handleTransition } from './utils/handleTransition.js';

var _exp = function _exp() {
  return handleTransition('all 0.5s 0.1s');
};
var StyledContentWrapper = /*#__PURE__*/styled('div')({
  name: "StyledContentWrapper",
  "class": "sah7qw3",
  propsAsIs: false,
  vars: {
    "sah7qw3-0": [/*#__PURE__*/_exp()]
  }
});
var StyledSheetHandle = /*#__PURE__*/styled('div')({
  name: "StyledSheetHandle",
  "class": "shg69gz",
  propsAsIs: false
});
var _exp6 = function _exp6() {
  return function (_ref) {
    var hasHeader = _ref.hasHeader;
    return hasHeader ? 'unset' : '1rem';
  };
};
var _exp7 = function _exp7() {
  return function (_ref2) {
    var hasFooter = _ref2.hasFooter;
    return hasFooter ? 'unset' : '1rem';
  };
};
var StyledSheetContent = /*#__PURE__*/styled('div')({
  name: "StyledSheetContent",
  "class": "s1cdpbaw",
  propsAsIs: false,
  vars: {
    "s1cdpbaw-0": [/*#__PURE__*/_exp6()],
    "s1cdpbaw-1": [/*#__PURE__*/_exp7()]
  }
});
var _exp8 = function _exp8() {
  return function (_ref3) {
    var isHeaderFixed = _ref3.isHeaderFixed;
    return isHeaderFixed ? 'sticky' : 'static';
  };
};
var _exp9 = function _exp9() {
  return function (_ref4) {
    var isHeaderFixed = _ref4.isHeaderFixed;
    return isHeaderFixed ? '0' : 'unset';
  };
};
var _exp10 = function _exp10() {
  return function (_ref5) {
    var isHeaderFixed = _ref5.isHeaderFixed;
    return isHeaderFixed ? "var(".concat(tokens.contentBackgroundColor, ")") : 'transparent';
  };
};
var StyledSheetHeader = /*#__PURE__*/styled('div')({
  name: "StyledSheetHeader",
  "class": "sjx120m",
  propsAsIs: false,
  vars: {
    "sjx120m-0": [/*#__PURE__*/_exp8()],
    "sjx120m-1": [/*#__PURE__*/_exp9()],
    "sjx120m-2": [/*#__PURE__*/_exp10()]
  }
});
var StyledSheetBody = /*#__PURE__*/styled('div')({
  name: "StyledSheetBody",
  "class": "s1f8rwx6",
  propsAsIs: false
});
var _exp11 = function _exp11() {
  return function (_ref6) {
    var isFooterFixed = _ref6.isFooterFixed;
    return isFooterFixed ? 'sticky' : 'static';
  };
};
var _exp12 = function _exp12() {
  return function (_ref7) {
    var isFooterFixed = _ref7.isFooterFixed;
    return isFooterFixed ? '0' : 'unset';
  };
};
var _exp13 = function _exp13() {
  return function (_ref8) {
    var isFooterFixed = _ref8.isFooterFixed;
    return isFooterFixed ? "var(".concat(tokens.contentBackgroundColor, ")") : 'transparent';
  };
};
var StyledSheetFooter = /*#__PURE__*/styled('div')({
  name: "StyledSheetFooter",
  "class": "sqp1ccu",
  propsAsIs: false,
  vars: {
    "sqp1ccu-0": [/*#__PURE__*/_exp11()],
    "sqp1ccu-1": [/*#__PURE__*/_exp12()],
    "sqp1ccu-2": [/*#__PURE__*/_exp13()]
  }
});

export { StyledContentWrapper, StyledSheetBody, StyledSheetContent, StyledSheetFooter, StyledSheetHandle, StyledSheetHeader };
//# sourceMappingURL=Sheet.styles.js.map
