@kigi/components 1.37.0-beta.8 → 1.37.0

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.37.0-beta.8",
3
+ "version": "1.37.0",
4
4
  "description": "@kigi/components",
5
5
  "main": "src/components/index.ts",
6
6
  "scripts": {
@@ -30,6 +30,7 @@
30
30
  ng-keydown="$ctrl.ngKeydown({ $event })"
31
31
  ui-date-mask="{{ $ctrl.format }}"
32
32
  only-month-year="$ctrl.onlyMonthYear"
33
+ ng-class="{'input-date':$ctrl.titleMode}"
33
34
  mbg-datepicker />
34
35
  <!-- between dates -->
35
36
  <div class="mbg-date-between"
@@ -1,4 +1,9 @@
1
1
  .mb-input-date-wrapper {
2
+ .input-date {
3
+ width: 150px !important;
4
+ height: 28px !important;
5
+ }
6
+
2
7
  input {
3
8
  width: 100%;
4
9
  }
@@ -14,7 +19,6 @@
14
19
  }
15
20
  }
16
21
 
17
-
18
22
  body {
19
23
  .datepicker-top-left, .datepicker-top-right {
20
24
  border-top-color: var(--primary);
@@ -18,6 +18,7 @@ class MbgInputDateController {
18
18
  public filterDate: Function
19
19
  public onlyMonthYear: boolean
20
20
 
21
+
21
22
  constructor(public $scope, public $element, public $attrs, public $timeout) {
22
23
  if ($attrs.ngRequired === '') {
23
24
  this.ngRequired = true
@@ -131,6 +132,7 @@ const mbgInputDate = {
131
132
  between: '=?',
132
133
  filterDate: '&?',
133
134
  onlyMonthYear: '=?',
135
+ titleMode: '=?',
134
136
  },
135
137
  template,
136
138
  controller: MbgInputDateController,