inviton-powerduck 0.0.200 → 0.0.202

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.
@@ -679,15 +679,21 @@
679
679
  font-weight: 400;
680
680
  }
681
681
 
682
- .daterangepicker-modal .date-range-picker-root .select-wrapper {
682
+ .date-range-picker-root .select-wrapper {
683
683
  position: relative;
684
684
  }
685
685
 
686
- .daterangepicker-modal .date-range-picker-root .select-wrapper-selected-month {
686
+ .date-range-picker-root .select-wrapper-selected-month {
687
+ display: inline-block;
688
+ }
689
+
690
+ .date-range-picker-root .select-wrapper-selected-month .select-wrapper-dropdown-icon {
691
+ transform: translateY(-2px);
687
692
  display: inline-block;
693
+ padding-right: 10px;
688
694
  }
689
695
 
690
- .daterangepicker-modal .date-range-picker-root select {
696
+ .date-range-picker-root select {
691
697
  position: absolute;
692
698
  top: 0;
693
699
  left: 0;
@@ -2332,7 +2332,7 @@ import { globalState } from '../../../../app/global-state';
2332
2332
  var endDate = opt.endDate ? opt.endDate.add({
2333
2333
  months: !opt.singleMonth && month === 'month1' ? -1 : 0
2334
2334
  }) : false;
2335
- var range = [year - 10, year + 10];
2335
+ var range = [1900, year + 10];
2336
2336
 
2337
2337
  var minSelectableYear = startDate ? Math.max(range[0], startDate.year) : Math.min(range[0], year);
2338
2338
  var maxSelectableYear = endDate ? Math.min(range[1], endDate.year) : Math.max(range[1], year);
@@ -2374,7 +2374,7 @@ import { globalState } from '../../../../app/global-state';
2374
2374
  }
2375
2375
  function generateSelect(name: string, data: Array<{ value: number, text: string | number, selected: boolean, disabled: boolean }>): string {
2376
2376
  const selectedItem = data.find(p => p.selected == true);
2377
- var select = '<span class="select-wrapper">' + (selectedItem != null ? '<span class="select-wrapper-selected-month">' + selectedItem.text + '</span>' : '') + '<select class="drp-date-switch month-name ' + name + '" name="' + name + '">';
2377
+ var select = '<span class="select-wrapper">' + (selectedItem != null ? '<span class="select-wrapper-selected-month">' + selectedItem.text + ' <span class="select-wrapper-dropdown-icon">🞃</span></span>' : '') + '<select class="drp-date-switch month-name ' + name + '" name="' + name + '">';
2378
2378
  var current: string | number = '';
2379
2379
 
2380
2380
  for (var i = 0, l = data.length; i < l; i++) {
@@ -22,6 +22,7 @@ interface MobileOptimizedHeroFilterArgs {
22
22
  clickedClear?: () => void;
23
23
  clickedSubmit?: () => void;
24
24
  modalBackdropCssClass?: string;
25
+ mobileSearchIcon?: string;
25
26
  mobileModalCssClass?: string;
26
27
  mobileShowClearFilters?: boolean;
27
28
  mobileModalSize?: ModalSize;
@@ -41,6 +42,7 @@ class MobileOptimizedHeroFilterComponent extends TsxComponent<MobileOptimizedHer
41
42
  @Prop() clickedClear?: () => void;
42
43
  @Prop() clickedSubmit?: () => void;
43
44
  @Prop() modalBackdropCssClass: string;
45
+ @Prop() mobileSearchIcon: string;
44
46
  @Prop() mobileModalCssClass?: string;
45
47
  @Prop() mobileShowClearFilters?: boolean;
46
48
  @Prop() mobileFirstLineText: string;
@@ -97,7 +99,7 @@ class MobileOptimizedHeroFilterComponent extends TsxComponent<MobileOptimizedHer
97
99
  <div class="mohf-input-inner">
98
100
  <FlexContainer cssClass="mohf-input-flexwrap" fullWidthOnMobile={false}>
99
101
  <FlexFormItem cssClass="mohf-input-searchicon-wrap" width={50} flexFill={false}>
100
- <i class="icon icon-magnifier mohf-input-searchicon"></i>
102
+ <i class={`${this.mobileSearchIcon ?? 'icon icon-magnifier'} mohf-input-searchicon`}></i>
101
103
  </FlexFormItem>
102
104
 
103
105
  <FlexFormItem cssClass="mohf-input-main-wrap" flexFill={true}>
@@ -1,6 +1,6 @@
1
- export const SKILIFT_SVG: string = `
2
- <svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="512.000000pt" height="512.000000pt" viewBox="0 0 512.000000 512.000000" preserveAspectRatio="xMidYMid meet">
3
- <g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)" fill="currentColor" stroke="none">
4
- <path d="M3911 4254 l-1153 -354 -40 34 c-77 66 -211 76 -290 20 -57 -40 -107 -107 -114 -153 l-6 -38 -1127 -345 -1126 -345 -3 -103 c-2 -94 -1 -102 15 -98 10 3 529 161 1154 353 l1135 347 43 -28 42 -29 -5 -55 c-2 -30 -21 -279 -42 -552 l-38 -498 -360 0 c-200 0 -390 -5 -426 -11 -173 -27 -319 -153 -371 -320 -18 -56 -19 -99 -19 -594 0 -495 1 -538 19 -594 50 -161 183 -281 350 -317 98 -20 1924 -20 2022 0 167 36 300 156 350 317 18 56 19 99 19 588 0 444 -2 536 -16 586 -44 170 -197 307 -374 335 -36 5 -227 10 -426 10 l-360 0 -38 498 c-21 273 -40 522 -43 552 -5 53 -4 56 25 73 40 23 72 69 93 131 l17 49 153 48 c85 26 309 95 499 153 852 260 1595 488 1598 490 1 2 1 48 0 103 l-3 100 -1154 -353z m-1913 -2666 l2 -358 -260 0 -260 0 0 353 c0 195 3 357 7 361 4 3 119 5 257 4 l251 -3 3 -357z m820 0 l2 -358 -260 0 -260 0 0 353 c0 195 3 357 7 361 4 3 119 5 257 4 l251 -3 3 -357z m820 0 l2 -358 -260 0 -260 0 0 353 c0 195 3 357 7 361 4 3 119 5 257 4 l251 -3 3 -357z"/>
5
- </g>
6
- </svg>`;
1
+ export const SKILIFT_SVG: string = `
2
+ <svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="512.000000pt" height="512.000000pt" viewBox="0 0 512.000000 512.000000" preserveAspectRatio="xMidYMid meet">
3
+ <g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)" fill="currentColor" stroke="none">
4
+ <path d="M3911 4254 l-1153 -354 -40 34 c-77 66 -211 76 -290 20 -57 -40 -107 -107 -114 -153 l-6 -38 -1127 -345 -1126 -345 -3 -103 c-2 -94 -1 -102 15 -98 10 3 529 161 1154 353 l1135 347 43 -28 42 -29 -5 -55 c-2 -30 -21 -279 -42 -552 l-38 -498 -360 0 c-200 0 -390 -5 -426 -11 -173 -27 -319 -153 -371 -320 -18 -56 -19 -99 -19 -594 0 -495 1 -538 19 -594 50 -161 183 -281 350 -317 98 -20 1924 -20 2022 0 167 36 300 156 350 317 18 56 19 99 19 588 0 444 -2 536 -16 586 -44 170 -197 307 -374 335 -36 5 -227 10 -426 10 l-360 0 -38 498 c-21 273 -40 522 -43 552 -5 53 -4 56 25 73 40 23 72 69 93 131 l17 49 153 48 c85 26 309 95 499 153 852 260 1595 488 1598 490 1 2 1 48 0 103 l-3 100 -1154 -353z m-1913 -2666 l2 -358 -260 0 -260 0 0 353 c0 195 3 357 7 361 4 3 119 5 257 4 l251 -3 3 -357z m820 0 l2 -358 -260 0 -260 0 0 353 c0 195 3 357 7 361 4 3 119 5 257 4 l251 -3 3 -357z m820 0 l2 -358 -260 0 -260 0 0 353 c0 195 3 357 7 361 4 3 119 5 257 4 l251 -3 3 -357z"/>
5
+ </g>
6
+ </svg>`;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "inviton-powerduck",
3
3
  "type": "module",
4
- "version": "0.0.200",
4
+ "version": "0.0.202",
5
5
  "files": [
6
6
  "app/",
7
7
  "common/",