@producteca/producteca-ui-kit 1.72.0 → 1.73.0

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.
@@ -492,6 +492,7 @@ declare const _default: {
492
492
  borderHover: string;
493
493
  borderFocus: string;
494
494
  borderDark: string;
495
+ borderDarkHover: string;
495
496
  borderDisabled: string;
496
497
  fontFamily: string;
497
498
  fontSizesDisplay: string;
@@ -9975,15 +9975,14 @@ var includes_1 = includes;
9975
9975
  const includes$1 = /* @__PURE__ */ getDefaultExportFromCjs(includes_1);
9976
9976
  const Colors = {
9977
9977
  grey: {
9978
- "900": "#252525",
9979
- "800": "#404040",
9980
- "733": "#666666",
9981
- "700": "#797979",
9982
- "500": "#ACACAC",
9983
- "400": "#D7D7D7",
9984
- "200": "#EDEDED",
9985
- "100": "#F5F5F5",
9986
- "50": "#FAFAFA"
9978
+ "900": "#0A1230",
9979
+ "800": "#2F3758",
9980
+ "700": "#5A6285",
9981
+ "500": "#8A90AE",
9982
+ "400": "#DCDEE9",
9983
+ "200": "#EAECF3",
9984
+ "100": "#F2F3F7",
9985
+ "50": "#F7F8FB"
9987
9986
  },
9988
9987
  error: {
9989
9988
  "900": "#9A1414",
@@ -10010,12 +10009,19 @@ const Colors = {
10010
10009
  "50": "#FFF3D1"
10011
10010
  },
10012
10011
  primary: {
10013
- "900": "#0045AD",
10014
- "700": "#0058DB",
10015
- "500": "#0066FF",
10016
- "300": "#76ADFF",
10017
- "100": "#A7CAFF",
10018
- "50": "#E6F1FF"
10012
+ "900": "#002E77",
10013
+ "700": "#003FA0",
10014
+ "500": "#0056D8",
10015
+ "300": "#5A8BEA",
10016
+ "100": "#BFD4F5",
10017
+ "50": "#E6EEFB"
10018
+ },
10019
+ lila: {
10020
+ "900": "#342879",
10021
+ "700": "#6F5FC9",
10022
+ "500": "#B79BD9",
10023
+ "100": "#E0D0F0",
10024
+ "50": "#F4EEFA"
10019
10025
  }
10020
10026
  };
10021
10027
  const getColor = (category, shade) => {
@@ -20424,6 +20430,7 @@ const es$3 = {
20424
20430
  borderHover: "Borde en hover",
20425
20431
  borderFocus: "Borde en focus",
20426
20432
  borderDark: "Borde oscuro",
20433
+ borderDarkHover: "Borde oscuro en hover",
20427
20434
  borderDisabled: "Borde deshabilitado",
20428
20435
  fontFamily: "Familia de fuentes",
20429
20436
  fontSizesDisplay: "Tamaños de fuente - Display",
@@ -57546,14 +57553,14 @@ const datePickerLayoutStyles = {
57546
57553
  "& .MuiPickersCalendarHeader-label": {
57547
57554
  fontFamily: "Poppins, Open Sans, Helvetica, Arial, sans-serif",
57548
57555
  fontSize: "14px",
57549
- color: "#797979",
57556
+ color: "var(--grey-700)",
57550
57557
  fontWeight: 600,
57551
57558
  textTransform: "capitalize"
57552
57559
  },
57553
57560
  "& .MuiDayCalendar-weekDayLabel": {
57554
57561
  fontFamily: "Poppins, Open Sans, Helvetica, Arial, sans-serif",
57555
57562
  fontSize: "12px",
57556
- color: "#797979",
57563
+ color: "var(--grey-700)",
57557
57564
  fontWeight: 600
57558
57565
  }
57559
57566
  };
@@ -57561,17 +57568,17 @@ const datePickerInputStyles = {
57561
57568
  "& .MuiOutlinedInput-root": {
57562
57569
  "&:hover": {
57563
57570
  "& .MuiOutlinedInput-notchedOutline": {
57564
- borderColor: "#ACACAC"
57571
+ borderColor: "var(--grey-500)"
57565
57572
  }
57566
57573
  },
57567
57574
  "&.Mui-focused": {
57568
57575
  "& .MuiOutlinedInput-notchedOutline": {
57569
- borderColor: "#252525"
57576
+ borderColor: "var(--grey-900)"
57570
57577
  }
57571
57578
  },
57572
57579
  "&.Mui-disabled": {
57573
57580
  "& .MuiOutlinedInput-notchedOutline": {
57574
- borderColor: "#D7D7D7"
57581
+ borderColor: "var(--grey-400)"
57575
57582
  }
57576
57583
  }
57577
57584
  }
@@ -57580,33 +57587,33 @@ const datePickerDayStyles = {
57580
57587
  fontFamily: "Poppins, Open Sans, Helvetica, Arial, sans-serif",
57581
57588
  fontSize: "12px",
57582
57589
  backgroundColor: "white",
57583
- color: "#252525",
57590
+ color: "var(--grey-900)",
57584
57591
  borderRadius: "4px",
57585
- "&.MuiPickersDay-root": {
57592
+ "&.MuiPickerDay-root": {
57586
57593
  fontSize: "14px",
57587
57594
  textTransform: "capitalize"
57588
57595
  },
57589
- "&.MuiPickersDay-today": {
57596
+ "&.MuiPickerDay-today": {
57590
57597
  backgroundColor: "white",
57591
- color: "#252525",
57592
- border: "1px solid #252525"
57598
+ color: "var(--grey-900)",
57599
+ border: "1px solid var(--grey-900)"
57593
57600
  },
57594
57601
  "&.Mui-selected": {
57595
- backgroundColor: "#0066ff",
57602
+ backgroundColor: "var(--primary-500)",
57596
57603
  color: "white",
57597
57604
  border: "none",
57598
57605
  "&:hover": {
57599
- backgroundColor: "#0066ff",
57606
+ backgroundColor: "var(--primary-500)",
57600
57607
  borderColor: "none"
57601
57608
  },
57602
57609
  "&:focus": {
57603
- backgroundColor: "#0066ff",
57610
+ backgroundColor: "var(--primary-500)",
57604
57611
  borderColor: "none"
57605
57612
  }
57606
57613
  },
57607
57614
  "&:hover:not(.Mui-selected)": {
57608
- color: "#252525",
57609
- backgroundColor: "#EDEDED",
57615
+ color: "var(--grey-900)",
57616
+ backgroundColor: "var(--grey-200)",
57610
57617
  borderColor: "none"
57611
57618
  }
57612
57619
  };
@@ -57620,59 +57627,59 @@ const datePickerDigitalClockStyles = {
57620
57627
  "& .MuiButtonBase-root.MuiMenuItem-root.MuiMenuItem-gutters": {
57621
57628
  fontFamily: "Poppins, Open Sans, Helvetica, Arial, sans-serif",
57622
57629
  backgroundColor: "white",
57623
- color: "#252525",
57630
+ color: "var(--grey-900)",
57624
57631
  borderRadius: "4px",
57625
57632
  width: "32px",
57626
57633
  height: "32px",
57627
57634
  margin: "4px 0 0 4px",
57628
57635
  fontSize: " 14px",
57629
57636
  "&.Mui-selected": {
57630
- backgroundColor: "#0066ff",
57637
+ backgroundColor: "var(--primary-500)",
57631
57638
  color: "white",
57632
57639
  "&:hover": {
57633
- backgroundColor: "#0066ff"
57640
+ backgroundColor: "var(--primary-500)"
57634
57641
  },
57635
57642
  "&:focus": {
57636
- backgroundColor: "#0066ff"
57643
+ backgroundColor: "var(--primary-500)"
57637
57644
  }
57638
57645
  },
57639
57646
  "&:hover:not(.Mui-selected)": {
57640
- color: "#252525",
57641
- backgroundColor: "#EDEDED"
57647
+ color: "var(--grey-900)",
57648
+ backgroundColor: "var(--grey-200)"
57642
57649
  }
57643
57650
  }
57644
57651
  }
57645
57652
  };
57646
57653
  const datePickerYearStyles = {
57654
+ // MUI X v9 dropped the MuiPickersYear wrapper: year buttons are now
57655
+ // .MuiYearCalendar-button rendered directly inside .MuiYearCalendar-root
57647
57656
  "& .MuiYearCalendar-root": {
57648
- "& .MuiPickersYear-root": {
57649
- "& .MuiPickersYear-yearButton": {
57650
- fontFamily: "Poppins, Open Sans, Helvetica, Arial, sans-serif",
57651
- fontSize: "14px",
57652
- backgroundColor: "white",
57653
- color: "#252525",
57654
- borderRadius: "4px",
57655
- "&.Mui-selected": {
57656
- backgroundColor: "#0066ff",
57657
- color: "white",
57658
- "&:hover": {
57659
- backgroundColor: "#0066ff"
57660
- },
57661
- "&:focus": {
57662
- backgroundColor: "#0066ff"
57663
- }
57657
+ "& .MuiYearCalendar-button": {
57658
+ fontFamily: "Poppins, Open Sans, Helvetica, Arial, sans-serif",
57659
+ fontSize: "14px",
57660
+ backgroundColor: "white",
57661
+ color: "var(--grey-900)",
57662
+ borderRadius: "4px",
57663
+ "&.Mui-selected": {
57664
+ backgroundColor: "var(--primary-500)",
57665
+ color: "white",
57666
+ "&:hover": {
57667
+ backgroundColor: "var(--primary-500)"
57664
57668
  },
57665
- "&:hover:not(.Mui-selected)": {
57666
- backgroundColor: "#EDEDED",
57667
- color: "#252525"
57669
+ "&:focus": {
57670
+ backgroundColor: "var(--primary-500)"
57668
57671
  }
57672
+ },
57673
+ "&:hover:not(.Mui-selected)": {
57674
+ backgroundColor: "var(--primary-500)",
57675
+ color: "var(--grey-900)"
57669
57676
  }
57670
57677
  }
57671
57678
  }
57672
57679
  };
57673
57680
  const datePickerPopperStyles = {
57674
- "& .MuiPickersPopper-paper": {
57675
- boxShadow: "0px 5px 5px -3px rgb(205 205 205 / 20%), 0px 8px 14px 1px rgb(165 165 165 / 14%), 0px 3px 14px 2px rgb(219 219 219 / 6%)"
57681
+ "& .MuiPickerPopper-paper": {
57682
+ boxShadow: "var(--elevation-shadow)"
57676
57683
  }
57677
57684
  };
57678
57685
  const lg$8 = "datePicker-module_lg_lvvw6";
@@ -57691,7 +57698,17 @@ const styles$w = {
57691
57698
  };
57692
57699
  dayjs.extend(customParseFormat);
57693
57700
  const ActionComponent = ({ showClearIcon, onClear, onOpen }) => /* @__PURE__ */ jsxs("div", { className: styles$w["calendar-icon-container"], "data-testid": "action-component", children: [
57694
- showClearIcon && /* @__PURE__ */ jsx$1("div", { onClick: onClear, className: styles$w["clear-icon"], children: /* @__PURE__ */ jsx$1(CustomIcon, { children: /* @__PURE__ */ jsx$1(CloseRoundedIcon, {}) }) }),
57701
+ showClearIcon && /* @__PURE__ */ jsx$1(
57702
+ "div",
57703
+ {
57704
+ onClick: (event) => {
57705
+ event.stopPropagation();
57706
+ onClear?.();
57707
+ },
57708
+ className: styles$w["clear-icon"],
57709
+ children: /* @__PURE__ */ jsx$1(CustomIcon, { children: /* @__PURE__ */ jsx$1(CloseRoundedIcon, {}) })
57710
+ }
57711
+ ),
57695
57712
  /* @__PURE__ */ jsx$1("div", { className: styles$w["divider-line"] }),
57696
57713
  /* @__PURE__ */ jsx$1("div", { onClick: onOpen, className: styles$w["calendar-icon"], children: /* @__PURE__ */ jsx$1(CustomIcon, { size: "12", children: /* @__PURE__ */ jsx$1(CalendarTodayIcon, {}) }) })
57697
57714
  ] });
@@ -57712,7 +57729,7 @@ const ReadOnlyDateField = ({
57712
57729
  return /* @__PURE__ */ jsx$1(
57713
57730
  TextField,
57714
57731
  {
57715
- ref: (element) => triggerRef(element),
57732
+ ref: triggerRef,
57716
57733
  value: displayValue,
57717
57734
  placeholder,
57718
57735
  name,
@@ -67412,7 +67429,7 @@ const WithTooltip = ({
67412
67429
  ...customSlotProps?.popper?.sx || {},
67413
67430
  [`&.${tooltipClasses.popper} .${tooltipClasses.tooltip}`]: {
67414
67431
  fontFamily: "Poppins, Open Sans, Helvetica, Arial, sans-serif",
67415
- background: "rgba(102, 102, 102, 1)",
67432
+ background: "var(--grey-800)",
67416
67433
  padding: "9px 9px 8px 12px",
67417
67434
  fontSize: "12px",
67418
67435
  fontWeight: "400",
@@ -67421,7 +67438,7 @@ const WithTooltip = ({
67421
67438
  maxWidth: maxWidth2
67422
67439
  },
67423
67440
  [`&.${tooltipClasses.popper} .${tooltipClasses.arrow}`]: {
67424
- color: "rgba(102, 102, 102, 1)"
67441
+ color: "var(--grey-800)"
67425
67442
  },
67426
67443
  [`&.${tooltipClasses.popper}[data-popper-placement*="top"] .${tooltipClasses.tooltip}`]: {
67427
67444
  marginBottom: "8px"
@@ -68303,8 +68320,8 @@ const MoreVertIcon = createSvgIcon(/* @__PURE__ */ jsx$1("path", {
68303
68320
  }), "MoreVert");
68304
68321
  const menuPaperSx = (size2, maxItemsVisible) => ({
68305
68322
  "& .MuiPopover-paper": {
68306
- boxShadow: "0px 5px 5px -3px rgb(205 205 205 / 20%), 0px 8px 14px 1px rgb(165 165 165 / 14%), 0px 3px 14px 2px rgb(219 219 219 / 6%)",
68307
- border: "1px solid #D7D7D7",
68323
+ boxShadow: "var(--elevation-shadow)",
68324
+ border: "1px solid var(--border-default)",
68308
68325
  maxHeight: `${maxHeight(size2, maxItemsVisible)}px`
68309
68326
  }
68310
68327
  });
@@ -68446,8 +68463,7 @@ const MenuAction = ({
68446
68463
  onClose: handleClose,
68447
68464
  disableScrollLock: true,
68448
68465
  slotProps: {
68449
- list: { "aria-labelledby": id },
68450
- transition: Grow
68466
+ list: { "aria-labelledby": id }
68451
68467
  },
68452
68468
  anchorOrigin: {
68453
68469
  vertical: "bottom",
@@ -72956,8 +72972,8 @@ const StyledMenu = styled(Menu$1, {
72956
72972
  "& .MuiPaper-root": {
72957
72973
  borderRadius: 4,
72958
72974
  marginTop: 1,
72959
- boxShadow: "0px 5px 5px -3px rgb(205 205 205 / 20%), 0px 8px 14px 1px rgb(165 165 165 / 14%), 0px 3px 14px 2px rgb(219 219 219 / 6%)",
72960
- border: "1px solid #D7D7D7",
72975
+ boxShadow: "var(--elevation-shadow)",
72976
+ border: "1px solid var(--border-default)",
72961
72977
  "& .MuiMenu-list": {
72962
72978
  padding: "4px 0"
72963
72979
  },