empower-container 0.1.21 → 0.1.24

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 -376
  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 -16
  11. package/dist/cjs/assets/Asset.js +31 -30
  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 -16
  31. package/dist/esm/assets/Asset.js +28 -27
  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 +133 -107
  44. package/dist/scss/elements/_index.scss +1 -1
  45. package/dist/scss/elements/_popover.scss +7 -7
  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 +63 -67
  52. package/dist/scss/library/_input.scss +37 -37
  53. package/dist/scss/library/_menubar.scss +240 -255
  54. package/dist/scss/library/_select.scss +258 -258
  55. package/dist/scss/style.scss +38 -23
  56. package/package.json +62 -62
  57. package/tscnofig.old +26 -26
@@ -1,204 +1,204 @@
1
- html {
2
- -webkit-box-sizing: border-box;
3
- -moz-box-sizing: border-box;
4
- box-sizing: border-box;
5
- overflow-x: hidden;
6
- }
7
-
8
- *, *:before, *:after {
9
- -webkit-box-sizing: inherit;
10
- -moz-box-sizing: inherit;
11
- box-sizing: inherit;
12
- }
13
-
14
- html {
15
- line-height: 1.15; /* 1 */
16
- -webkit-text-size-adjust: 100%; /* 2 */
17
- }
18
-
19
- body {
20
- margin: 0;
21
- }
22
-
23
- main {
24
- display: block;
25
- }
26
-
27
- h1 {
28
- font-size: 2em;
29
- margin: 0 0 0.67em;
30
- }
31
-
32
- hr {
33
- box-sizing: content-box; /* 1 */
34
- height: 0; /* 1 */
35
- overflow: visible; /* 2 */
36
- }
37
-
38
- pre {
39
- font-family: monospace, monospace; /* 1 */
40
- font-size: 1em; /* 2 */
41
- }
42
-
43
- a {
44
- background-color: transparent;
45
- }
46
-
47
- abbr[title] {
48
- border-bottom: none; /* 1 */
49
- text-decoration: underline; /* 2 */
50
- text-decoration: underline dotted; /* 2 */
51
- }
52
-
53
- b,
54
- strong {
55
- font-weight: bolder;
56
- }
57
-
58
- code,
59
- kbd,
60
- samp {
61
- font-family: monospace, monospace; /* 1 */
62
- font-size: 1em; /* 2 */
63
- }
64
-
65
- small {
66
- font-size: 80%;
67
- }
68
-
69
- sub,
70
- sup {
71
- font-size: 75%;
72
- line-height: 0;
73
- position: relative;
74
- vertical-align: baseline;
75
- }
76
-
77
- sub {
78
- bottom: -0.25em;
79
- }
80
-
81
- sup {
82
- top: -0.5em;
83
- }
84
-
85
- img {
86
- border-style: none;
87
- }
88
-
89
- button,
90
- input,
91
- optgroup,
92
- select,
93
- textarea {
94
- font-family: inherit; /* 1 */
95
- font-size: 100%; /* 1 */
96
- line-height: 1.15; /* 1 */
97
- margin: 0; /* 2 */
98
- }
99
-
100
- button,
101
- input { /* 1 */
102
- overflow: visible;
103
- }
104
-
105
- button,
106
- select { /* 1 */
107
- text-transform: none;
108
- }
109
-
110
- button,
111
- [type="button"],
112
- [type="reset"],
113
- [type="submit"] {
114
- -webkit-appearance: button;
115
- }
116
-
117
- button::-moz-focus-inner,
118
- [type="button"]::-moz-focus-inner,
119
- [type="reset"]::-moz-focus-inner,
120
- [type="submit"]::-moz-focus-inner {
121
- border-style: none;
122
- padding: 0;
123
- }
124
-
125
- button:-moz-focusring,
126
- [type="button"]:-moz-focusring,
127
- [type="reset"]:-moz-focusring,
128
- [type="submit"]:-moz-focusring {
129
- outline: 1px dotted ButtonText;
130
- }
131
-
132
- fieldset {
133
- padding: 0.35em 0.75em 0.625em;
134
- }
135
-
136
- legend {
137
- box-sizing: border-box;
138
- color: inherit;
139
- display: table;
140
- max-width: 100%;
141
- padding: 0;
142
- white-space: normal;
143
- }
144
-
145
- progress {
146
- vertical-align: baseline;
147
- }
148
-
149
- textarea {
150
- overflow: auto;
151
- }
152
-
153
- [type="checkbox"],
154
- [type="radio"] {
155
- box-sizing: border-box;
156
- padding: 0;
157
- }
158
-
159
- [type="number"]::-webkit-inner-spin-button,
160
- [type="number"]::-webkit-outer-spin-button {
161
- height: auto;
162
- }
163
-
164
- [type="search"] {
165
- -webkit-appearance: textfield;
166
- outline-offset: -2px;
167
- }
168
-
169
- [type="search"]::-webkit-search-decoration {
170
- -webkit-appearance: none;
171
- }
172
-
173
- ::-webkit-file-upload-button {
174
- -webkit-appearance: button; /* 1 */
175
- font: inherit; /* 2 */
176
- }
177
-
178
- details {
179
- display: block;
180
- }
181
-
182
- summary {
183
- display: list-item;
184
- }
185
-
186
- template {
187
- display: none;
188
- }
189
-
190
- [hidden] {
191
- display: none;
192
- }
193
-
194
- input{
195
- &:focus{
196
- outline: none;
197
- }
198
- }
199
-
200
- li{
201
- list-style: none;
202
- padding-top: 3px;
203
- }
1
+ html {
2
+ -webkit-box-sizing: border-box;
3
+ -moz-box-sizing: border-box;
4
+ box-sizing: border-box;
5
+ overflow-x: hidden;
6
+ }
7
+
8
+ *, *:before, *:after {
9
+ -webkit-box-sizing: inherit;
10
+ -moz-box-sizing: inherit;
11
+ box-sizing: inherit;
12
+ }
13
+
14
+ html {
15
+ line-height: 1.15; /* 1 */
16
+ -webkit-text-size-adjust: 100%; /* 2 */
17
+ }
18
+
19
+ body {
20
+ margin: 0;
21
+ }
22
+
23
+ main {
24
+ display: block;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 2em;
29
+ margin: 0 0 0.67em;
30
+ }
31
+
32
+ hr {
33
+ box-sizing: content-box; /* 1 */
34
+ height: 0; /* 1 */
35
+ overflow: visible; /* 2 */
36
+ }
37
+
38
+ pre {
39
+ font-family: monospace, monospace; /* 1 */
40
+ font-size: 1em; /* 2 */
41
+ }
42
+
43
+ a {
44
+ background-color: transparent;
45
+ }
46
+
47
+ abbr[title] {
48
+ border-bottom: none; /* 1 */
49
+ text-decoration: underline; /* 2 */
50
+ text-decoration: underline dotted; /* 2 */
51
+ }
52
+
53
+ b,
54
+ strong {
55
+ font-weight: bolder;
56
+ }
57
+
58
+ code,
59
+ kbd,
60
+ samp {
61
+ font-family: monospace, monospace; /* 1 */
62
+ font-size: 1em; /* 2 */
63
+ }
64
+
65
+ small {
66
+ font-size: 80%;
67
+ }
68
+
69
+ sub,
70
+ sup {
71
+ font-size: 75%;
72
+ line-height: 0;
73
+ position: relative;
74
+ vertical-align: baseline;
75
+ }
76
+
77
+ sub {
78
+ bottom: -0.25em;
79
+ }
80
+
81
+ sup {
82
+ top: -0.5em;
83
+ }
84
+
85
+ img {
86
+ border-style: none;
87
+ }
88
+
89
+ button,
90
+ input,
91
+ optgroup,
92
+ select,
93
+ textarea {
94
+ font-family: inherit; /* 1 */
95
+ font-size: 100%; /* 1 */
96
+ line-height: 1.15; /* 1 */
97
+ margin: 0; /* 2 */
98
+ }
99
+
100
+ button,
101
+ input { /* 1 */
102
+ overflow: visible;
103
+ }
104
+
105
+ button,
106
+ select { /* 1 */
107
+ text-transform: none;
108
+ }
109
+
110
+ button,
111
+ [type="button"],
112
+ [type="reset"],
113
+ [type="submit"] {
114
+ -webkit-appearance: button;
115
+ }
116
+
117
+ button::-moz-focus-inner,
118
+ [type="button"]::-moz-focus-inner,
119
+ [type="reset"]::-moz-focus-inner,
120
+ [type="submit"]::-moz-focus-inner {
121
+ border-style: none;
122
+ padding: 0;
123
+ }
124
+
125
+ button:-moz-focusring,
126
+ [type="button"]:-moz-focusring,
127
+ [type="reset"]:-moz-focusring,
128
+ [type="submit"]:-moz-focusring {
129
+ outline: 1px dotted ButtonText;
130
+ }
131
+
132
+ fieldset {
133
+ padding: 0.35em 0.75em 0.625em;
134
+ }
135
+
136
+ legend {
137
+ box-sizing: border-box;
138
+ color: inherit;
139
+ display: table;
140
+ max-width: 100%;
141
+ padding: 0;
142
+ white-space: normal;
143
+ }
144
+
145
+ progress {
146
+ vertical-align: baseline;
147
+ }
148
+
149
+ textarea {
150
+ overflow: auto;
151
+ }
152
+
153
+ [type="checkbox"],
154
+ [type="radio"] {
155
+ box-sizing: border-box;
156
+ padding: 0;
157
+ }
158
+
159
+ [type="number"]::-webkit-inner-spin-button,
160
+ [type="number"]::-webkit-outer-spin-button {
161
+ height: auto;
162
+ }
163
+
164
+ [type="search"] {
165
+ -webkit-appearance: textfield;
166
+ outline-offset: -2px;
167
+ }
168
+
169
+ [type="search"]::-webkit-search-decoration {
170
+ -webkit-appearance: none;
171
+ }
172
+
173
+ ::-webkit-file-upload-button {
174
+ -webkit-appearance: button; /* 1 */
175
+ font: inherit; /* 2 */
176
+ }
177
+
178
+ details {
179
+ display: block;
180
+ }
181
+
182
+ summary {
183
+ display: list-item;
184
+ }
185
+
186
+ template {
187
+ display: none;
188
+ }
189
+
190
+ [hidden] {
191
+ display: none;
192
+ }
193
+
194
+ input{
195
+ &:focus{
196
+ outline: none;
197
+ }
198
+ }
199
+
200
+ li{
201
+ list-style: none;
202
+ padding-top: 3px;
203
+ }
204
204
 
@@ -1,36 +1,36 @@
1
- // Breakpoints
2
- $screen-xs-min: 400px; // Small smartphones
3
- $screen-sm-min: 576px; // Small tablets and large smartphones (landscape view)
4
- $screen-md-min: 768px; // Small tablets (portrait view)
5
- $screen-lg-min: 992px; // Tablets and small desktopsw
6
- $screen-xl-min: 1200px; // Large tablets and desktops
7
- $screen-xxl-min: 1500px; // Large tablets and desktops
8
-
9
- // Container max width
10
- $container-width: 1024px;
11
-
12
- // Transition easing
13
- $transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
14
-
15
- // Shadow
16
- $shadow-card: 0px 10px 20px 0px rgba(19, 37, 154, 0.05);
17
- $shadow-popover: 0px 15px 30px 0px rgba(19, 37, 154, 0.15);
18
- $shadow-modal: 0 30px 60px rgba(0,0,0,0.2);
19
-
20
- // Border Radius
21
- $border-radius-sm: 5px;
22
- $border-radius-md: 10px;
23
- $border-radius-lg: 20px;
24
-
25
- // Grid
26
- $grid-margin: -7.5px;
27
- $grid-gutter: 7.5px;
28
-
29
- // Typography
30
- $font-body: "Roboto", sans-serif;
31
- $font-heading: "Quicksand", sans-serif;
32
- $font-regular: 400;
33
- $font-bold: 700;
34
- $text-lg: 2rem;
35
- $text-base: 1rem;
36
- $text-sm: 0.875rem;
1
+ // Breakpoints
2
+ $screen-xs-min: 400px; // Small smartphones
3
+ $screen-sm-min: 576px; // Small tablets and large smartphones (landscape view)
4
+ $screen-md-min: 768px; // Small tablets (portrait view)
5
+ $screen-lg-min: 992px; // Tablets and small desktopsw
6
+ $screen-xl-min: 1200px; // Large tablets and desktops
7
+ $screen-xxl-min: 1500px; // Large tablets and desktops
8
+
9
+ // Container max width
10
+ $container-width: 1024px;
11
+
12
+ // Transition easing
13
+ $transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
14
+
15
+ // Shadow
16
+ $shadow-card: 0px 10px 20px 0px rgba(19, 37, 154, 0.05);
17
+ $shadow-popover: 0px 15px 30px 0px rgba(19, 37, 154, 0.15);
18
+ $shadow-modal: 0 30px 60px rgba(0,0,0,0.2);
19
+
20
+ // Border Radius
21
+ $border-radius-sm: 5px;
22
+ $border-radius-md: 10px;
23
+ $border-radius-lg: 20px;
24
+
25
+ // Grid
26
+ $grid-margin: -7.5px;
27
+ $grid-gutter: 7.5px;
28
+
29
+ // Typography
30
+ $font-body: "Roboto", sans-serif;
31
+ $font-heading: "Quicksand", sans-serif;
32
+ $font-regular: 400;
33
+ $font-bold: 700;
34
+ $text-lg: 2rem;
35
+ $text-base: 1rem;
36
+ $text-sm: 0.875rem;
@@ -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
  }