techsbcn-storybook 2.11.0 → 2.11.2

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.js CHANGED
@@ -551,7 +551,7 @@ var TextFieldComponent = ({
551
551
  input: {
552
552
  className: `${noBorders ? "no-border" : ""} ${!rest.disabled && hover ? "main-border-color" : ""}
553
553
  ${endIcon ? "end-icon-padding" : ""}`,
554
- disableUnderline,
554
+ ...variant !== "outlined" && { disableUnderline },
555
555
  startAdornment: startIcon,
556
556
  endAdornment: endIcon,
557
557
  classes: { focused: "main-border-color" },
@@ -2775,7 +2775,7 @@ var DatePickerComponent = ({
2775
2775
  slotProps: {
2776
2776
  input: {
2777
2777
  className: `${noBorders ? "no-border" : ""} ${!rest.disabled && hover ? "main-border-color" : ""}`,
2778
- disableUnderline,
2778
+ ...variant !== "outlined" && { disableUnderline },
2779
2779
  startAdornment: startIcon,
2780
2780
  endAdornment: endIcon,
2781
2781
  classes: { focused: "main-border-color" },