@stenajs-webui/calendar 15.2.0 → 15.2.1

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
@@ -1,3 +1,15 @@
1
+ # v15.2.1 (Tue Mar 01 2022)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Disable calendar widget for https://stenait.github.io/stenajs-webui/?path=/story/calendar-input-datetextinput--disabled (fixes AB#86042) [#438](https://github.com/StenaIT/stenajs-webui/pull/438) ([@lindskogen](https://github.com/lindskogen))
6
+
7
+ #### Authors: 1
8
+
9
+ - Johan Lindskogen ([@lindskogen](https://github.com/lindskogen))
10
+
11
+ ---
12
+
1
13
  # v15.0.1 (Thu Feb 17 2022)
2
14
 
3
15
  #### 🐛 Bug Fix
package/dist/index.es.js CHANGED
@@ -1279,7 +1279,7 @@ var DateTextInput = function (_a) {
1279
1279
  ? parse(value, dateFormat, new Date())
1280
1280
  : undefined, minDate: minDate, maxDate: maxDate, theme: calendarTheme })) },
1281
1281
  React.createElement(TextInput, __assign({}, props, { variant: invalid ? "error" : "standard", disableContentPaddingRight: true, contentRight: !hideCalenderIcon ? (React.createElement(Row, { alignItems: "center", indent: 0.5 },
1282
- React.createElement(FlatButton, { size: "small", leftIcon: faCalendarAlt$1, onClick: toggleCalendar }))) : undefined, onValueChange: onValueChangeHandler, placeholder: placeholder, value: value || "", min: minDate, max: maxDate, size: 10 })))));
1282
+ React.createElement(FlatButton, { size: "small", disabled: props.disabled, leftIcon: faCalendarAlt$1, onClick: toggleCalendar }))) : undefined, onValueChange: onValueChangeHandler, placeholder: placeholder, value: value || "", min: minDate, max: maxDate, size: 10 })))));
1283
1283
  };
1284
1284
 
1285
1285
  var formatHours = function (hours) {