empower-container 0.1.25 → 0.1.26
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +378 -378
- package/dist/cjs/DatetimeFormatter.d.ts +3 -3
- package/dist/cjs/DatetimeFormatter.js +389 -389
- package/dist/cjs/Information.d.ts +10 -10
- package/dist/cjs/Information.js +63 -63
- package/dist/cjs/MenuBar.d.ts +24 -24
- package/dist/cjs/MenuBar.js +539 -539
- package/dist/cjs/Modal.d.ts +33 -33
- package/dist/cjs/Modal.js +44 -44
- package/dist/cjs/assets/Asset.d.ts +17 -17
- package/dist/cjs/assets/Asset.js +31 -31
- package/dist/cjs/constants/Constant.d.ts +15 -15
- package/dist/cjs/constants/Constant.js +35 -35
- package/dist/cjs/index.d.ts +3 -3
- package/dist/cjs/index.js +10 -10
- package/dist/cjs/inputs/Input.d.ts +25 -25
- package/dist/cjs/inputs/Input.js +106 -106
- package/dist/cjs/inputs/InputSelectionHandler.d.ts +3 -3
- package/dist/cjs/inputs/InputSelectionHandler.js +36 -36
- package/dist/cjs/inputs/Select.d.ts +28 -28
- package/dist/cjs/inputs/Select.js +403 -403
- package/dist/esm/DatetimeFormatter.d.ts +3 -3
- package/dist/esm/DatetimeFormatter.js +385 -385
- package/dist/esm/Information.d.ts +10 -10
- package/dist/esm/Information.js +38 -38
- package/dist/esm/MenuBar.d.ts +24 -24
- package/dist/esm/MenuBar.js +534 -534
- package/dist/esm/Modal.d.ts +33 -33
- package/dist/esm/Modal.js +39 -39
- package/dist/esm/assets/Asset.d.ts +17 -17
- package/dist/esm/assets/Asset.js +28 -28
- package/dist/esm/constants/Constant.d.ts +15 -15
- package/dist/esm/constants/Constant.js +32 -32
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/esm/inputs/Input.d.ts +25 -25
- package/dist/esm/inputs/Input.js +104 -104
- package/dist/esm/inputs/InputSelectionHandler.d.ts +3 -3
- package/dist/esm/inputs/InputSelectionHandler.js +31 -31
- package/dist/esm/inputs/Select.d.ts +28 -28
- package/dist/esm/inputs/Select.js +399 -399
- package/dist/scss/components/_modal.scss +66 -66
- package/dist/scss/elements/_button.scss +132 -132
- package/dist/scss/elements/_index.scss +1 -1
- package/dist/scss/elements/_popover.scss +163 -8
- package/dist/scss/foundation/_colors.scss +59 -59
- package/dist/scss/foundation/_mixins.scss +40 -40
- package/dist/scss/foundation/_normalize.scss +203 -203
- package/dist/scss/foundation/_settings.scss +36 -36
- package/dist/scss/foundation/_typography.scss +94 -94
- package/dist/scss/library/_information.scss +72 -72
- package/dist/scss/library/_input.scss +37 -37
- package/dist/scss/library/_menubar.scss +244 -241
- package/dist/scss/library/_select.scss +254 -258
- package/dist/scss/style.scss +38 -38
- package/package.json +64 -63
- package/tscnofig.old +26 -26
@@ -1,95 +1,95 @@
|
|
1
|
-
body {
|
2
|
-
font-family: 'Roboto', sans-serif;
|
3
|
-
}
|
4
|
-
|
5
|
-
h1, h2, h3, h4, h5, h6{
|
6
|
-
margin: 0 0 1rem;
|
7
|
-
color: $gray-dark;
|
8
|
-
font-family: 'Quicksand', sans-serif;
|
9
|
-
|
10
|
-
&:last-of-type{
|
11
|
-
margin-bottom: 0;
|
12
|
-
}
|
13
|
-
}
|
14
|
-
|
15
|
-
h1{
|
16
|
-
font-size: 2.25rem;
|
17
|
-
|
18
|
-
@include md{
|
19
|
-
font-size: 2.625rem;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
h2{
|
24
|
-
font-size: 1.875rem;
|
25
|
-
|
26
|
-
@include md{
|
27
|
-
font-size: 2.25rem;
|
28
|
-
}
|
29
|
-
}
|
30
|
-
|
31
|
-
h3{
|
32
|
-
font-size: 1.5rem;
|
33
|
-
|
34
|
-
@include md{
|
35
|
-
font-size: 1.875rem;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
h4{
|
40
|
-
font-size: 1.25rem;
|
41
|
-
|
42
|
-
@include md{
|
43
|
-
font-size: 1.5rem;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
|
47
|
-
h5{
|
48
|
-
font-size: 1rem;
|
49
|
-
|
50
|
-
@include md{
|
51
|
-
font-size: 1.25rem;
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
h6{
|
56
|
-
font-size: 0.875rem;
|
57
|
-
}
|
58
|
-
|
59
|
-
label{
|
60
|
-
font-size: 0.875rem;
|
61
|
-
font-weight: 700;
|
62
|
-
color: $gray-light3;
|
63
|
-
text-transform: capitalize;
|
64
|
-
display: inline-block;
|
65
|
-
margin: 0 0 0.25rem;
|
66
|
-
}
|
67
|
-
|
68
|
-
p{
|
69
|
-
color: $gray-dark;
|
70
|
-
line-height: 1.5;
|
71
|
-
margin: 0 0 1rem;
|
72
|
-
|
73
|
-
&:last-of-type{
|
74
|
-
margin-bottom: 0;
|
75
|
-
}
|
76
|
-
}
|
77
|
-
|
78
|
-
a{
|
79
|
-
color: $green-dark;
|
80
|
-
font-weight: 700;
|
81
|
-
font-size: 0.875rem;
|
82
|
-
text-decoration: none;
|
83
|
-
transition: $transition;
|
84
|
-
|
85
|
-
&:hover{
|
86
|
-
color: $green-dark1;
|
87
|
-
}
|
88
|
-
}
|
89
|
-
|
90
|
-
.sub-text{
|
91
|
-
font-size: $text-sm;
|
92
|
-
color: $gray-light4;
|
93
|
-
display: block;
|
94
|
-
line-height: 20px;
|
1
|
+
body {
|
2
|
+
font-family: 'Roboto', sans-serif;
|
3
|
+
}
|
4
|
+
|
5
|
+
h1, h2, h3, h4, h5, h6{
|
6
|
+
margin: 0 0 1rem;
|
7
|
+
color: $gray-dark;
|
8
|
+
font-family: 'Quicksand', sans-serif;
|
9
|
+
|
10
|
+
&:last-of-type{
|
11
|
+
margin-bottom: 0;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
h1{
|
16
|
+
font-size: 2.25rem;
|
17
|
+
|
18
|
+
@include md{
|
19
|
+
font-size: 2.625rem;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
h2{
|
24
|
+
font-size: 1.875rem;
|
25
|
+
|
26
|
+
@include md{
|
27
|
+
font-size: 2.25rem;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
h3{
|
32
|
+
font-size: 1.5rem;
|
33
|
+
|
34
|
+
@include md{
|
35
|
+
font-size: 1.875rem;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
h4{
|
40
|
+
font-size: 1.25rem;
|
41
|
+
|
42
|
+
@include md{
|
43
|
+
font-size: 1.5rem;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
h5{
|
48
|
+
font-size: 1rem;
|
49
|
+
|
50
|
+
@include md{
|
51
|
+
font-size: 1.25rem;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
h6{
|
56
|
+
font-size: 0.875rem;
|
57
|
+
}
|
58
|
+
|
59
|
+
label{
|
60
|
+
font-size: 0.875rem;
|
61
|
+
font-weight: 700;
|
62
|
+
color: $gray-light3;
|
63
|
+
text-transform: capitalize;
|
64
|
+
display: inline-block;
|
65
|
+
margin: 0 0 0.25rem;
|
66
|
+
}
|
67
|
+
|
68
|
+
p{
|
69
|
+
color: $gray-dark;
|
70
|
+
line-height: 1.5;
|
71
|
+
margin: 0 0 1rem;
|
72
|
+
|
73
|
+
&:last-of-type{
|
74
|
+
margin-bottom: 0;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
a{
|
79
|
+
color: $green-dark;
|
80
|
+
font-weight: 700;
|
81
|
+
font-size: 0.875rem;
|
82
|
+
text-decoration: none;
|
83
|
+
transition: $transition;
|
84
|
+
|
85
|
+
&:hover{
|
86
|
+
color: $green-dark1;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
.sub-text{
|
91
|
+
font-size: $text-sm;
|
92
|
+
color: $gray-light4;
|
93
|
+
display: block;
|
94
|
+
line-height: 20px;
|
95
95
|
}
|
@@ -1,73 +1,73 @@
|
|
1
|
-
.em-belt-info {
|
2
|
-
position: relative;
|
3
|
-
|
4
|
-
.em-popover {
|
5
|
-
width: 650px;
|
6
|
-
}
|
7
|
-
|
8
|
-
.em-info-icon {
|
9
|
-
display: flex;
|
10
|
-
justify-content: center;
|
11
|
-
align-items: center;
|
12
|
-
height: 40px;
|
13
|
-
width: 40px;
|
14
|
-
border-radius: $border-radius-md;
|
15
|
-
|
16
|
-
&:hover {
|
17
|
-
background-color: $blue-light;
|
18
|
-
|
19
|
-
svg {
|
20
|
-
path {
|
21
|
-
stroke: #5C7FF3;
|
22
|
-
}
|
23
|
-
|
24
|
-
circle {
|
25
|
-
fill: #5C7FF3;
|
26
|
-
}
|
27
|
-
}
|
28
|
-
}
|
29
|
-
}
|
30
|
-
}
|
31
|
-
|
32
|
-
.em-popover-i {
|
33
|
-
background-color: $white;
|
34
|
-
width: 650px;
|
35
|
-
border-bottom-left-radius: $border-radius-md;
|
36
|
-
border-bottom-right-radius: $border-radius-md;
|
37
|
-
|
38
|
-
.em-popover-i-content {
|
39
|
-
> div {
|
40
|
-
max-height: calc(75vh - 120px);
|
41
|
-
overflow-y: auto;
|
42
|
-
border-bottom: 1px solid $gray-light1;
|
43
|
-
padding: 15px;
|
44
|
-
|
45
|
-
&:last-of-type {
|
46
|
-
border: none;
|
47
|
-
border-bottom-left-radius: $border-radius-md;
|
48
|
-
border-bottom-right-radius: $border-radius-md;
|
49
|
-
}
|
50
|
-
}
|
51
|
-
|
52
|
-
.em-popover-i-title {
|
53
|
-
display: flex;
|
54
|
-
justify-content: space-between;
|
55
|
-
align-items: center;
|
56
|
-
|
57
|
-
h6 {
|
58
|
-
font-size: $text-sm;
|
59
|
-
text-transform: uppercase;
|
60
|
-
}
|
61
|
-
}
|
62
|
-
|
63
|
-
.em-popover-i-category {
|
64
|
-
display: flex;
|
65
|
-
justify-content: space-between;
|
66
|
-
|
67
|
-
&:hover {
|
68
|
-
cursor: pointer;
|
69
|
-
background-color: $gray-light;
|
70
|
-
}
|
71
|
-
}
|
72
|
-
}
|
1
|
+
.em-belt-info {
|
2
|
+
position: relative;
|
3
|
+
|
4
|
+
.em-popover {
|
5
|
+
width: 650px;
|
6
|
+
}
|
7
|
+
|
8
|
+
.em-info-icon {
|
9
|
+
display: flex;
|
10
|
+
justify-content: center;
|
11
|
+
align-items: center;
|
12
|
+
height: 40px;
|
13
|
+
width: 40px;
|
14
|
+
border-radius: $border-radius-md;
|
15
|
+
|
16
|
+
&:hover {
|
17
|
+
background-color: $blue-light;
|
18
|
+
|
19
|
+
svg {
|
20
|
+
path {
|
21
|
+
stroke: #5C7FF3;
|
22
|
+
}
|
23
|
+
|
24
|
+
circle {
|
25
|
+
fill: #5C7FF3;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
.em-popover-i {
|
33
|
+
background-color: $white;
|
34
|
+
width: 650px;
|
35
|
+
border-bottom-left-radius: $border-radius-md;
|
36
|
+
border-bottom-right-radius: $border-radius-md;
|
37
|
+
|
38
|
+
.em-popover-i-content {
|
39
|
+
> div {
|
40
|
+
max-height: calc(75vh - 120px);
|
41
|
+
overflow-y: auto;
|
42
|
+
border-bottom: 1px solid $gray-light1;
|
43
|
+
padding: 15px;
|
44
|
+
|
45
|
+
&:last-of-type {
|
46
|
+
border: none;
|
47
|
+
border-bottom-left-radius: $border-radius-md;
|
48
|
+
border-bottom-right-radius: $border-radius-md;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
.em-popover-i-title {
|
53
|
+
display: flex;
|
54
|
+
justify-content: space-between;
|
55
|
+
align-items: center;
|
56
|
+
|
57
|
+
h6 {
|
58
|
+
font-size: $text-sm;
|
59
|
+
text-transform: uppercase;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
.em-popover-i-category {
|
64
|
+
display: flex;
|
65
|
+
justify-content: space-between;
|
66
|
+
|
67
|
+
&:hover {
|
68
|
+
cursor: pointer;
|
69
|
+
background-color: $gray-light;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
73
|
}
|
@@ -1,37 +1,37 @@
|
|
1
|
-
.em-input {
|
2
|
-
position: relative;
|
3
|
-
width: 100%;
|
4
|
-
|
5
|
-
.em-input-field {
|
6
|
-
min-height: 50px;
|
7
|
-
width: 100%;
|
8
|
-
background-color: $blue-light;
|
9
|
-
border-top-left-radius: 10px;
|
10
|
-
border-top-right-radius: 10px;
|
11
|
-
border-bottom-right-radius: 0;
|
12
|
-
border-bottom-left-radius: 0;
|
13
|
-
box-shadow: inset 0 -2px 0 0 $blue-light1;
|
14
|
-
border: none;
|
15
|
-
font-size: 0.875rem;
|
16
|
-
color: $gray-dark;
|
17
|
-
padding: 10px 15px;
|
18
|
-
margin-bottom: 15px;
|
19
|
-
transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
|
20
|
-
|
21
|
-
&:focus {
|
22
|
-
background-color: $blue-light;
|
23
|
-
color: $gray-dark;
|
24
|
-
border: none;
|
25
|
-
outline: none;
|
26
|
-
box-shadow: inset 0 -2px 0 0 $blue-light4;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
|
-
.em-noresult {
|
31
|
-
padding: 20px;
|
32
|
-
}
|
33
|
-
}
|
34
|
-
|
35
|
-
.is-invalid .em-input .em-input-field {
|
36
|
-
box-shadow: 0 2px 0 0 $red;
|
37
|
-
}
|
1
|
+
.em-input {
|
2
|
+
position: relative;
|
3
|
+
width: 100%;
|
4
|
+
|
5
|
+
.em-input-field {
|
6
|
+
min-height: 50px;
|
7
|
+
width: 100%;
|
8
|
+
background-color: $blue-light;
|
9
|
+
border-top-left-radius: 10px;
|
10
|
+
border-top-right-radius: 10px;
|
11
|
+
border-bottom-right-radius: 0;
|
12
|
+
border-bottom-left-radius: 0;
|
13
|
+
box-shadow: inset 0 -2px 0 0 $blue-light1;
|
14
|
+
border: none;
|
15
|
+
font-size: 0.875rem;
|
16
|
+
color: $gray-dark;
|
17
|
+
padding: 10px 15px;
|
18
|
+
margin-bottom: 15px;
|
19
|
+
transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
|
20
|
+
|
21
|
+
&:focus {
|
22
|
+
background-color: $blue-light;
|
23
|
+
color: $gray-dark;
|
24
|
+
border: none;
|
25
|
+
outline: none;
|
26
|
+
box-shadow: inset 0 -2px 0 0 $blue-light4;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
.em-noresult {
|
31
|
+
padding: 20px;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
.is-invalid .em-input .em-input-field {
|
36
|
+
box-shadow: 0 2px 0 0 $red;
|
37
|
+
}
|