empower-container 0.1.23 → 0.1.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/README.md +378 -377
  2. package/dist/cjs/DatetimeFormatter.d.ts +3 -3
  3. package/dist/cjs/DatetimeFormatter.js +389 -389
  4. package/dist/cjs/Information.d.ts +10 -10
  5. package/dist/cjs/Information.js +63 -63
  6. package/dist/cjs/MenuBar.d.ts +24 -24
  7. package/dist/cjs/MenuBar.js +539 -539
  8. package/dist/cjs/Modal.d.ts +33 -33
  9. package/dist/cjs/Modal.js +44 -44
  10. package/dist/cjs/assets/Asset.d.ts +17 -17
  11. package/dist/cjs/assets/Asset.js +31 -31
  12. package/dist/cjs/constants/Constant.d.ts +15 -15
  13. package/dist/cjs/constants/Constant.js +35 -35
  14. package/dist/cjs/index.d.ts +3 -3
  15. package/dist/cjs/index.js +10 -10
  16. package/dist/cjs/inputs/Input.d.ts +25 -25
  17. package/dist/cjs/inputs/Input.js +106 -106
  18. package/dist/cjs/inputs/InputSelectionHandler.d.ts +3 -3
  19. package/dist/cjs/inputs/InputSelectionHandler.js +36 -36
  20. package/dist/cjs/inputs/Select.d.ts +28 -28
  21. package/dist/cjs/inputs/Select.js +403 -403
  22. package/dist/esm/DatetimeFormatter.d.ts +3 -3
  23. package/dist/esm/DatetimeFormatter.js +385 -385
  24. package/dist/esm/Information.d.ts +10 -10
  25. package/dist/esm/Information.js +38 -38
  26. package/dist/esm/MenuBar.d.ts +24 -24
  27. package/dist/esm/MenuBar.js +534 -534
  28. package/dist/esm/Modal.d.ts +33 -33
  29. package/dist/esm/Modal.js +39 -39
  30. package/dist/esm/assets/Asset.d.ts +17 -17
  31. package/dist/esm/assets/Asset.js +28 -28
  32. package/dist/esm/constants/Constant.d.ts +15 -15
  33. package/dist/esm/constants/Constant.js +32 -32
  34. package/dist/esm/index.d.ts +3 -3
  35. package/dist/esm/index.js +3 -3
  36. package/dist/esm/inputs/Input.d.ts +25 -25
  37. package/dist/esm/inputs/Input.js +104 -104
  38. package/dist/esm/inputs/InputSelectionHandler.d.ts +3 -3
  39. package/dist/esm/inputs/InputSelectionHandler.js +31 -31
  40. package/dist/esm/inputs/Select.d.ts +28 -28
  41. package/dist/esm/inputs/Select.js +399 -399
  42. package/dist/scss/components/_modal.scss +66 -66
  43. package/dist/scss/elements/_button.scss +132 -132
  44. package/dist/scss/elements/_index.scss +1 -1
  45. package/dist/scss/elements/_popover.scss +163 -8
  46. package/dist/scss/foundation/_colors.scss +59 -59
  47. package/dist/scss/foundation/_mixins.scss +40 -40
  48. package/dist/scss/foundation/_normalize.scss +203 -203
  49. package/dist/scss/foundation/_settings.scss +36 -36
  50. package/dist/scss/foundation/_typography.scss +94 -94
  51. package/dist/scss/library/_information.scss +72 -63
  52. package/dist/scss/library/_input.scss +37 -37
  53. package/dist/scss/library/_menubar.scss +244 -240
  54. package/dist/scss/library/_select.scss +254 -258
  55. package/dist/scss/style.scss +38 -38
  56. package/package.json +64 -62
  57. 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,64 +1,73 @@
1
- .em-belt-info {
2
- position: relative;
3
-
4
- .em-info-icon {
5
- display: flex;
6
- justify-content: center;
7
- align-items: center;
8
- height: 40px;
9
- width: 40px;
10
- border-radius: $border-radius-md;
11
-
12
- &:hover {
13
- background-color: $blue-light;
14
-
15
- svg {
16
- path {
17
- stroke: #5C7FF3;
18
- }
19
-
20
- circle {
21
- fill: #5C7FF3;
22
- }
23
- }
24
- }
25
- }
26
- }
27
-
28
- .em-popover-i {
29
- background-color: $white;
30
- width: 650px;
31
- border-bottom-left-radius: $border-radius-md;
32
- border-bottom-right-radius: $border-radius-md;
33
-
34
- .em-popover-i-content {
35
- > div {
36
- max-height: calc(75vh - 120px);
37
- overflow-y: auto;
38
- border-bottom: 1px solid $gray-light1;
39
- padding: 15px;
40
-
41
- &:last-of-type {
42
- border: none;
43
- border-bottom-left-radius: $border-radius-md;
44
- border-bottom-right-radius: $border-radius-md;
45
- }
46
- }
47
-
48
- .em-popover-i-title {
49
- display: flex;
50
- justify-content: space-between;
51
- align-items: center;
52
- }
53
-
54
- .em-popover-i-category {
55
- display: flex;
56
- justify-content: space-between;
57
-
58
- &:hover {
59
- cursor: pointer;
60
- background-color: $gray-light;
61
- }
62
- }
63
- }
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
+ }
64
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
+ }