sag_components 1.0.172 → 1.0.173

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.
@@ -26,7 +26,8 @@ var Datepicker = function Datepicker(_ref) {
26
26
  format = _ref$format === void 0 ? "MMM DD, YYYY" : _ref$format,
27
27
  shape = _ref.shape,
28
28
  _onChange = _ref.onChange,
29
- value = _ref.value;
29
+ value = _ref.value,
30
+ disableClearable = _ref.disableClearable;
30
31
  /**
31
32
  * SAG Datepicker
32
33
  */
@@ -93,6 +94,7 @@ var Datepicker = function Datepicker(_ref) {
93
94
  components: ["DatePicker"]
94
95
  }, /*#__PURE__*/_react.default.createElement(_DatePicker.DatePicker, {
95
96
  value: valueState,
97
+ clearable: true,
96
98
  onChange: function onChange(newValue) {
97
99
  setvalueState(newValue);
98
100
  console.log("newValue", newValue.format("YYYY-MM-DD").toString());
@@ -94,22 +94,7 @@ var TitleDescription = function TitleDescription(_ref) {
94
94
  height: "12"
95
95
  }), /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.ViewCreativeTextField, {
96
96
  id: "ViewCreativeTextField"
97
- }, "View creative"))), /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.BottonsContainer, {
98
- id: "BottonsContainer"
99
- }, /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.DownloadButtonContainer, {
100
- id: "DownloadButtonContainer"
101
- }, /*#__PURE__*/_react.default.createElement(_IconButton.IconButton, {
102
- id: "IconButton",
103
- height: 20,
104
- width: 20,
105
- iconName: "download",
106
- onClick: function onClick(event) {
107
- downloadButtonOnClick({
108
- eventName: "downloadButtonOnClick",
109
- event: event
110
- });
111
- }
112
- })))), /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.FilterValuesContainer, {
97
+ }, "View creative")))), /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.FilterValuesContainer, {
113
98
  id: "FilterValuesContainer"
114
99
  }, showRetailerIcon && /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.Retailer, {
115
100
  id: "Retailer"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.172",
3
+ "version": "1.0.173",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {