@awes-io/ui 2.59.2 → 2.60.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [2.60.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.59.2...@awes-io/ui@2.60.0) (2022-12-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **aw-calendar:** allow to select single day range ([c787bf7](https://github.com/awes-io/client/commit/c787bf79d81f5c1738a069e46cb650a9002a0de8))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [2.59.2](https://github.com/awes-io/client/compare/@awes-io/ui@2.59.1...@awes-io/ui@2.59.2) (2022-11-14)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.aw-date {
|
|
2
2
|
position: relative;
|
|
3
3
|
|
|
4
|
-
&__dropdown {
|
|
4
|
+
&__dropdown .aw-dropdown__content--desktop {
|
|
5
5
|
max-height: unset;
|
|
6
6
|
max-width: 100%;
|
|
7
7
|
display: flex;
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
|
|
11
11
|
&__calendar {
|
|
12
12
|
max-width: theme('maxWidth.xs');
|
|
13
|
+
|
|
14
|
+
& + & {
|
|
15
|
+
@apply border-l;
|
|
16
|
+
}
|
|
13
17
|
}
|
|
14
18
|
|
|
15
19
|
&__range:before,
|
|
@@ -35,6 +39,10 @@
|
|
|
35
39
|
left: 50%;
|
|
36
40
|
}
|
|
37
41
|
|
|
42
|
+
&__range-start&__range-end:before {
|
|
43
|
+
opacity: 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
38
46
|
& i {
|
|
39
47
|
@apply not-italic;
|
|
40
48
|
}
|
package/mixins/calendar.js
CHANGED
|
@@ -341,12 +341,12 @@ export default {
|
|
|
341
341
|
// set first value in range
|
|
342
342
|
this.$emit('input', null)
|
|
343
343
|
this.tempValue = dayjs
|
|
344
|
-
this.hoverValue =
|
|
344
|
+
this.hoverValue = dayjs.clone()
|
|
345
345
|
this._toggleHoverListener(true)
|
|
346
346
|
return
|
|
347
347
|
} else {
|
|
348
348
|
// break if same day
|
|
349
|
-
if (dayjs.isSame(this.tempValue, 'day')) return
|
|
349
|
+
// if (dayjs.isSame(this.tempValue, 'day')) return
|
|
350
350
|
|
|
351
351
|
// emit event and close dropdown
|
|
352
352
|
const start = this._fromDayjs(this._startDayjs)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awes-io/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.60.0",
|
|
4
4
|
"description": "User Interface (UI) components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"cookies": "^0.8.0",
|
|
62
62
|
"core-js": "^2.6.5",
|
|
63
63
|
"croppie": "^2.6.5",
|
|
64
|
-
"dayjs": "^1.
|
|
64
|
+
"dayjs": "^1.11.6",
|
|
65
65
|
"hammerjs": "^2.0.8",
|
|
66
66
|
"insane": "^2.6.2",
|
|
67
67
|
"js-cookie": "^2.2.1",
|
|
@@ -122,5 +122,5 @@
|
|
|
122
122
|
"vue-template-compiler": "^2.6.10",
|
|
123
123
|
"webfonts-generator": "^0.4.0"
|
|
124
124
|
},
|
|
125
|
-
"gitHead": "
|
|
125
|
+
"gitHead": "114c5a47467339824b67b1788302bb1e4d2eec37"
|
|
126
126
|
}
|