@kigi/components 1.25.0-alpha → 1.25.1-alpha

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kigi/components",
3
- "version": "1.25.0-alpha",
3
+ "version": "1.25.1-alpha",
4
4
  "description": "@kigi/components",
5
5
  "main": "src/components/index.ts",
6
6
  "scripts": {
@@ -10,7 +10,6 @@ class MbgDropdownController {
10
10
  private item: any
11
11
  private topStyle: boolean
12
12
  private direction
13
- private minimalScreen
14
13
 
15
14
  constructor(public $scope, public $element, public $attrs, public $timeout) {
16
15
  this.inputElement = this.$element.find('input')[0]
@@ -71,15 +70,9 @@ class MbgDropdownController {
71
70
  const distanceBottomPage = Math.round(
72
71
  window.innerHeight - (angular.element(elm)[0].getBoundingClientRect().top + elm.height()),
73
72
  )
74
-
75
- if (this.minimalScreen && distanceBottomPage > 240) {
76
- this.topStyle = false
77
- } else {
78
- if (distanceBottomPage < 250) {
79
- this.topStyle = true
80
- }
73
+ if (distanceBottomPage < 250) {
74
+ this.topStyle = true
81
75
  }
82
-
83
76
  }
84
77
  }
85
78
 
@@ -92,7 +85,6 @@ const mbgDropdown = {
92
85
  direction: '@?',
93
86
  acceptFile: '@?',
94
87
  hiddenIcon: '=?',
95
- minimalScreen: '=?'
96
88
  },
97
89
  template,
98
90
  controller: MbgDropdownController,
@@ -5,7 +5,6 @@ export namespace Capitalize {
5
5
  'do',
6
6
  'dos',
7
7
  'de',
8
- 'a',
9
8
  'ante',
10
9
  'após',
11
10
  'até',