hplx-react-elements-dev 1.0.66 → 1.0.67

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 +16 -17
  2. package/package.json +1 -1
package/dist/esm/index.js CHANGED
@@ -17833,10 +17833,6 @@ var InputTag = function InputTag(_a) {
17833
17833
  className: " placeholder:hplxt-text-Gray-500 focus-visible:hplxt-outline-0 hplxt-border-0 hplxt-rounded hplxt-py-1 hplxt-px-2 hplxt-bg-Primary-50 focus:hplxt-border-0",
17834
17834
  onChange: function onChange(e) {
17835
17835
  setEditInputValue(e.target.value);
17836
-
17837
- if ((editInputValue === null || editInputValue === void 0 ? void 0 : editInputValue.length) === 0) {
17838
- deleteTag("", editIndex);
17839
- }
17840
17836
  },
17841
17837
  onKeyDown: addEditTags,
17842
17838
  onBlur: function onBlur() {
@@ -17848,26 +17844,29 @@ var InputTag = function InputTag(_a) {
17848
17844
  setEditIndex(-1);
17849
17845
  setEditInputValue("");
17850
17846
  }
17851
- }) : jsxRuntime.exports.jsxs("button", __assign({
17852
- className: "hplxt-flex hplxt-items-center hplxt-bg-Primary-50 hplxt-border-1 hplxt-rounded hplxt-border-Primary-100 hplxt-py-1 hplxt-px-2",
17853
- onClick: function onClick() {
17854
- setEditIndex(index);
17855
- setEditInputValue(item);
17856
- }
17847
+ }) : jsxRuntime.exports.jsxs("div", __assign({
17848
+ className: "hplxt-flex hplxt-items-center hplxt-bg-Primary-50 hplxt-border-1 hplxt-rounded hplxt-border-Primary-100 hplxt-py-1 hplxt-px-2"
17857
17849
  }, {
17858
- children: [jsxRuntime.exports.jsx(Typography, __assign({
17859
- variant: "Semibold",
17860
- type: "Text sm",
17861
- className: "hplxt-text-Gray-600"
17850
+ children: [jsxRuntime.exports.jsx("button", __assign({
17851
+ onClick: function onClick() {
17852
+ setEditIndex(index);
17853
+ setEditInputValue(item);
17854
+ }
17862
17855
  }, {
17863
- children: item
17864
- })), jsxRuntime.exports.jsx("div", {
17856
+ children: jsxRuntime.exports.jsx(Typography, __assign({
17857
+ variant: "Semibold",
17858
+ type: "Text sm",
17859
+ className: "hplxt-text-Gray-600"
17860
+ }, {
17861
+ children: item
17862
+ }))
17863
+ }), index), jsxRuntime.exports.jsx("i", {
17865
17864
  className: "hx_close hplxt-text-[75%] hplxt-text-Primary-700",
17866
17865
  onClick: function onClick() {
17867
17866
  return deleteTag(item, index);
17868
17867
  }
17869
17868
  })]
17870
- }), index);
17869
+ }));
17871
17870
  }), jsxRuntime.exports.jsx("input", __assign({
17872
17871
  type: "text",
17873
17872
  value: tagInputValue,
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "frontend",
10
10
  "healthplix"
11
11
  ],
12
- "version": "1.0.66",
12
+ "version": "1.0.67",
13
13
  "main": "dist/esm/index.js",
14
14
  "module": "dist/esm/index.js",
15
15
  "types": "dist/esm/index.d.ts",