react-ink-scripter 0.0.13 → 0.0.14

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.
@@ -4,17 +4,18 @@
4
4
  flex-direction: column;
5
5
  overflow: hidden;
6
6
  padding: 4px;
7
+ font-size: 14px;
7
8
  }
8
9
 
9
10
  .inks-root > #title {
10
11
  text-align: center;
11
12
  flex: 1 0;
12
13
  padding: 16px;
13
- font-size: 20px;
14
+ font-size: 28px;
14
15
  }
15
16
 
16
17
  .inks-root > #footer {
17
- margin-left: -8px;
18
+ margin: 0;
18
19
  }
19
20
 
20
21
  .inks-grid {
@@ -96,9 +97,8 @@
96
97
  padding: 0;
97
98
  text-align: left;
98
99
  border-spacing: 0;
99
-
100
- border-top: var(--Border-Props);
101
- border-left: var(--Border-Props);
100
+ border-collapse: collapse;
101
+ border: var(--Border-Props);
102
102
  }
103
103
 
104
104
 
@@ -115,7 +115,6 @@
115
115
  .inks-cell {
116
116
  padding: 8px 4px;
117
117
  margin: 0;
118
- border-right: var(--Border-Props);
119
- border-bottom: var(--Border-Props);
118
+ border: var(--Border-Props);
120
119
  }
121
120
 
package/dist/cjs/index.js CHANGED
@@ -216,7 +216,7 @@ var Text = function Text(_ref4) {
216
216
  className = _ref4.className;
217
217
  return jsxRuntime.jsx("div", {
218
218
  id: id,
219
- className: clsx("inks-text", span && "inks-grid", span && "inks-span-".concat(span), className),
219
+ className: clsx("inks-text", span && "inks-span-".concat(span), className),
220
220
  children: value
221
221
  });
222
222
  };
@@ -228,7 +228,7 @@ var Pair = function Pair(_ref5) {
228
228
  className = _ref5.className;
229
229
  return jsxRuntime.jsxs("div", {
230
230
  id: id,
231
- className: clsx("inks-pair", span && "inks-grid", span && "inks-span-".concat(span), className),
231
+ className: clsx("inks-pair", span && "inks-span-".concat(span), className),
232
232
  children: [jsxRuntime.jsxs("label", {
233
233
  className: "inks-pair-label",
234
234
  children: [label, ":"]
package/dist/esm/index.js CHANGED
@@ -106,10 +106,10 @@ const Table = (props) => {
106
106
  return (jsxs("table", { id: id, className: "inks-table", children: [jsx(TableHead, { rows: head }), jsx(TableBody, { rows: body }), jsx(TableFoot, { rows: foot })] }));
107
107
  };
108
108
  const Text = ({ id, value, span, className }) => {
109
- return (jsx("div", { id: id, className: clsx("inks-text", span && "inks-grid", span && `inks-span-${span}`, className), children: value }));
109
+ return (jsx("div", { id: id, className: clsx("inks-text", span && `inks-span-${span}`, className), children: value }));
110
110
  };
111
111
  const Pair = ({ id, value, label, span, className }) => {
112
- return (jsxs("div", { id: id, className: clsx("inks-pair", span && "inks-grid", span && `inks-span-${span}`, className), children: [jsxs("label", { className: "inks-pair-label", children: [label, ":"] }), jsx("div", { className: "inks-pair-value", children: value })] }));
112
+ return (jsxs("div", { id: id, className: clsx("inks-pair", span && `inks-span-${span}`, className), children: [jsxs("label", { className: "inks-pair-label", children: [label, ":"] }), jsx("div", { className: "inks-pair-value", children: value })] }));
113
113
  };
114
114
  const InkScripter = forwardRef((props, ref) => {
115
115
  const { value = [], className } = props;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-ink-scripter",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "a react component for generate page to print",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",