hplx-react-elements-dev 1.1.11 → 1.1.12

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.
Files changed (2) hide show
  1. package/dist/esm/index.js +33 -29
  2. package/package.json +1 -1
package/dist/esm/index.js CHANGED
@@ -17466,35 +17466,39 @@ var DatePicker = function DatePicker(_a) {
17466
17466
  children: [jsxRuntime.exports.jsxs("div", __assign({
17467
17467
  className: "hplxt-relative "
17468
17468
  }, {
17469
- children: [!showPlaceHolderOnly && jsxRuntime.exports.jsx(InputField, {
17470
- width: width ? width : "8em",
17471
- label: label,
17472
- labelColor: labelColor,
17473
- labelSize: labelSize,
17474
- height: height,
17475
- end_icon: end_icon,
17476
- hint_text_icon: hint_text_icon,
17477
- prefix: prefix,
17478
- suffixButton: suffixButton,
17479
- suffix: suffix,
17480
- hint_text: hint_text,
17481
- char_count: char_count,
17482
- errorMsg: errorMsg,
17483
- suffixInputProps: suffixInputProps,
17484
- suffixDropdown: suffixDropdown,
17485
- isSuffixEditable: isSuffixEditable,
17486
- suffixPlaceholder: suffixPlaceholder,
17487
- isborderRequired: isborderRequired,
17488
- start_icon: start_icon,
17489
- inputProps: {
17490
- disabled: disable,
17491
- placeholder: placeholder ? placeholder : "select date",
17492
- onClick: inputClick,
17493
- onFocus: inputFocus,
17494
- value: date ? dayjs(date).format("MMM DD, YYYY") : selectDate === null || selectDate === void 0 ? void 0 : selectDate.toString()
17495
- },
17496
- fieldColor: fieldColor
17497
- }), showPlaceHolderOnly && jsxRuntime.exports.jsx(Button, {
17469
+ children: [jsxRuntime.exports.jsx("div", __assign({
17470
+ onClick: disable ? function () {} : inputClick
17471
+ }, {
17472
+ children: !showPlaceHolderOnly && jsxRuntime.exports.jsx(InputField, {
17473
+ width: width ? width : "8em",
17474
+ label: label,
17475
+ labelColor: labelColor,
17476
+ labelSize: labelSize,
17477
+ height: height,
17478
+ end_icon: end_icon,
17479
+ hint_text_icon: hint_text_icon,
17480
+ prefix: prefix,
17481
+ suffixButton: suffixButton,
17482
+ suffix: suffix,
17483
+ hint_text: hint_text,
17484
+ char_count: char_count,
17485
+ errorMsg: errorMsg,
17486
+ suffixInputProps: suffixInputProps,
17487
+ suffixDropdown: suffixDropdown,
17488
+ isSuffixEditable: isSuffixEditable,
17489
+ suffixPlaceholder: suffixPlaceholder,
17490
+ isborderRequired: isborderRequired,
17491
+ start_icon: start_icon,
17492
+ inputProps: {
17493
+ disabled: disable,
17494
+ placeholder: placeholder ? placeholder : "select date",
17495
+ // onClick: inputClick,
17496
+ onFocus: inputFocus,
17497
+ value: date ? dayjs(date).format("MMM DD, YYYY") : selectDate === null || selectDate === void 0 ? void 0 : selectDate.toString()
17498
+ },
17499
+ fieldColor: fieldColor
17500
+ })
17501
+ })), showPlaceHolderOnly && jsxRuntime.exports.jsx(Button, {
17498
17502
  hierarchy: "Secondary-Grey",
17499
17503
  size: "sm",
17500
17504
  textField: "Date",
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "frontend",
10
10
  "healthplix"
11
11
  ],
12
- "version": "1.1.11",
12
+ "version": "1.1.12",
13
13
  "main": "dist/esm/index.js",
14
14
  "module": "dist/esm/index.js",
15
15
  "types": "dist/esm/index.d.ts",