@undefine-ui/design-system 2.7.0 → 2.9.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.
package/dist/index.cjs CHANGED
@@ -3612,7 +3612,7 @@ var MuiButtonBase = {
3612
3612
  *************************************** */
3613
3613
  styleOverrides: {
3614
3614
  root: ({ theme }) => ({
3615
- fontFamily: theme.typography.fontFamily
3615
+ fontFamily: theme.typography.fontSecondaryFamily
3616
3616
  })
3617
3617
  }
3618
3618
  };
@@ -3732,7 +3732,8 @@ var MuiButton = {
3732
3732
  styleOverrides: {
3733
3733
  root: ({ theme }) => ({
3734
3734
  fontWeight: 500,
3735
- borderRadius: theme.radius["radius-xl"]
3735
+ borderRadius: theme.radius["radius-xl"],
3736
+ fontFamily: theme.typography.fontSecondaryFamily
3736
3737
  }),
3737
3738
  /**
3738
3739
  * @variant contained
@@ -4496,7 +4497,7 @@ var MuiTextField = {
4496
4497
  *************************************** */
4497
4498
  defaultProps: {
4498
4499
  variant: "filled",
4499
- slotProps: { inputLabel: { shrink: false } }
4500
+ slotProps: { inputLabel: { shrink: true } }
4500
4501
  },
4501
4502
  /** **************************************
4502
4503
  * STYLE
@@ -4505,7 +4506,7 @@ var MuiTextField = {
4505
4506
  root: ({ theme }) => ({
4506
4507
  // Label styling
4507
4508
  [`& .${import_InputLabel2.inputLabelClasses.root}`]: {
4508
- transform: "none",
4509
+ transform: "none !important",
4509
4510
  width: "fit-content",
4510
4511
  maxWidth: "100%",
4511
4512
  lineHeight: 1.153,
@@ -4513,7 +4514,7 @@ var MuiTextField = {
4513
4514
  fontSize: theme.typography.h8.fontSize,
4514
4515
  fontWeight: theme.typography.fontWeightMedium,
4515
4516
  marginBottom: theme.spacing(1),
4516
- color: theme.vars.palette.icon.black,
4517
+ color: `${theme.vars.palette.icon.black} !important`,
4517
4518
  // Focused state
4518
4519
  "&:not(.Mui-error).MuiFormLabel-colorPrimary.Mui-focused": {
4519
4520
  color: theme.vars.palette.icon.black
@@ -4548,7 +4549,10 @@ var MuiTextField = {
4548
4549
  [`&.${import_InputBase.inputBaseClasses.focused}`]: {
4549
4550
  backgroundColor: theme.vars.palette.common.white,
4550
4551
  border: `1px solid ${theme.vars.palette.border.default}`,
4551
- boxShadow: `0px 0px 0px 1.6px #FFFFFF, 0 0 0 3px ${varAlpha(theme.vars.palette.primary["300Channel"], 1)}`
4552
+ boxShadow: `0px 0px 0px 1.6px #FFFFFF, 0 0 0 3px ${varAlpha(
4553
+ theme.vars.palette.primary["300Channel"],
4554
+ 1
4555
+ )}`
4552
4556
  },
4553
4557
  // Error state
4554
4558
  [`&.${import_InputBase.inputBaseClasses.error}`]: {
@@ -4561,7 +4565,10 @@ var MuiTextField = {
4561
4565
  [`&.${import_InputBase.inputBaseClasses.focused}`]: {
4562
4566
  backgroundColor: theme.vars.palette.common.white,
4563
4567
  border: `1px solid ${theme.vars.palette.border.default}`,
4564
- boxShadow: `0px 0px 0px 1.6px #FFFFFF, 0 0 0 3px ${varAlpha(theme.vars.palette.error["300Channel"], 1)}`
4568
+ boxShadow: `0px 0px 0px 1.6px #FFFFFF, 0 0 0 3px ${varAlpha(
4569
+ theme.vars.palette.error["300Channel"],
4570
+ 1
4571
+ )}`
4565
4572
  }
4566
4573
  },
4567
4574
  // Disabled state
@@ -4582,6 +4589,9 @@ var MuiTextField = {
4582
4589
  height: 20,
4583
4590
  color: theme.vars.palette.icon.black
4584
4591
  },
4592
+ [`& .${import_InputBase.inputBaseClasses.input}`]: {
4593
+ paddingLeft: 0
4594
+ },
4585
4595
  [`& .${import_InputAdornment.inputAdornmentClasses.sizeSmall}`]: {
4586
4596
  svg: { width: 16, height: 16 }
4587
4597
  },