@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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/styles/DateRangeDropdown.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7433,7 +7433,7 @@ var inputStyles = {
|
|
|
7433
7433
|
cursor: 'pointer',
|
|
7434
7434
|
position: 'absolute',
|
|
7435
7435
|
top: '8px',
|
|
7436
|
-
right: '
|
|
7436
|
+
right: '4px',
|
|
7437
7437
|
};
|
|
7438
7438
|
var formatDateRange = function (_a, dateFormat) {
|
|
7439
7439
|
var startDate = _a.startDate, endDate = _a.endDate;
|
|
@@ -7450,8 +7450,8 @@ var formatDateRange = function (_a, dateFormat) {
|
|
|
7450
7450
|
};
|
|
7451
7451
|
var DateRangeInput = function (_a) {
|
|
7452
7452
|
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"]);
|
|
7453
|
-
return (React.createElement("div", { style: { position: 'relative'
|
|
7454
|
-
React.createElement(Input, __assign({ readOnly: true, onFocus: onInputSelect, value: value, onClick: onClick, noMargin: noMargin, error: error,
|
|
7453
|
+
return (React.createElement("div", { style: { position: 'relative' } },
|
|
7454
|
+
React.createElement(Input, __assign({ readOnly: true, onFocus: onInputSelect, value: value, onClick: onClick, noMargin: noMargin, error: error, type: "text", autoComplete: "off" }, props)),
|
|
7455
7455
|
React.createElement("span", { style: inputStyles, onClick: onClick }, !isClearable &&
|
|
7456
7456
|
React.createElement(CalendarIcon, { style: { width: '1.9rem', verticalAlign: 'middle' } }))));
|
|
7457
7457
|
};
|