cx 23.2.0 → 23.3.0

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.
package/dist/reset.css CHANGED
@@ -2,72 +2,88 @@ html {
2
2
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
3
3
  font-size: 14px;
4
4
  height: 100%;
5
- background-color: #eee; }
5
+ background-color: #eee;
6
+ }
6
7
 
7
8
  body {
8
9
  margin: 0;
9
10
  padding: 0;
10
11
  height: 100%;
11
- color: #373a3c; }
12
+ color: #373a3c;
13
+ }
12
14
 
13
15
  h1 {
14
16
  font-size: 2rem;
15
17
  line-height: 1.1;
16
18
  margin: 0 0 0.75rem 0;
17
- font-weight: 500; }
19
+ font-weight: 500;
20
+ }
18
21
 
19
22
  h2 {
20
23
  font-size: 1.75rem;
21
24
  line-height: 1.1;
22
25
  margin: 0 0 0.5rem 0;
23
- font-weight: 500; }
26
+ font-weight: 500;
27
+ }
24
28
 
25
29
  h3 {
26
30
  font-size: 1.5rem;
27
31
  line-height: 1.1;
28
32
  margin: 0 0 0.5rem 0;
29
- font-weight: 500; }
33
+ font-weight: 500;
34
+ }
30
35
 
31
36
  h4 {
32
37
  font-size: 1.3rem;
33
38
  line-height: 1.1;
34
39
  margin: 0 0 0.5rem 0;
35
- font-weight: 500; }
40
+ font-weight: 500;
41
+ }
36
42
 
37
43
  h5 {
38
44
  font-size: 1.15rem;
39
45
  line-height: 1.1;
40
46
  margin: 0 0 0.5rem 0;
41
- font-weight: 500; }
47
+ font-weight: 500;
48
+ }
42
49
 
43
50
  h6 {
44
51
  font-size: 1rem;
45
52
  line-height: 1.1;
46
53
  margin: 0 0 0.5rem 0;
47
- font-weight: 500; }
54
+ font-weight: 500;
55
+ }
48
56
 
49
57
  p {
50
- margin: 0 0 1rem 0; }
58
+ margin: 0 0 1rem 0;
59
+ }
51
60
 
52
61
  a {
53
62
  text-decoration: none;
54
- color: #0275d8; }
63
+ color: #0275d8;
64
+ }
55
65
 
56
66
  a:hover {
57
- text-decoration: underline; }
67
+ text-decoration: underline;
68
+ }
58
69
 
59
70
  ul {
60
- margin: 0 0 1rem 0; }
71
+ margin: 0 0 1rem 0;
72
+ }
61
73
 
62
74
  ol {
63
- margin: 0 0 1rem 0; }
75
+ margin: 0 0 1rem 0;
76
+ }
64
77
 
65
78
  th {
66
- font-weight: 500; }
79
+ font-weight: 500;
80
+ }
67
81
 
68
82
  text {
69
83
  fill: currentColor;
70
- stroke: none; }
84
+ stroke: none;
85
+ }
71
86
 
72
87
  table {
73
- font-size: inherit; }
88
+ font-size: inherit;
89
+ }
package/dist/svg.css CHANGED
@@ -1,15 +1,19 @@
1
1
  .cxs-text-anchor-middle {
2
- text-anchor: middle; }
2
+ text-anchor: middle;
3
+ }
3
4
 
4
5
  .cxs-text-anchor-right {
5
- text-anchor: end; }
6
+ text-anchor: end;
7
+ }
6
8
 
7
9
  .cxb-svg {
8
10
  box-sizing: border-box;
9
11
  overflow: hidden;
10
12
  position: relative;
11
- height: 150px; }
12
- .cxb-svg > svg {
13
- width: 100%;
14
- height: 100%;
15
- position: absolute; }
13
+ height: 150px;
14
+ }
15
+ .cxb-svg > svg {
16
+ width: 100%;
17
+ height: 100%;
18
+ position: absolute;
19
+ }
package/dist/util.js CHANGED
@@ -587,7 +587,7 @@ function parseStyle(str) {
587
587
 
588
588
  function quoteStr(str) {
589
589
  if (str == null) return str;
590
- return "'" + str.replace(/'/g, "\\i") + "'";
590
+ return JSON.stringify(str);
591
591
  }
592
592
 
593
593
  function findScrollableParent(sourceEl, horizontal) {