@tecsinapse/cortex-react 1.9.13 → 1.9.14

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.
@@ -34,7 +34,7 @@ const DatePickerInputWithPopover = (props) => {
34
34
  onClean: () => state.setValue(null),
35
35
  onToggle: () => setIsOpen((open) => !open)
36
36
  },
37
- /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(DateField.DateField, { ...fieldProps, isDisabled: disabled }))
37
+ /* @__PURE__ */ React.createElement(DateField.DateField, { ...fieldProps, isDisabled: disabled })
38
38
  )), /* @__PURE__ */ React.createElement(index.Popover.Content, { className: "bg-inherit shadow-none border-none" }, /* @__PURE__ */ React.createElement(
39
39
  Calendar.Calendar,
40
40
  {
@@ -28,7 +28,7 @@ const DatePickerInputBase = ({
28
28
  if (value && "start" in value) return hasStartDate && hasEndDate;
29
29
  return hasDate;
30
30
  }, [value]);
31
- return /* @__PURE__ */ React.createElement(index.Input.Face, { variants, "data-testid": "date-picker-input-base" }, /* @__PURE__ */ React.createElement("span", { className: cortexCore.labelStyle({}) }, label), /* @__PURE__ */ React.createElement("div", { className: cortexCore.inputBox("", label, "w-full flex flex-row") }, children), /* @__PURE__ */ React.createElement(index.Input.Right, { className: "mt-centi" }, showCloseIcon ? /* @__PURE__ */ React.createElement(
31
+ return /* @__PURE__ */ React.createElement(index.Input.Face, { variants, "data-testid": "date-picker-input-base" }, /* @__PURE__ */ React.createElement("label", { className: cortexCore.labelStyle({}) }, label), /* @__PURE__ */ React.createElement("div", { className: cortexCore.inputBox("", label, "w-full flex flex-row") }, children), /* @__PURE__ */ React.createElement(index.Input.Right, { className: "flex h-full justify-center" }, showCloseIcon ? /* @__PURE__ */ React.createElement(
32
32
  "button",
33
33
  {
34
34
  onClick: onClean,
@@ -4,7 +4,7 @@ var tailwindVariants = require('tailwind-variants');
4
4
 
5
5
  const datePickerInputBase = tailwindVariants.tv({
6
6
  slots: {
7
- icon: "cursor-pointer"
7
+ icon: "cursor-pointer text-deca"
8
8
  },
9
9
  variants: {
10
10
  disabled: {
@@ -32,7 +32,7 @@ const DatePickerInputWithPopover = (props) => {
32
32
  onClean: () => state.setValue(null),
33
33
  onToggle: () => setIsOpen((open) => !open)
34
34
  },
35
- /* @__PURE__ */ React__default.createElement("div", null, /* @__PURE__ */ React__default.createElement(DateField, { ...fieldProps, isDisabled: disabled }))
35
+ /* @__PURE__ */ React__default.createElement(DateField, { ...fieldProps, isDisabled: disabled })
36
36
  )), /* @__PURE__ */ React__default.createElement(Popover.Content, { className: "bg-inherit shadow-none border-none" }, /* @__PURE__ */ React__default.createElement(
37
37
  Calendar,
38
38
  {
@@ -26,7 +26,7 @@ const DatePickerInputBase = ({
26
26
  if (value && "start" in value) return hasStartDate && hasEndDate;
27
27
  return hasDate;
28
28
  }, [value]);
29
- return /* @__PURE__ */ React__default.createElement(Input.Face, { variants, "data-testid": "date-picker-input-base" }, /* @__PURE__ */ React__default.createElement("span", { className: labelStyle({}) }, label), /* @__PURE__ */ React__default.createElement("div", { className: inputBox("", label, "w-full flex flex-row") }, children), /* @__PURE__ */ React__default.createElement(Input.Right, { className: "mt-centi" }, showCloseIcon ? /* @__PURE__ */ React__default.createElement(
29
+ return /* @__PURE__ */ React__default.createElement(Input.Face, { variants, "data-testid": "date-picker-input-base" }, /* @__PURE__ */ React__default.createElement("label", { className: labelStyle({}) }, label), /* @__PURE__ */ React__default.createElement("div", { className: inputBox("", label, "w-full flex flex-row") }, children), /* @__PURE__ */ React__default.createElement(Input.Right, { className: "flex h-full justify-center" }, showCloseIcon ? /* @__PURE__ */ React__default.createElement(
30
30
  "button",
31
31
  {
32
32
  onClick: onClean,
@@ -2,7 +2,7 @@ import { tv } from 'tailwind-variants';
2
2
 
3
3
  const datePickerInputBase = tv({
4
4
  slots: {
5
- icon: "cursor-pointer"
5
+ icon: "cursor-pointer text-deca"
6
6
  },
7
7
  variants: {
8
8
  disabled: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tecsinapse/cortex-react",
3
- "version": "1.9.13",
3
+ "version": "1.9.14",
4
4
  "description": "React components based in @tecsinapse/cortex-core",
5
5
  "license": "MIT",
6
6
  "main": "dist/esm/index.js",
@@ -48,5 +48,5 @@
48
48
  "react-dom": ">=18.0.0",
49
49
  "tailwind": ">=3.3.0"
50
50
  },
51
- "gitHead": "7dd8023608410a895905070645c7154a59e6f3b7"
51
+ "gitHead": "1de76c217177d6db0658ba0421572070d92325fb"
52
52
  }