@undefine-ui/design-system 2.8.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 +14 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +14 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4497,7 +4497,7 @@ var MuiTextField = {
|
|
|
4497
4497
|
*************************************** */
|
|
4498
4498
|
defaultProps: {
|
|
4499
4499
|
variant: "filled",
|
|
4500
|
-
slotProps: { inputLabel: { shrink:
|
|
4500
|
+
slotProps: { inputLabel: { shrink: true } }
|
|
4501
4501
|
},
|
|
4502
4502
|
/** **************************************
|
|
4503
4503
|
* STYLE
|
|
@@ -4506,7 +4506,7 @@ var MuiTextField = {
|
|
|
4506
4506
|
root: ({ theme }) => ({
|
|
4507
4507
|
// Label styling
|
|
4508
4508
|
[`& .${import_InputLabel2.inputLabelClasses.root}`]: {
|
|
4509
|
-
transform: "none",
|
|
4509
|
+
transform: "none !important",
|
|
4510
4510
|
width: "fit-content",
|
|
4511
4511
|
maxWidth: "100%",
|
|
4512
4512
|
lineHeight: 1.153,
|
|
@@ -4514,7 +4514,7 @@ var MuiTextField = {
|
|
|
4514
4514
|
fontSize: theme.typography.h8.fontSize,
|
|
4515
4515
|
fontWeight: theme.typography.fontWeightMedium,
|
|
4516
4516
|
marginBottom: theme.spacing(1),
|
|
4517
|
-
color: theme.vars.palette.icon.black
|
|
4517
|
+
color: `${theme.vars.palette.icon.black} !important`,
|
|
4518
4518
|
// Focused state
|
|
4519
4519
|
"&:not(.Mui-error).MuiFormLabel-colorPrimary.Mui-focused": {
|
|
4520
4520
|
color: theme.vars.palette.icon.black
|
|
@@ -4549,7 +4549,10 @@ var MuiTextField = {
|
|
|
4549
4549
|
[`&.${import_InputBase.inputBaseClasses.focused}`]: {
|
|
4550
4550
|
backgroundColor: theme.vars.palette.common.white,
|
|
4551
4551
|
border: `1px solid ${theme.vars.palette.border.default}`,
|
|
4552
|
-
boxShadow: `0px 0px 0px 1.6px #FFFFFF, 0 0 0 3px ${varAlpha(
|
|
4552
|
+
boxShadow: `0px 0px 0px 1.6px #FFFFFF, 0 0 0 3px ${varAlpha(
|
|
4553
|
+
theme.vars.palette.primary["300Channel"],
|
|
4554
|
+
1
|
|
4555
|
+
)}`
|
|
4553
4556
|
},
|
|
4554
4557
|
// Error state
|
|
4555
4558
|
[`&.${import_InputBase.inputBaseClasses.error}`]: {
|
|
@@ -4562,7 +4565,10 @@ var MuiTextField = {
|
|
|
4562
4565
|
[`&.${import_InputBase.inputBaseClasses.focused}`]: {
|
|
4563
4566
|
backgroundColor: theme.vars.palette.common.white,
|
|
4564
4567
|
border: `1px solid ${theme.vars.palette.border.default}`,
|
|
4565
|
-
boxShadow: `0px 0px 0px 1.6px #FFFFFF, 0 0 0 3px ${varAlpha(
|
|
4568
|
+
boxShadow: `0px 0px 0px 1.6px #FFFFFF, 0 0 0 3px ${varAlpha(
|
|
4569
|
+
theme.vars.palette.error["300Channel"],
|
|
4570
|
+
1
|
|
4571
|
+
)}`
|
|
4566
4572
|
}
|
|
4567
4573
|
},
|
|
4568
4574
|
// Disabled state
|
|
@@ -4583,6 +4589,9 @@ var MuiTextField = {
|
|
|
4583
4589
|
height: 20,
|
|
4584
4590
|
color: theme.vars.palette.icon.black
|
|
4585
4591
|
},
|
|
4592
|
+
[`& .${import_InputBase.inputBaseClasses.input}`]: {
|
|
4593
|
+
paddingLeft: 0
|
|
4594
|
+
},
|
|
4586
4595
|
[`& .${import_InputAdornment.inputAdornmentClasses.sizeSmall}`]: {
|
|
4587
4596
|
svg: { width: 16, height: 16 }
|
|
4588
4597
|
},
|