Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@filerobot/explorer / lib / components / HeaderBar / HeaderBar.styled.js
Size: Mime:
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
import { FV, PC } from '@filerobot/common';
import styled, { css } from 'styled-components';
import { IconButton as SfxIconButton } from '@scaleflex/ui/core';
var HeaderBar = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n  display: flex;\n  align-items: center;\n  padding: 0 24px;\n  padding-right: calc(24px - 12px);\n  margin-bottom: 4px;\n\n  ", "\n"])), function (_ref) {
  var showFoldersTreeIcon = _ref.showFoldersTreeIcon;
  return showFoldersTreeIcon && css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n    padding-left: calc(24px - 12px);\n  "])));
});
var RightSide = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n  display: flex;\n  align-items: center;\n  justify-content: flex-end;\n  height: 100%;\n"])));
var ViewLabel = styled.p(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n  margin: 0;\n  flex: 1;\n  ", ";\n  color: ", ";\n"])), function (_ref2) {
  var typography = _ref2.theme.typography;
  return typography.font[FV.LabelLarge];
}, function (_ref3) {
  var palette = _ref3.theme.palette;
  return palette[PC.TextPrimary];
});
var Count = styled.span(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n"])));
var IconButton = styled(SfxIconButton)(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n"])));
var Styled = {
  HeaderBar: HeaderBar,
  RightSide: RightSide,
  ViewLabel: ViewLabel,
  Count: Count,
  IconButton: IconButton
};
export default Styled;