@mlw-packages/react-components 1.7.23 → 1.7.24

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.css CHANGED
@@ -1911,6 +1911,9 @@ body {
1911
1911
  border-top-left-radius: 0.75rem;
1912
1912
  border-top-right-radius: 0.75rem;
1913
1913
  }
1914
+ .rounded-bl-md {
1915
+ border-bottom-left-radius: calc(var(--radius) - 2px);
1916
+ }
1914
1917
  .rounded-tl-sm {
1915
1918
  border-top-left-radius: calc(var(--radius) - 4px);
1916
1919
  }
package/dist/index.js CHANGED
@@ -8044,7 +8044,7 @@ function DateTimePicker({
8044
8044
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8045
8045
  ButtonBase,
8046
8046
  {
8047
- className: "no-active-animation rounded-none bg-muted text-gray-800 border-b-2 border-l-2",
8047
+ className: "no-active-animation rounded-none rounded-bl-md bg-background text-gray-800 border-b-2 border-l-2 hover:bg-muted/50 overflow-y-hidden",
8048
8048
  onClick: () => setOpen(false),
8049
8049
  children: "Cancelar"
8050
8050
  }
@@ -8340,7 +8340,7 @@ function Agenda({
8340
8340
  (0, import_date_fns3.isToday)(day) ? "border-blue-200" : ""
8341
8341
  ),
8342
8342
  children: [
8343
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
8343
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
8344
8344
  "span",
8345
8345
  {
8346
8346
  className: (0, import_tailwind_merge2.twMerge)(
@@ -8348,10 +8348,13 @@ function Agenda({
8348
8348
  (0, import_date_fns3.isToday)(day) ? "text-blue-500" : ""
8349
8349
  ),
8350
8350
  "data-today": (0, import_date_fns3.isToday)(day) || void 0,
8351
- children: (() => {
8352
- const s = (0, import_date_fns3.format)(day, "d MMM, EEEE", { locale: import_locale2.ptBR });
8353
- return s.split(" ").map((w) => w ? w[0].toUpperCase() + w.slice(1) : w).join(" ");
8354
- })()
8351
+ children: [
8352
+ (() => {
8353
+ const s = (0, import_date_fns3.format)(day, "d MMM, EEEE", { locale: import_locale2.ptBR });
8354
+ return s.split(" ").map((w) => w ? w[0].toUpperCase() + w.slice(1) : w).join(" ");
8355
+ })(),
8356
+ (0, import_date_fns3.isToday)(day) ? " - Hoje" : ""
8357
+ ]
8355
8358
  }
8356
8359
  ),
8357
8360
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "mt-6 space-y-2", children: dayEvents.map((event) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
@@ -13689,8 +13692,6 @@ function MultiSelectItemBase({
13689
13692
  children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
13690
13693
  import_framer_motion16.motion.div,
13691
13694
  {
13692
- whileHover: { scale: 1.02 },
13693
- whileTap: { scale: 0.98 },
13694
13695
  transition: { duration: 0.1 },
13695
13696
  children: [
13696
13697
  /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
package/dist/index.mjs CHANGED
@@ -7728,7 +7728,7 @@ function DateTimePicker({
7728
7728
  /* @__PURE__ */ jsx59(
7729
7729
  ButtonBase,
7730
7730
  {
7731
- className: "no-active-animation rounded-none bg-muted text-gray-800 border-b-2 border-l-2",
7731
+ className: "no-active-animation rounded-none rounded-bl-md bg-background text-gray-800 border-b-2 border-l-2 hover:bg-muted/50 overflow-y-hidden",
7732
7732
  onClick: () => setOpen(false),
7733
7733
  children: "Cancelar"
7734
7734
  }
@@ -8036,7 +8036,7 @@ function Agenda({
8036
8036
  isToday(day) ? "border-blue-200" : ""
8037
8037
  ),
8038
8038
  children: [
8039
- /* @__PURE__ */ jsx61(
8039
+ /* @__PURE__ */ jsxs42(
8040
8040
  "span",
8041
8041
  {
8042
8042
  className: twMerge2(
@@ -8044,10 +8044,13 @@ function Agenda({
8044
8044
  isToday(day) ? "text-blue-500" : ""
8045
8045
  ),
8046
8046
  "data-today": isToday(day) || void 0,
8047
- children: (() => {
8048
- const s = format3(day, "d MMM, EEEE", { locale: ptBR3 });
8049
- return s.split(" ").map((w) => w ? w[0].toUpperCase() + w.slice(1) : w).join(" ");
8050
- })()
8047
+ children: [
8048
+ (() => {
8049
+ const s = format3(day, "d MMM, EEEE", { locale: ptBR3 });
8050
+ return s.split(" ").map((w) => w ? w[0].toUpperCase() + w.slice(1) : w).join(" ");
8051
+ })(),
8052
+ isToday(day) ? " - Hoje" : ""
8053
+ ]
8051
8054
  }
8052
8055
  ),
8053
8056
  /* @__PURE__ */ jsx61("div", { className: "mt-6 space-y-2", children: dayEvents.map((event) => /* @__PURE__ */ jsx61(
@@ -13508,8 +13511,6 @@ function MultiSelectItemBase({
13508
13511
  children: /* @__PURE__ */ jsxs61(
13509
13512
  motion15.div,
13510
13513
  {
13511
- whileHover: { scale: 1.02 },
13512
- whileTap: { scale: 0.98 },
13513
13514
  transition: { duration: 0.1 },
13514
13515
  children: [
13515
13516
  /* @__PURE__ */ jsx84("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx84(
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.7.23",
6
+ "version": "1.7.24",
7
7
  "homepage": "https://main--68e80310a069c2f10b546ef3.chromatic.com/",
8
8
  "repository": {
9
9
  "type": "git",