@lingk/sync 0.0.7 → 0.0.9
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/README.md +18 -1
- package/build/css/lightning.css +38 -25
- package/build/css/lingk.css +56 -30
- package/build/lightning.js +4278 -59
- package/build/lightning.js.map +1 -1
- package/build/lingk.js +4292 -73
- package/build/lingk.js.map +1 -1
- package/build/reducer.js +2 -2
- package/build/reducer.js.map +1 -1
- package/package.json +1 -1
- package/build/main.js +0 -4311
- package/build/main.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,2 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
### Wizard Framework
|
|
2
|
+
**npm start**
|
|
3
|
+
Serves a dev version from /src/lib
|
|
2
4
|
|
|
5
|
+
**npm run build**
|
|
6
|
+
Builds the entire /lib directory into /build and transpiles to ES5. Files:
|
|
7
|
+
|
|
8
|
+
- main.js (import WizardFormLoader from here)
|
|
9
|
+
- reducer.js (import wizardReducer from here)
|
|
10
|
+
- lingk.js
|
|
11
|
+
- lightning.js
|
|
12
|
+
- /css
|
|
13
|
+
- main.css (shared)
|
|
14
|
+
- lingk.css
|
|
15
|
+
- lighning.css
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
**npm test**
|
|
19
|
+
Serves the /build version for testing
|
package/build/css/lightning.css
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
/* CUSTOM STYLES */
|
|
2
|
-
body {
|
|
3
|
-
margin: 0;
|
|
4
|
-
padding: 0;
|
|
5
|
-
}
|
|
6
2
|
|
|
7
3
|
body, td {
|
|
8
4
|
font-family: "Salesforce Sans", Arial, sans-serif !important;
|
|
@@ -16,19 +12,39 @@ body, td {
|
|
|
16
12
|
ul li, ol li {
|
|
17
13
|
margin-left: 0 !important;
|
|
18
14
|
}
|
|
15
|
+
|
|
16
|
+
.wizard-sidebar{
|
|
17
|
+
width:250px;
|
|
18
|
+
}
|
|
19
|
+
.wizard-content{
|
|
20
|
+
width: calc(100% - 250px);
|
|
21
|
+
}
|
|
22
|
+
.accordion-panel{
|
|
23
|
+
border: 1px solid #0070d2;
|
|
24
|
+
}
|
|
25
|
+
.accordion-panel-header{
|
|
26
|
+
background: #0070d2;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
body{
|
|
30
|
+
margin: 0;
|
|
31
|
+
padding: 0;
|
|
32
|
+
-webkit-font-smoothing: antialiased;
|
|
33
|
+
}
|
|
19
34
|
.wizard-body{
|
|
20
35
|
width:100%;
|
|
21
|
-
|
|
36
|
+
height: 100%;
|
|
22
37
|
}
|
|
23
38
|
.wizard-sidebar{
|
|
24
|
-
|
|
25
|
-
|
|
39
|
+
display: inline-block;
|
|
40
|
+
height: 100%;
|
|
26
41
|
}
|
|
27
42
|
.wizard-content{
|
|
28
|
-
width: calc(100% - 250px);
|
|
29
43
|
vertical-align:top;
|
|
30
44
|
padding:31px 28px 31px 45px;
|
|
31
45
|
display:inline-block;
|
|
46
|
+
height: 100%;
|
|
47
|
+
overflow-y: scroll;
|
|
32
48
|
}
|
|
33
49
|
.wizard-schema-field {
|
|
34
50
|
cursor:pointer;
|
|
@@ -36,31 +52,28 @@ ul li, ol li {
|
|
|
36
52
|
.wizard-schema-field:hover {
|
|
37
53
|
background: #dfe0e0 !important;
|
|
38
54
|
}
|
|
39
|
-
|
|
40
55
|
.accordion-panel{
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
56
|
+
line-height: 1.4;
|
|
57
|
+
border-radius: 7px;
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
margin-bottom: 6px;
|
|
45
60
|
}
|
|
46
61
|
.accordion-panel-header{
|
|
47
|
-
background: #0070d2;
|
|
48
62
|
color: white;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
63
|
+
padding: 9px 13px;
|
|
64
|
+
font-weight: bold;
|
|
65
|
+
cursor:pointer;
|
|
66
|
+
-moz-user-select: none;
|
|
67
|
+
-webkit-user-select: none;
|
|
68
|
+
-ms-user-select: none;
|
|
69
|
+
user-select: none;
|
|
56
70
|
}
|
|
57
71
|
.accordion-panel-header:hover{
|
|
58
72
|
text-decoration: underline;
|
|
59
73
|
}
|
|
60
74
|
.accordion-panel-collapse{
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
75
|
+
transition: height 0.35s;
|
|
76
|
+
-webkit-transition: height 0.35s;
|
|
77
|
+
padding: 0 13px;
|
|
64
78
|
}
|
|
65
|
-
|
|
66
79
|
/*# sourceMappingURL=lightning.css.map*/
|
package/build/css/lingk.css
CHANGED
|
@@ -1,57 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
body, td {
|
|
7
|
-
font-family: "Helvetica Neue", Arial, sans-serif !important;
|
|
1
|
+
body{
|
|
2
|
+
margin: 0;
|
|
3
|
+
padding: 0;
|
|
4
|
+
-webkit-font-smoothing: antialiased;
|
|
8
5
|
}
|
|
9
6
|
.wizard-body{
|
|
10
7
|
width:100%;
|
|
11
|
-
|
|
8
|
+
height: 100%;
|
|
12
9
|
}
|
|
13
10
|
.wizard-sidebar{
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
display: inline-block;
|
|
12
|
+
height: 100%;
|
|
16
13
|
}
|
|
17
14
|
.wizard-content{
|
|
18
|
-
width: calc(100% - 190px);
|
|
19
15
|
vertical-align:top;
|
|
20
16
|
padding:31px 28px 31px 45px;
|
|
21
17
|
display:inline-block;
|
|
18
|
+
height: 100%;
|
|
19
|
+
overflow-y: scroll;
|
|
22
20
|
}
|
|
23
|
-
.btn{
|
|
24
|
-
border-radius: 0;
|
|
25
|
-
}
|
|
26
|
-
.form-control{
|
|
27
|
-
width: 300px;
|
|
28
|
-
}
|
|
29
|
-
.wizard-step-circle {
|
|
30
|
-
width: 35px;
|
|
31
|
-
height: 35px;
|
|
32
|
-
border-radius: 50%;
|
|
33
|
-
padding-top: 8px;
|
|
34
|
-
text-align: center;
|
|
35
|
-
margin: 10px;
|
|
36
|
-
display: inline-block;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
21
|
.wizard-schema-field {
|
|
40
22
|
cursor:pointer;
|
|
41
23
|
}
|
|
42
24
|
.wizard-schema-field:hover {
|
|
43
25
|
background: #dfe0e0 !important;
|
|
44
26
|
}
|
|
45
|
-
|
|
46
27
|
.accordion-panel{
|
|
47
28
|
line-height: 1.4;
|
|
48
|
-
border: 1px solid #2e6da4;
|
|
49
29
|
border-radius: 7px;
|
|
50
30
|
overflow: hidden;
|
|
51
31
|
margin-bottom: 6px;
|
|
52
32
|
}
|
|
53
33
|
.accordion-panel-header{
|
|
54
|
-
background: #337ab7;
|
|
55
34
|
color: white;
|
|
56
35
|
padding: 9px 13px;
|
|
57
36
|
font-weight: bold;
|
|
@@ -68,8 +47,55 @@ body, td {
|
|
|
68
47
|
transition: height 0.35s;
|
|
69
48
|
-webkit-transition: height 0.35s;
|
|
70
49
|
padding: 0 13px;
|
|
50
|
+
}body {
|
|
51
|
+
margin: 0;
|
|
52
|
+
padding: 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
body, td {
|
|
56
|
+
font-family: "Helvetica Neue", Arial, sans-serif !important;
|
|
71
57
|
}
|
|
72
58
|
|
|
59
|
+
.wizard-body{
|
|
60
|
+
background: #dfe0e0;
|
|
61
|
+
}
|
|
62
|
+
.wizard-sidebar{
|
|
63
|
+
width:190px;
|
|
64
|
+
}
|
|
65
|
+
.wizard-content{
|
|
66
|
+
width: calc(100% - 190px);
|
|
67
|
+
}
|
|
68
|
+
.btn{
|
|
69
|
+
border-radius: 0;
|
|
70
|
+
}
|
|
71
|
+
.form-control{
|
|
72
|
+
width: 300px;
|
|
73
|
+
}
|
|
74
|
+
.wizard-step-circle {
|
|
75
|
+
width: 35px;
|
|
76
|
+
height: 35px;
|
|
77
|
+
border-radius: 50%;
|
|
78
|
+
padding-top: 8px;
|
|
79
|
+
text-align: center;
|
|
80
|
+
margin: 10px;
|
|
81
|
+
display: inline-block;
|
|
82
|
+
}
|
|
83
|
+
.wizard-sidebar:hover .wizard-sidebar-content::-webkit-scrollbar {
|
|
84
|
+
-webkit-appearance: none;
|
|
85
|
+
width: 7px;
|
|
86
|
+
}
|
|
87
|
+
.wizard-sidebar:hover .wizard-sidebar-content::-webkit-scrollbar-thumb {
|
|
88
|
+
border-radius: 4px;
|
|
89
|
+
background-color: rgba(0,0,0,.5);
|
|
90
|
+
-webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.accordion-panel{
|
|
94
|
+
border: 1px solid #2e6da4;
|
|
95
|
+
}
|
|
96
|
+
.accordion-panel-header{
|
|
97
|
+
background: #337ab7;
|
|
98
|
+
}
|
|
73
99
|
.btn-primary {
|
|
74
100
|
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24);
|
|
75
101
|
color: #fff;
|