@credithub/harlan-components 1.104.0 → 1.104.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.
@@ -6,15 +6,16 @@ import { formatDocument } from '../../utils/string';
6
6
  import React from 'react';
7
7
  import styled from 'styled-components';
8
8
  import AddItemField from '../common/addItem';
9
- import { ResultContent } from '../interface/result';
10
- var EditalContainer = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: 30px;\n margin-top: 20px;\n"], ["\n display: flex;\n flex-direction: column;\n gap: 30px;\n margin-top: 20px;\n"])));
11
- var EditalCard = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background: #f8f9fa;\n border-radius: 8px;\n padding: 20px;\n border-left: 4px solid #dc3545;\n"], ["\n background: #f8f9fa;\n border-radius: 8px;\n padding: 20px;\n border-left: 4px solid #dc3545;\n"])));
12
- var EditalHeader = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n margin-bottom: 15px;\n padding-bottom: 15px;\n border-bottom: 1px solid #dee2e6;\n"], ["\n margin-bottom: 15px;\n padding-bottom: 15px;\n border-bottom: 1px solid #dee2e6;\n"])));
13
- var EditalTitle = styled.h4(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n margin: 0 0 10px 0;\n color: #212529;\n font-size: 16px;\n font-weight: 600;\n"], ["\n margin: 0 0 10px 0;\n color: #212529;\n font-size: 16px;\n font-weight: 600;\n"])));
14
- var EditalText = styled.p(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n margin: 10px 0;\n padding: 15px;\n background: white;\n border-radius: 4px;\n font-size: 14px;\n line-height: 1.6;\n color: #495057;\n border-left: 3px solid #ffc107;\n"], ["\n margin: 10px 0;\n padding: 15px;\n background: white;\n border-radius: 4px;\n font-size: 14px;\n line-height: 1.6;\n color: #495057;\n border-left: 3px solid #ffc107;\n"])));
15
- var TitulosSection = styled.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n margin-top: 20px;\n"], ["\n margin-top: 20px;\n"])));
16
- var TitulosSectionTitle = styled.h5(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n margin: 0 0 15px 0;\n color: #495057;\n font-size: 14px;\n font-weight: 600;\n text-transform: uppercase;\n"], ["\n margin: 0 0 15px 0;\n color: #495057;\n font-size: 14px;\n font-weight: 600;\n text-transform: uppercase;\n"])));
17
- var TituloCard = styled.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n background: white;\n border-radius: 6px;\n padding: 15px;\n margin-bottom: 15px;\n border: 1px solid #dee2e6;\n\n &:last-child {\n margin-bottom: 0;\n }\n"], ["\n background: white;\n border-radius: 6px;\n padding: 15px;\n margin-bottom: 15px;\n border: 1px solid #dee2e6;\n\n &:last-child {\n margin-bottom: 0;\n }\n"])));
9
+ import { ResultContent as BaseResultContent } from '../interface/result';
10
+ var ResultContent = styled(BaseResultContent)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 18px 20px;\n"], ["\n padding: 18px 20px;\n"])));
11
+ var EditalContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: 20px;\n margin-top: 20px;\n padding: 0 20px;\n"], ["\n display: flex;\n flex-direction: column;\n gap: 20px;\n margin-top: 20px;\n padding: 0 20px;\n"])));
12
+ var EditalCard = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n background: #f8f9fa;\n border-radius: 8px;\n padding: 0;\n border-left: 4px solid #dc3545;\n overflow: hidden;\n"], ["\n background: #f8f9fa;\n border-radius: 8px;\n padding: 0;\n border-left: 4px solid #dc3545;\n overflow: hidden;\n"])));
13
+ var EditalHeader = styled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n border-bottom: 1px solid #dee2e6;\n"], ["\n border-bottom: 1px solid #dee2e6;\n"])));
14
+ var EditalTitle = styled.h4(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n margin: 0;\n padding: 18px 20px 12px 20px;\n color: #212529;\n font-size: 16px;\n font-weight: 600;\n"], ["\n margin: 0;\n padding: 18px 20px 12px 20px;\n color: #212529;\n font-size: 16px;\n font-weight: 600;\n"])));
15
+ var EditalText = styled.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n padding: 18px 20px;\n background: white;\n font-size: 14px;\n line-height: 1.6;\n color: #495057;\n border-top: 1px solid #dee2e6;\n border-bottom: 1px solid #dee2e6;\n\n strong {\n display: block;\n margin-bottom: 10px;\n color: #212529;\n }\n"], ["\n padding: 18px 20px;\n background: white;\n font-size: 14px;\n line-height: 1.6;\n color: #495057;\n border-top: 1px solid #dee2e6;\n border-bottom: 1px solid #dee2e6;\n\n strong {\n display: block;\n margin-bottom: 10px;\n color: #212529;\n }\n"])));
16
+ var TitulosSection = styled.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n padding: 18px 0;\n"], ["\n padding: 18px 0;\n"])));
17
+ var TitulosSectionTitle = styled.h5(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n margin: 0 0 20px 0;\n padding: 0 20px;\n color: #495057;\n font-size: 14px;\n font-weight: 600;\n text-transform: uppercase;\n"], ["\n margin: 0 0 20px 0;\n padding: 0 20px;\n color: #495057;\n font-size: 14px;\n font-weight: 600;\n text-transform: uppercase;\n"])));
18
+ var TituloCard = styled.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n background: white;\n border-radius: 6px;\n margin: 0 20px 12px 20px;\n border: 1px solid #dee2e6;\n\n &:last-child {\n margin-bottom: 0;\n }\n"], ["\n background: white;\n border-radius: 6px;\n margin: 0 20px 12px 20px;\n border: 1px solid #dee2e6;\n\n &:last-child {\n margin-bottom: 0;\n }\n"])));
18
19
  var formatDate = function (dateStr) {
19
20
  if (!dateStr)
20
21
  return '-';
@@ -51,7 +52,8 @@ var EditalList = function (_a) {
51
52
  React.createElement(EditalTitle, null,
52
53
  "Edital #",
53
54
  edital.cd_arquivo_editalEletronico,
54
- " - ",
55
+ " -",
56
+ ' ',
55
57
  edital.nome_cartorio),
56
58
  React.createElement(ResultContent, { print: "repeat(3, 1fr)", desktop: "repeat(3, 1fr)", tablet: "repeat(2, 1fr)", mobile: "1fr" },
57
59
  React.createElement(AddItemField, { name: "Cart\u00F3rio", value: edital.nome_cartorio }),
@@ -83,4 +85,4 @@ var EditalList = function (_a) {
83
85
  })));
84
86
  };
85
87
  export default EditalList;
86
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
88
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9;