@fishawack/lab-velocity 2.0.0-beta.4 → 2.0.0-beta.6
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/_Build/vue/components/form/Select.vue +2 -2
- package/_Build/vue/components/form/Spinner.vue +5 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/Upload/upload.vue +19 -11
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/partials/form.vue +19 -11
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/show.vue +12 -8
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/partials/form.vue +11 -7
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/show.vue +7 -4
- package/_Build/vue/modules/AuthModule/components/FormRole.vue +3 -1
- package/_Build/vue/modules/AuthModule/components/VFormFooter.vue +12 -6
- package/_Build/vue/modules/AuthModule/components/VTable.vue +14 -5
- package/_Build/vue/modules/AuthModule/components/VTableSorter.vue +24 -12
- package/_defaults.scss +2 -13
- package/_variables.scss +9 -4
- package/components/_alert.scss +5 -0
- package/components/_auth.scss +205 -0
- package/components/_basic.scss +55 -0
- package/components/_breadcrumbs.scss +39 -0
- package/components/_button.scss +304 -0
- package/components/_cascader.scss +12 -0
- package/components/_checkbox.scss +41 -0
- package/components/_chip.scss +24 -0
- package/components/_collapse.scss +24 -0
- package/components/_datepicker.scss +52 -0
- package/components/_footer.scss +46 -0
- package/components/_form.scss +24 -0
- package/components/_header.scss +54 -0
- package/components/_icon.scss +25 -0
- package/components/_input.scss +0 -0
- package/components/_inputNumber.scss +22 -0
- package/components/_link.scss +44 -0
- package/components/_loader.scss +43 -0
- package/components/_menu.scss +112 -0
- package/components/_modal.scss +24 -0
- package/components/_pageTitle.scss +8 -0
- package/components/_permissionLegend.scss +18 -0
- package/components/_select.scss +29 -0
- package/components/_sidebar.scss +56 -0
- package/components/_switch.scss +14 -0
- package/components/_table.scss +20 -0
- package/components/_tooltip.scss +4 -0
- package/components/_typography.scss +162 -0
- package/components/_upload.scss +15 -0
- package/components/_wysiwyg.scss +7 -0
- package/components/_wysiwyg2.scss +142 -0
- package/package.json +3 -1
- package/vendor.scss +0 -1
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
@import "@fishawack/lab-ui/_typography.scss";
|
|
2
|
+
/* Primary font
|
|
3
|
+
-------------------------------------------------- */
|
|
4
|
+
@font-face {
|
|
5
|
+
font-family: $primaryFont;
|
|
6
|
+
font-weight: 400;
|
|
7
|
+
font-style: normal;
|
|
8
|
+
|
|
9
|
+
src:
|
|
10
|
+
resolve($primaryFontRegular + ".woff2") format("woff2"),
|
|
11
|
+
resolve($primaryFontRegular + ".woff") format("woff");
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@font-face {
|
|
15
|
+
font-family: $primaryFont;
|
|
16
|
+
font-weight: 100;
|
|
17
|
+
font-style: normal;
|
|
18
|
+
|
|
19
|
+
src:
|
|
20
|
+
resolve($primaryFontThin + ".woff2") format("woff2"),
|
|
21
|
+
resolve($primaryFontThin + ".woff") format("woff");
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@font-face {
|
|
25
|
+
font-family: $primaryFont;
|
|
26
|
+
font-weight: 200;
|
|
27
|
+
font-style: normal;
|
|
28
|
+
|
|
29
|
+
src:
|
|
30
|
+
resolve($primaryFontExtraLight + ".woff2") format("woff2"),
|
|
31
|
+
resolve($primaryFontExtraLight + ".woff") format("woff");
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@font-face {
|
|
35
|
+
font-family: $primaryFont;
|
|
36
|
+
font-weight: 300;
|
|
37
|
+
font-style: normal;
|
|
38
|
+
|
|
39
|
+
src:
|
|
40
|
+
resolve($primaryFontLight + ".woff2") format("woff2"),
|
|
41
|
+
resolve($primaryFontLight + ".woff") format("woff");
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@font-face {
|
|
45
|
+
font-family: $primaryFont;
|
|
46
|
+
font-weight: 500;
|
|
47
|
+
font-style: normal;
|
|
48
|
+
|
|
49
|
+
src:
|
|
50
|
+
resolve($primaryFontMedium + ".woff2") format("woff2"),
|
|
51
|
+
resolve($primaryFontMedium + ".woff") format("woff");
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@font-face {
|
|
55
|
+
font-family: $primaryFont;
|
|
56
|
+
font-weight: 600;
|
|
57
|
+
font-style: normal;
|
|
58
|
+
|
|
59
|
+
src:
|
|
60
|
+
resolve($primaryFontSemiBold + ".woff2") format("woff2"),
|
|
61
|
+
resolve($primaryFontSemiBold + ".woff") format("woff");
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@font-face {
|
|
65
|
+
font-family: $primaryFont;
|
|
66
|
+
font-weight: 700;
|
|
67
|
+
font-style: normal;
|
|
68
|
+
|
|
69
|
+
src:
|
|
70
|
+
resolve($primaryFontBold + ".woff2") format("woff2"),
|
|
71
|
+
resolve($primaryFontBold + ".woff2") format("woff2");
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@font-face {
|
|
75
|
+
font-family: $secondaryFont;
|
|
76
|
+
font-weight: 500;
|
|
77
|
+
font-style: normal;
|
|
78
|
+
|
|
79
|
+
src: resolve($secondaryFontMedium + ".ttf") format("truetype");
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
h1,
|
|
83
|
+
.h1 {
|
|
84
|
+
font-size: get-ratio(48px);
|
|
85
|
+
line-height: get-ratio(56px);
|
|
86
|
+
font-family: $primaryFont;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
h2,
|
|
90
|
+
.h2 {
|
|
91
|
+
font-size: get-ratio(36px);
|
|
92
|
+
line-height: get-ratio(48px);
|
|
93
|
+
font-family: $secondaryFont;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
h3,
|
|
97
|
+
.h3 {
|
|
98
|
+
font-size: get-ratio(32px);
|
|
99
|
+
line-height: get-ratio(42px);
|
|
100
|
+
font-family: $primaryFont;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
h4,
|
|
104
|
+
.h4 {
|
|
105
|
+
font-size: get-ratio(24px);
|
|
106
|
+
line-height: get-ratio(32px);
|
|
107
|
+
font-family: $primaryFont;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
h5,
|
|
111
|
+
.h5 {
|
|
112
|
+
font-size: get-ratio(20px);
|
|
113
|
+
line-height: get-ratio(24px);
|
|
114
|
+
font-weight: 700;
|
|
115
|
+
font-family: $primaryFont;
|
|
116
|
+
}
|
|
117
|
+
h1,
|
|
118
|
+
.h1,
|
|
119
|
+
h2,
|
|
120
|
+
.h2,
|
|
121
|
+
h3,
|
|
122
|
+
.h3,
|
|
123
|
+
h4,
|
|
124
|
+
.h4,
|
|
125
|
+
h5,
|
|
126
|
+
.h5 {
|
|
127
|
+
font-weight: 500;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
// may be project specific
|
|
131
|
+
|
|
132
|
+
.font-secondary {
|
|
133
|
+
font-family: $secondaryFont;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.font-primary {
|
|
137
|
+
font-family: $primaryFont;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.text-10 {
|
|
141
|
+
font-size: get-ratio(10px);
|
|
142
|
+
line-height: get-ratio(16px);
|
|
143
|
+
}
|
|
144
|
+
.text-12 {
|
|
145
|
+
font-size: get-ratio(12px);
|
|
146
|
+
line-height: get-ratio(18px);
|
|
147
|
+
}
|
|
148
|
+
.text-14 {
|
|
149
|
+
font-size: get-ratio(14px);
|
|
150
|
+
line-height: get-ratio(20px);
|
|
151
|
+
}
|
|
152
|
+
.font-16 {
|
|
153
|
+
font-size: get-ratio(16px);
|
|
154
|
+
line-height: get-ratio(24px);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.text-60 {
|
|
158
|
+
font-size: get-ratio(60px);
|
|
159
|
+
line-height: get-ratio(68px);
|
|
160
|
+
font-weight: 500;
|
|
161
|
+
font-family: $primaryFont;
|
|
162
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
@import "element-plus/theme-chalk/el-dropdown";
|
|
2
|
+
@import "element-plus/theme-chalk/el-dropdown-item";
|
|
3
|
+
@import "element-plus/theme-chalk/el-dialog";
|
|
4
|
+
@import "./button.scss";
|
|
5
|
+
|
|
6
|
+
.vel-wysiwyg__controls {
|
|
7
|
+
background-color: $color0;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-grow: 1;
|
|
10
|
+
border: solid $color5 2px;
|
|
11
|
+
border-bottom: none;
|
|
12
|
+
// margin-bottom: .5 * $spacing;
|
|
13
|
+
font-size: get-ratio(14px);
|
|
14
|
+
padding: 0 0.5 * $spacing;
|
|
15
|
+
> * {
|
|
16
|
+
padding: 0.5 * $spacing;
|
|
17
|
+
padding-right: $spacing;
|
|
18
|
+
--el-font-size-base: get-ratio(14px);
|
|
19
|
+
&:not(:last-child) {
|
|
20
|
+
border-right: solid 1px $color5;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
button {
|
|
25
|
+
// border: solid 1px $color1;
|
|
26
|
+
background-color: transparent;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
min-width: 28px;
|
|
29
|
+
padding: 3px 5px;
|
|
30
|
+
line-height: 1;
|
|
31
|
+
border: none;
|
|
32
|
+
&.is-active,
|
|
33
|
+
&:hover {
|
|
34
|
+
background-color: $color5;
|
|
35
|
+
}
|
|
36
|
+
svg {
|
|
37
|
+
height: 90%;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
.el-dropdown {
|
|
41
|
+
line-height: 1.15;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ql-stroke {
|
|
45
|
+
fill: none;
|
|
46
|
+
stroke: #444;
|
|
47
|
+
stroke-linecap: round;
|
|
48
|
+
stroke-linejoin: round;
|
|
49
|
+
stroke-width: 2;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.ql-stroke-miter {
|
|
53
|
+
fill: none;
|
|
54
|
+
stroke: #444;
|
|
55
|
+
stroke-miterlimit: 10;
|
|
56
|
+
stroke-width: 2;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.ql-fill,
|
|
60
|
+
.ql-stroke.ql-fill {
|
|
61
|
+
fill: #444;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.ql-empty {
|
|
65
|
+
fill: none;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.ql-even {
|
|
69
|
+
fill-rule: evenodd;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.ql-thin,
|
|
73
|
+
.ql-stroke.ql-thin {
|
|
74
|
+
stroke-width: 1;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.ql-transparent {
|
|
78
|
+
opacity: 0.4;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
~ div {
|
|
82
|
+
// margin-top: $spacing;
|
|
83
|
+
border: solid $color5 2px;
|
|
84
|
+
background-color: $color0;
|
|
85
|
+
> div {
|
|
86
|
+
padding: 2 * $spacing;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
.vel-wysiwyg__button {
|
|
91
|
+
// border: solid 1px $color1;
|
|
92
|
+
background-color: transparent;
|
|
93
|
+
// cursor: pointer;
|
|
94
|
+
|
|
95
|
+
&.is-active,
|
|
96
|
+
&:hover {
|
|
97
|
+
background-color: $color5;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.vel-wysiwyg {
|
|
102
|
+
// border: solid $color1 1px;
|
|
103
|
+
// padding: $spacing * 1.5;
|
|
104
|
+
|
|
105
|
+
table,
|
|
106
|
+
td,
|
|
107
|
+
th {
|
|
108
|
+
border: solid 0.5px $color1;
|
|
109
|
+
}
|
|
110
|
+
th {
|
|
111
|
+
background-color: $color5;
|
|
112
|
+
}
|
|
113
|
+
hr {
|
|
114
|
+
height: 1px;
|
|
115
|
+
background-color: $color1;
|
|
116
|
+
}
|
|
117
|
+
a {
|
|
118
|
+
text-decoration: underline;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.lab-table,
|
|
123
|
+
.lab-table-cell,
|
|
124
|
+
.lab-table-header {
|
|
125
|
+
border: solid 0.5px $color1;
|
|
126
|
+
}
|
|
127
|
+
.lab-table-header {
|
|
128
|
+
background-color: $color5;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.lab-table {
|
|
132
|
+
a {
|
|
133
|
+
text-decoration: underline;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
.lab-table-cell {
|
|
137
|
+
&:active,
|
|
138
|
+
&:focus-within,
|
|
139
|
+
&.selectedCell {
|
|
140
|
+
background-color: transparentize($color: $color5, $amount: 0.8);
|
|
141
|
+
}
|
|
142
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fishawack/lab-velocity",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.6",
|
|
4
4
|
"description": "Avalere Health branded style system",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"setup": "npm ci || npm i && npm run content",
|
|
@@ -62,6 +62,8 @@
|
|
|
62
62
|
},
|
|
63
63
|
"files": [
|
|
64
64
|
"*.scss",
|
|
65
|
+
"modules",
|
|
66
|
+
"components",
|
|
65
67
|
"_Build/vue/components",
|
|
66
68
|
"_Build/vue/modules/AuthModule"
|
|
67
69
|
],
|