@alfalab/core-components-calendar-input 6.0.0 → 6.1.2

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,38 @@
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
+ ## [6.1.2](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-calendar-input@6.1.1...@alfalab/core-components-calendar-input@6.1.2) (2022-03-18)
7
+
8
+ **Note:** Version bump only for package @alfalab/core-components-calendar-input
9
+
10
+
11
+
12
+
13
+
14
+ ## [6.1.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-calendar-input@6.1.0...@alfalab/core-components-calendar-input@6.1.1) (2022-03-04)
15
+
16
+ **Note:** Version bump only for package @alfalab/core-components-calendar-input
17
+
18
+
19
+
20
+
21
+
22
+ # [6.1.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-calendar-input@6.0.0...@alfalab/core-components-calendar-input@6.1.0) (2022-03-01)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * changed dropdown component's box shadow styles ([#1010](https://github.com/alfa-laboratory/core-components/issues/1010)) ([2f997f5](https://github.com/alfa-laboratory/core-components/commit/2f997f5722c89b38a8064924b73c0a8046025aea))
28
+
29
+
30
+ ### Features
31
+
32
+ * Исправить импорты в сторях. ([#998](https://github.com/alfa-laboratory/core-components/issues/998)) ([e6a654a](https://github.com/alfa-laboratory/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
33
+
34
+
35
+
36
+
37
+
6
38
  # [6.0.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-calendar-input@5.3.0...@alfalab/core-components-calendar-input@6.0.0) (2022-02-17)
7
39
 
8
40
 
package/dist/Component.js CHANGED
@@ -59,7 +59,7 @@ function __rest(s, e) {
59
59
  return t;
60
60
  }
61
61
 
62
- var styles = {"component":"calendar-input__component_1ksty","block":"calendar-input__block_1ksty","calendarContainer":"calendar-input__calendarContainer_1ksty","calendarIcon":"calendar-input__calendarIcon_1ksty","nativeInput":"calendar-input__nativeInput_1ksty"};
62
+ var styles = {"component":"calendar-input__component_1t3j0","block":"calendar-input__block_1t3j0","calendarContainer":"calendar-input__calendarContainer_1t3j0","calendarIcon":"calendar-input__calendarIcon_1t3j0","nativeInput":"calendar-input__nativeInput_1t3j0"};
63
63
  require('./index.css')
64
64
 
65
65
  var CalendarInput = React.forwardRef(function (_a, ref) {
@@ -2,7 +2,6 @@
2
2
  --color-light-graphic-primary: #0b1f35;
3
3
  }
4
4
  :root {
5
- --shadow-s: 0 0 8px rgba(11, 31, 53, 0.04), 0 4px 8px rgba(11, 31, 53, 0.08);
6
5
 
7
6
  /* Hard */
8
7
 
@@ -51,7 +50,6 @@
51
50
  .calendarContainer {
52
51
  display: inline-block;
53
52
  box-sizing: border-box;
54
- box-shadow: var(--shadow-s);
55
53
  border-radius: var(--calendar-input-popover-border-radius)
56
54
  }
57
55
  @media (max-width: 374px) {
@@ -49,7 +49,7 @@ function __rest(s, e) {
49
49
  return t;
50
50
  }
51
51
 
52
- var styles = {"component":"calendar-input__component_1ksty","block":"calendar-input__block_1ksty","calendarContainer":"calendar-input__calendarContainer_1ksty","calendarIcon":"calendar-input__calendarIcon_1ksty","nativeInput":"calendar-input__nativeInput_1ksty"};
52
+ var styles = {"component":"calendar-input__component_1t3j0","block":"calendar-input__block_1t3j0","calendarContainer":"calendar-input__calendarContainer_1t3j0","calendarIcon":"calendar-input__calendarIcon_1t3j0","nativeInput":"calendar-input__nativeInput_1t3j0"};
53
53
  require('./index.css')
54
54
 
55
55
  var CalendarInput = forwardRef(function (_a, ref) {
@@ -1,9 +1,8 @@
1
- /* hash: codnr */
1
+ /* hash: 1uw9x */
2
2
  :root {
3
3
  --color-light-graphic-primary: #0b1f35;
4
4
  }
5
5
  :root {
6
- --shadow-s: 0 0 8px rgba(11, 31, 53, 0.04), 0 4px 8px rgba(11, 31, 53, 0.08);
7
6
 
8
7
  /* Hard */
9
8
 
@@ -41,36 +40,35 @@
41
40
  --calendar-input-icon-color: var(--color-light-graphic-primary);
42
41
  --calendar-input-popover-border-radius: 0 0 var(--border-radius-s) var(--border-radius-s);
43
42
  }
44
- .calendar-input__component_1ksty {
43
+ .calendar-input__component_1t3j0 {
45
44
  display: inline-block;
46
45
  outline: none;
47
46
  position: relative;
48
47
  }
49
- .calendar-input__block_1ksty {
48
+ .calendar-input__block_1t3j0 {
50
49
  width: 100%;
51
50
  }
52
- .calendar-input__calendarContainer_1ksty {
51
+ .calendar-input__calendarContainer_1t3j0 {
53
52
  display: inline-block;
54
53
  box-sizing: border-box;
55
- box-shadow: var(--shadow-s);
56
54
  border-radius: var(--calendar-input-popover-border-radius)
57
55
  }
58
56
  @media (max-width: 374px) {
59
- .calendar-input__calendarContainer_1ksty {
57
+ .calendar-input__calendarContainer_1t3j0 {
60
58
  width: 100%;
61
59
  min-width: 288px
62
60
  }
63
61
  }
64
- .calendar-input__calendarIcon_1ksty {
62
+ .calendar-input__calendarIcon_1t3j0 {
65
63
  width: 24px;
66
64
  height: 24px;
67
65
  display: block;
68
66
  color: var(--calendar-input-icon-color)
69
67
  }
70
- .calendar-input__calendarIcon_1ksty:not(:only-child) {
68
+ .calendar-input__calendarIcon_1t3j0:not(:only-child) {
71
69
  margin-right: var(--gap-2xs);
72
70
  }
73
- .calendar-input__nativeInput_1ksty {
71
+ .calendar-input__nativeInput_1t3j0 {
74
72
  opacity: 0;
75
73
  position: absolute;
76
74
  top: 0;
@@ -81,9 +79,9 @@
81
79
  appearance: none;
82
80
  z-index: 1
83
81
  }
84
- .calendar-input__nativeInput_1ksty::-webkit-calendar-picker-indicator {
82
+ .calendar-input__nativeInput_1t3j0::-webkit-calendar-picker-indicator {
85
83
  display: none;
86
84
  }
87
- .calendar-input__nativeInput_1ksty::-webkit-inner-spin-button {
85
+ .calendar-input__nativeInput_1t3j0::-webkit-inner-spin-button {
88
86
  display: none;
89
87
  }
package/dist/index.css CHANGED
@@ -1,9 +1,8 @@
1
- /* hash: codnr */
1
+ /* hash: 1uw9x */
2
2
  :root {
3
3
  --color-light-graphic-primary: #0b1f35;
4
4
  }
5
5
  :root {
6
- --shadow-s: 0 0 8px rgba(11, 31, 53, 0.04), 0 4px 8px rgba(11, 31, 53, 0.08);
7
6
 
8
7
  /* Hard */
9
8
 
@@ -41,36 +40,35 @@
41
40
  --calendar-input-icon-color: var(--color-light-graphic-primary);
42
41
  --calendar-input-popover-border-radius: 0 0 var(--border-radius-s) var(--border-radius-s);
43
42
  }
44
- .calendar-input__component_1ksty {
43
+ .calendar-input__component_1t3j0 {
45
44
  display: inline-block;
46
45
  outline: none;
47
46
  position: relative;
48
47
  }
49
- .calendar-input__block_1ksty {
48
+ .calendar-input__block_1t3j0 {
50
49
  width: 100%;
51
50
  }
52
- .calendar-input__calendarContainer_1ksty {
51
+ .calendar-input__calendarContainer_1t3j0 {
53
52
  display: inline-block;
54
53
  box-sizing: border-box;
55
- box-shadow: var(--shadow-s);
56
54
  border-radius: var(--calendar-input-popover-border-radius)
57
55
  }
58
56
  @media (max-width: 374px) {
59
- .calendar-input__calendarContainer_1ksty {
57
+ .calendar-input__calendarContainer_1t3j0 {
60
58
  width: 100%;
61
59
  min-width: 288px
62
60
  }
63
61
  }
64
- .calendar-input__calendarIcon_1ksty {
62
+ .calendar-input__calendarIcon_1t3j0 {
65
63
  width: 24px;
66
64
  height: 24px;
67
65
  display: block;
68
66
  color: var(--calendar-input-icon-color)
69
67
  }
70
- .calendar-input__calendarIcon_1ksty:not(:only-child) {
68
+ .calendar-input__calendarIcon_1t3j0:not(:only-child) {
71
69
  margin-right: var(--gap-2xs);
72
70
  }
73
- .calendar-input__nativeInput_1ksty {
71
+ .calendar-input__nativeInput_1t3j0 {
74
72
  opacity: 0;
75
73
  position: absolute;
76
74
  top: 0;
@@ -81,9 +79,9 @@
81
79
  appearance: none;
82
80
  z-index: 1
83
81
  }
84
- .calendar-input__nativeInput_1ksty::-webkit-calendar-picker-indicator {
82
+ .calendar-input__nativeInput_1t3j0::-webkit-calendar-picker-indicator {
85
83
  display: none;
86
84
  }
87
- .calendar-input__nativeInput_1ksty::-webkit-inner-spin-button {
85
+ .calendar-input__nativeInput_1t3j0::-webkit-inner-spin-button {
88
86
  display: none;
89
87
  }
@@ -10,7 +10,7 @@ import 'date-fns/format';
10
10
  import 'date-fns/isSameDay';
11
11
  import { SUPPORTS_INPUT_TYPE_DATE } from './utils.js';
12
12
 
13
- var styles = {"component":"calendar-input__component_1ksty","block":"calendar-input__block_1ksty","calendarContainer":"calendar-input__calendarContainer_1ksty","calendarIcon":"calendar-input__calendarIcon_1ksty","nativeInput":"calendar-input__nativeInput_1ksty"};
13
+ var styles = {"component":"calendar-input__component_1t3j0","block":"calendar-input__block_1t3j0","calendarContainer":"calendar-input__calendarContainer_1t3j0","calendarIcon":"calendar-input__calendarIcon_1t3j0","nativeInput":"calendar-input__nativeInput_1t3j0"};
14
14
  require('./index.css')
15
15
 
16
16
  const CalendarInput = forwardRef(({ block = false, className, inputClassName, popoverClassName, defaultOpen = false, defaultMonth, defaultValue = '', calendarPosition = 'popover', value, dataTestId, calendarProps = {}, minDate = calendarProps.minDate, maxDate = calendarProps.maxDate, offDays = calendarProps.offDays || [], events = calendarProps.events || [], preventFlip, mobileMode = 'popover', wrapperRef = null, disabled, onChange = () => null, onInputChange, onCalendarChange, onKeyDown, readOnly, Calendar: Calendar$1 = Calendar, popoverPosition = 'bottom-start', zIndexPopover, useAnchorWidth, rightAddons, error, ...restProps }, ref) => {
@@ -1,9 +1,8 @@
1
- /* hash: codnr */
1
+ /* hash: 1uw9x */
2
2
  :root {
3
3
  --color-light-graphic-primary: #0b1f35;
4
4
  }
5
5
  :root {
6
- --shadow-s: 0 0 8px rgba(11, 31, 53, 0.04), 0 4px 8px rgba(11, 31, 53, 0.08);
7
6
 
8
7
  /* Hard */
9
8
 
@@ -41,36 +40,35 @@
41
40
  --calendar-input-icon-color: var(--color-light-graphic-primary);
42
41
  --calendar-input-popover-border-radius: 0 0 var(--border-radius-s) var(--border-radius-s);
43
42
  }
44
- .calendar-input__component_1ksty {
43
+ .calendar-input__component_1t3j0 {
45
44
  display: inline-block;
46
45
  outline: none;
47
46
  position: relative;
48
47
  }
49
- .calendar-input__block_1ksty {
48
+ .calendar-input__block_1t3j0 {
50
49
  width: 100%;
51
50
  }
52
- .calendar-input__calendarContainer_1ksty {
51
+ .calendar-input__calendarContainer_1t3j0 {
53
52
  display: inline-block;
54
53
  box-sizing: border-box;
55
- box-shadow: var(--shadow-s);
56
54
  border-radius: var(--calendar-input-popover-border-radius)
57
55
  }
58
56
  @media (max-width: 374px) {
59
- .calendar-input__calendarContainer_1ksty {
57
+ .calendar-input__calendarContainer_1t3j0 {
60
58
  width: 100%;
61
59
  min-width: 288px
62
60
  }
63
61
  }
64
- .calendar-input__calendarIcon_1ksty {
62
+ .calendar-input__calendarIcon_1t3j0 {
65
63
  width: 24px;
66
64
  height: 24px;
67
65
  display: block;
68
66
  color: var(--calendar-input-icon-color)
69
67
  }
70
- .calendar-input__calendarIcon_1ksty:not(:only-child) {
68
+ .calendar-input__calendarIcon_1t3j0:not(:only-child) {
71
69
  margin-right: var(--gap-2xs);
72
70
  }
73
- .calendar-input__nativeInput_1ksty {
71
+ .calendar-input__nativeInput_1t3j0 {
74
72
  opacity: 0;
75
73
  position: absolute;
76
74
  top: 0;
@@ -81,9 +79,9 @@
81
79
  appearance: none;
82
80
  z-index: 1
83
81
  }
84
- .calendar-input__nativeInput_1ksty::-webkit-calendar-picker-indicator {
82
+ .calendar-input__nativeInput_1t3j0::-webkit-calendar-picker-indicator {
85
83
  display: none;
86
84
  }
87
- .calendar-input__nativeInput_1ksty::-webkit-inner-spin-button {
85
+ .calendar-input__nativeInput_1t3j0::-webkit-inner-spin-button {
88
86
  display: none;
89
87
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-calendar-input",
3
- "version": "6.0.0",
3
+ "version": "6.1.2",
4
4
  "description": "Calendar input component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -19,12 +19,12 @@
19
19
  "react-dom": "^16.9.0 || ^17.0.1"
20
20
  },
21
21
  "dependencies": {
22
- "@alfalab/core-components-calendar": "^5.0.0",
23
- "@alfalab/core-components-date-input": "^2.0.0",
22
+ "@alfalab/core-components-calendar": "^5.2.0",
23
+ "@alfalab/core-components-date-input": "^2.1.0",
24
24
  "@alfalab/core-components-popover": "^5.6.1",
25
25
  "classnames": "^2.2.6",
26
26
  "date-fns": "^2.16.1",
27
27
  "react-merge-refs": "^1.1.0"
28
28
  },
29
- "gitHead": "c807c08f187316e93147175be6feffc3492989c8"
29
+ "gitHead": "c0dcdbba11224404e19bdfd1ce2037f7e2bc2104"
30
30
  }