@commonsku/styles 1.17.21 → 1.17.22

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/dist/index.cjs CHANGED
@@ -7464,7 +7464,7 @@ var inputStyles = {
7464
7464
  cursor: 'pointer',
7465
7465
  position: 'absolute',
7466
7466
  top: '8px',
7467
- right: '36px',
7467
+ right: '4px',
7468
7468
  };
7469
7469
  var formatDateRange = function (_a, dateFormat) {
7470
7470
  var startDate = _a.startDate, endDate = _a.endDate;
@@ -7481,8 +7481,8 @@ var formatDateRange = function (_a, dateFormat) {
7481
7481
  };
7482
7482
  var DateRangeInput = function (_a) {
7483
7483
  var value = _a.value, error = _a.error, noMargin = _a.noMargin, onClick = _a.onClick, isClearable = _a.isClearable; _a.selected; _a.dateFormat; var onInputSelect = _a.onInputSelect, props = __rest(_a, ["value", "error", "noMargin", "onClick", "isClearable", "selected", "dateFormat", "onInputSelect"]);
7484
- return (React__default.default.createElement("div", { style: { position: 'relative', display: 'inline-block' } },
7485
- React__default.default.createElement(Input, __assign({ readOnly: true, onFocus: onInputSelect, value: value, onClick: onClick, noMargin: noMargin, error: error, style: { marginRight: '2rem', display: 'inline-block', width: '250px' }, type: "text", autoComplete: "off" }, props)),
7484
+ return (React__default.default.createElement("div", { style: { position: 'relative' } },
7485
+ React__default.default.createElement(Input, __assign({ readOnly: true, onFocus: onInputSelect, value: value, onClick: onClick, noMargin: noMargin, error: error, type: "text", autoComplete: "off" }, props)),
7486
7486
  React__default.default.createElement("span", { style: inputStyles, onClick: onClick }, !isClearable &&
7487
7487
  React__default.default.createElement(CalendarIcon, { style: { width: '1.9rem', verticalAlign: 'middle' } }))));
7488
7488
  };