@useblu/ocean-react 1.36.1 → 1.36.3
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 +6 -0
- package/DatePicker/DatePicker.d.ts.map +1 -1
- package/index.es.js +2 -2
- package/index.es.js.map +1 -1
- package/index.js +2 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.36.3](https://github.com/ocean-ds/ocean-web/compare/v1.36.2...v1.36.3) (2022-10-11)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- datepicker (remove input patterns) ([#1027](https://github.com/ocean-ds/ocean-web/issues/1027)) ([0d89c08](https://github.com/ocean-ds/ocean-web/commit/0d89c080f7a8f93531d458ac266b51cc1ebe8631))
|
|
11
|
+
|
|
6
12
|
## [1.36.1](https://github.com/ocean-ds/ocean-web/compare/v1.36.0...v1.36.1) (2022-10-11)
|
|
7
13
|
|
|
8
14
|
### Bug Fixes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../src/DatePicker/DatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,MAAM,EAAU,MAAM,UAAU,CAAC;AAgB1C,oBAAY,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,oBAAY,eAAe,GAAG;IAI5B,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAM1B,MAAM,EAAE,gBAAgB,CAAC;IAMzB,QAAQ,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CA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AI;;;;;;;;kLAiO5C,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/index.es.js
CHANGED
|
@@ -34099,13 +34099,13 @@ var DatePicker = e.forwardRef(function DatePicker(_a, ref) {
|
|
|
34099
34099
|
labels && labels.from && (e.createElement("label", { htmlFor: "start-date" }, labels.from)),
|
|
34100
34100
|
e.createElement(Input, { ref: input1Ref, "data-testid": "datepicker-input-1", id: "start-date", type: "text", className: classNames({
|
|
34101
34101
|
'date-field-focussed': currentField === 'start-date'
|
|
34102
|
-
}), name: "start-date", value: values.from, onChange: (editable && inputChange) || undefined, placeholder: getInputPlaceholder(), adornment: e.createElement(wn, { size: 20, stroke: "#B6B9CC" }), autoComplete: "off", readOnly: !editable, disabled: disabled, error: !disabled && error,
|
|
34102
|
+
}), name: "start-date", value: values.from, onChange: (editable && inputChange) || undefined, placeholder: getInputPlaceholder(), adornment: e.createElement(wn, { size: 20, stroke: "#B6B9CC" }), autoComplete: "off", readOnly: !editable, disabled: disabled, error: !disabled && error, inputMode: "numeric", helperText: (!disabled && !showDayPicker && error && helperText) ||
|
|
34103
34103
|
undefined, maxLength: 10 })),
|
|
34104
34104
|
e.createElement("div", { className: "ods-datepicker__form-controls", "data-testid": "date-picker-second-field-wrapper", onClick: function () { return createHandleToggleClick('end-date'); } },
|
|
34105
34105
|
labels && labels.to && (e.createElement("label", { htmlFor: "end-date" }, labels.to)),
|
|
34106
34106
|
e.createElement(Input, { ref: input2Ref, "data-testid": "datepicker-input-2", id: "end-date", type: "text", className: classNames({
|
|
34107
34107
|
'date-field-focussed': currentField === 'end-date'
|
|
34108
|
-
}), name: "end-date", value: values.to, onChange: (editable && inputChange) || undefined, placeholder: getInputPlaceholder(), adornment: e.createElement(wn, { size: 20, stroke: "#B6B9CC" }), autoComplete: "off", readOnly: !editable, disabled: disabled, error: !disabled && error,
|
|
34108
|
+
}), name: "end-date", value: values.to, onChange: (editable && inputChange) || undefined, placeholder: getInputPlaceholder(), adornment: e.createElement(wn, { size: 20, stroke: "#B6B9CC" }), autoComplete: "off", readOnly: !editable, disabled: disabled, error: !disabled && error, inputMode: "numeric", helperText: (!disabled && !showDayPicker && error && helperText) ||
|
|
34109
34109
|
undefined, maxLength: 10 })),
|
|
34110
34110
|
!disabled && showDayPicker && (e.createElement("div", { "data-testid": "datepicker-calendar" },
|
|
34111
34111
|
e.createElement(DayPicker, { mode: "range", locale: localeOption, weekStartsOn: 0, classNames: CustomStyles, className: className, onDayClick: function (day) { return handleDayClick(day); }, onDayMouseEnter: function (day) { return handleDayMouseEnter(day); }, formatters: { formatDay: formatDay }, selected: selectedDays, disabled: disabledDays, components: {
|