@aquera/nile-elements 0.0.14 → 0.0.15

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent nile-elements following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "nile-elements",
6
- "version": "0.0.14",
6
+ "version": "0.0.15",
7
7
  "main": "dist/src/index.js",
8
8
  "type": "module",
9
9
  "module": "dist/src/index.js",
@@ -53,7 +53,6 @@ export const styles = css`
53
53
  line-height: 14px;
54
54
  letter-spacing: 0.2px;
55
55
  height: 50px;
56
- margin-top: 10px;
57
56
  }
58
57
 
59
58
  .day-names,
@@ -98,7 +97,8 @@ export const styles = css`
98
97
  background: white;
99
98
  display: flex;
100
99
  justify-content: space-between;
101
- width: auto;
100
+ width: 365px;
101
+ box-shadow: 0px 4px 8px 0px rgba(119, 125, 130, 0.15);
102
102
  }
103
103
 
104
104
  .selected-date,
@@ -147,24 +147,24 @@ export const styles = css`
147
147
  .base {
148
148
  background-color: white;
149
149
  border-radius: 4px;
150
- padding-bottom: 20px;
151
150
  width: 365px;
152
151
  }
153
152
 
154
153
  .base__range {
155
- width: 730px;
154
+ padding: 24px;
156
155
  }
157
156
 
158
157
  .calender-input {
159
- padding: 20px;
158
+ margin-top: 6px;
160
159
  padding-bottom: 0px;
161
- background: white;
160
+ width: 365px;
162
161
  }
163
162
 
164
163
  .from {
165
164
  display: flex;
166
165
  justify-content: space-between;
167
- gap: 20px;
166
+ gap: 8px;
167
+ margin-top: 12px;
168
168
  }
169
169
 
170
170
  .manual-input {
@@ -172,16 +172,18 @@ export const styles = css`
172
172
  }
173
173
 
174
174
  .manual-input-label {
175
+ color: #7f7f7f;
176
+ font-family: Colfax-regular;
175
177
  font-size: 12px;
176
- font-style: normal;
177
178
  font-weight: 500;
178
- margin-bottom: 10px;
179
+ line-height: 12px;
180
+ letter-spacing: 0.2px;
179
181
  }
180
182
 
181
183
  .button-contaner {
182
184
  width: 100%;
183
185
  text-align: right;
184
- padding: 10px 0;
186
+ padding: 12px 0 0 0;
185
187
  }
186
188
  `;
187
189
 
@@ -512,7 +512,7 @@ private handleEndTimeInput(event: CustomEvent): void {
512
512
 
513
513
  return html`
514
514
 
515
- <div class="base${this.range ? '__range' : ''}">
515
+ <div class="base ${this.range ? 'base__range' : ''}">
516
516
  <div class="calendar-wrapper" >
517
517
  <div class="calendar-container ${this.range ? 'with-margin' : ''}">
518
518
  ${this.renderMonth(
@@ -521,7 +521,7 @@ private handleEndTimeInput(event: CustomEvent): void {
521
521
  this.getDaysArray(this.currentYear, this.currentMonth)
522
522
  )}
523
523
  </div>
524
- ${this.range
524
+ <!-- ${this.range
525
525
  ? html`
526
526
  <div class="calendar-container">
527
527
  ${this.renderMonth(
@@ -534,7 +534,7 @@ private handleEndTimeInput(event: CustomEvent): void {
534
534
  )}
535
535
  </div>
536
536
  `
537
- : ''}
537
+ : ''} -->
538
538
 
539
539
  </div>
540
540
  ${this.range