ag-common 0.0.73 → 0.0.74

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.
@@ -16,11 +16,6 @@ const SetLogLevel = (l) => {
16
16
  };
17
17
  exports.SetLogLevel = SetLogLevel;
18
18
  (0, exports.SetLogLevel)(process.env.LOG_LEVEL || '');
19
- function dateF() {
20
- const d = new Date();
21
- const str = `${d.getHours()}:${d.getMinutes()}:${d.getSeconds()}`;
22
- return str;
23
- }
24
19
  function logprocess(type, args) {
25
20
  const min = (0, exports.GetLogLevel)(userLogLevel);
26
21
  const typesLogLevel = (0, exports.GetLogLevel)(type);
@@ -29,7 +24,8 @@ function logprocess(type, args) {
29
24
  return;
30
25
  }
31
26
  ////////
32
- const log = [`[${dateF()}]`, type, ...args.filter(_1.notEmpty)];
27
+ const datetime = new Date().toLocaleTimeString('en-GB');
28
+ const log = [`[${datetime}]`, type, ...args.filter(_1.notEmpty)];
33
29
  switch (type) {
34
30
  case 'TRACE': {
35
31
  console.trace(...log);
@@ -40,6 +40,9 @@ const basecss = (0, styled_components_1.css) `
40
40
  resize: none;
41
41
  overflow: hidden;
42
42
  background-color: white;
43
+ font-size: inherit;
44
+ font-weight: inherit;
45
+ font-family: inherit;
43
46
  `;
44
47
  const ValueTextArea = styled_components_1.default.textarea `
45
48
  ${basecss}
@@ -32,6 +32,7 @@ exports.ValueBox = styled_components_1.default.div `
32
32
  justify-content: flex-start;
33
33
  flex-grow: 1;
34
34
  max-width: 100%;
35
+ border: solid 1px transparent;
35
36
 
36
37
  &[data-pointer='true'] {
37
38
  cursor: pointer;
@@ -44,6 +45,9 @@ exports.valueCss = (0, styled_components_1.css) `
44
45
  width: 100%;
45
46
  height: 100%;
46
47
  word-break: break-all;
48
+ font-size: inherit;
49
+ font-weight: inherit;
50
+ font-family: inherit;
47
51
 
48
52
  &[data-type='checkbox'] {
49
53
  cursor: pointer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ag-common",
3
- "version": "0.0.73",
3
+ "version": "0.0.74",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "author": "Andrei Gec <@andreigec> (https://gec.dev/)",