@dhis2-ui/calendar 9.9.0-alpha.4 → 9.9.0-alpha.6

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.
@@ -28,7 +28,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
28
28
  const wrapperBorderColor = _uiConstants.colors.grey300;
29
29
  const backgroundColor = 'none';
30
30
 
31
- const CalendarContainer = _ref => {
31
+ const CalendarContainer = /*#__PURE__*/_react.default.memo(function CalendarContainer(_ref) {
32
32
  let {
33
33
  date,
34
34
  width,
@@ -78,7 +78,7 @@ const CalendarContainer = _ref => {
78
78
  id: "2823859047",
79
79
  dynamic: [backgroundColor, wrapperBorderColor, width]
80
80
  }, [".calendar-wrapper.__jsx-style-dynamic-selector{font-family:Roboto,sans-serif;font-weight:400;font-size:14px;background-color:".concat(backgroundColor, ";display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;border:1px solid ").concat(wrapperBorderColor, ";border-radius:3px;min-width:").concat(width, ";width:-webkit-max-content;width:-moz-max-content;width:max-content;box-shadow:0px 4px 6px -2px #2129340d;box-shadow:0px 10px 15px -3px #2129341a;}")]));
81
- };
81
+ });
82
82
 
83
83
  exports.CalendarContainer = CalendarContainer;
84
84
  CalendarContainer.defaultProps = {
@@ -9,7 +9,7 @@ import { CalendarTable, CalendarTableProps } from './calendar-table.js';
9
9
  import { NavigationContainer, NavigationContainerProps } from './navigation-container.js';
10
10
  const wrapperBorderColor = colors.grey300;
11
11
  const backgroundColor = 'none';
12
- export const CalendarContainer = _ref => {
12
+ export const CalendarContainer = /*#__PURE__*/React.memo(function CalendarContainer(_ref) {
13
13
  let {
14
14
  date,
15
15
  width,
@@ -59,7 +59,7 @@ export const CalendarContainer = _ref => {
59
59
  id: "2823859047",
60
60
  dynamic: [backgroundColor, wrapperBorderColor, width]
61
61
  }, [".calendar-wrapper.__jsx-style-dynamic-selector{font-family:Roboto,sans-serif;font-weight:400;font-size:14px;background-color:".concat(backgroundColor, ";display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;border:1px solid ").concat(wrapperBorderColor, ";border-radius:3px;min-width:").concat(width, ";width:-webkit-max-content;width:-moz-max-content;width:max-content;box-shadow:0px 4px 6px -2px #2129340d;box-shadow:0px 10px 15px -3px #2129341a;}")]));
62
- };
62
+ });
63
63
  CalendarContainer.defaultProps = {
64
64
  cellSize: '32px',
65
65
  width: '240px',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2-ui/calendar",
3
- "version": "9.9.0-alpha.4",
3
+ "version": "9.9.0-alpha.6",
4
4
  "description": "UI Calendar",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,15 +33,15 @@
33
33
  "styled-jsx": "^4"
34
34
  },
35
35
  "dependencies": {
36
- "@dhis2-ui/button": "9.9.0-alpha.4",
37
- "@dhis2-ui/card": "9.9.0-alpha.4",
38
- "@dhis2-ui/input": "9.9.0-alpha.4",
39
- "@dhis2-ui/layer": "9.9.0-alpha.4",
40
- "@dhis2-ui/popper": "9.9.0-alpha.4",
41
- "@dhis2/multi-calendar-dates": "v1.0.0-alpha.27",
36
+ "@dhis2-ui/button": "9.9.0-alpha.6",
37
+ "@dhis2-ui/card": "9.9.0-alpha.6",
38
+ "@dhis2-ui/input": "9.9.0-alpha.6",
39
+ "@dhis2-ui/layer": "9.9.0-alpha.6",
40
+ "@dhis2-ui/popper": "9.9.0-alpha.6",
41
+ "@dhis2/multi-calendar-dates": "1.0.0-alpha.29",
42
42
  "@dhis2/prop-types": "^3.1.2",
43
- "@dhis2/ui-constants": "9.9.0-alpha.4",
44
- "@dhis2/ui-icons": "9.9.0-alpha.4",
43
+ "@dhis2/ui-constants": "9.9.0-alpha.6",
44
+ "@dhis2/ui-icons": "9.9.0-alpha.6",
45
45
  "classnames": "^2.3.1",
46
46
  "prop-types": "^15.7.2"
47
47
  },