@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 +17 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +17 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3448,7 +3448,7 @@ var MuiButtonBase = {
|
|
|
3448
3448
|
*************************************** */
|
|
3449
3449
|
styleOverrides: {
|
|
3450
3450
|
root: ({ theme }) => ({
|
|
3451
|
-
fontFamily: theme.typography.
|
|
3451
|
+
fontFamily: theme.typography.fontSecondaryFamily
|
|
3452
3452
|
})
|
|
3453
3453
|
}
|
|
3454
3454
|
};
|
|
@@ -3568,7 +3568,8 @@ var MuiButton = {
|
|
|
3568
3568
|
styleOverrides: {
|
|
3569
3569
|
root: ({ theme }) => ({
|
|
3570
3570
|
fontWeight: 500,
|
|
3571
|
-
borderRadius: theme.radius["radius-xl"]
|
|
3571
|
+
borderRadius: theme.radius["radius-xl"],
|
|
3572
|
+
fontFamily: theme.typography.fontSecondaryFamily
|
|
3572
3573
|
}),
|
|
3573
3574
|
/**
|
|
3574
3575
|
* @variant contained
|
|
@@ -4332,7 +4333,7 @@ var MuiTextField = {
|
|
|
4332
4333
|
*************************************** */
|
|
4333
4334
|
defaultProps: {
|
|
4334
4335
|
variant: "filled",
|
|
4335
|
-
slotProps: { inputLabel: { shrink:
|
|
4336
|
+
slotProps: { inputLabel: { shrink: true } }
|
|
4336
4337
|
},
|
|
4337
4338
|
/** **************************************
|
|
4338
4339
|
* STYLE
|
|
@@ -4341,7 +4342,7 @@ var MuiTextField = {
|
|
|
4341
4342
|
root: ({ theme }) => ({
|
|
4342
4343
|
// Label styling
|
|
4343
4344
|
[`& .${inputLabelClasses2.root}`]: {
|
|
4344
|
-
transform: "none",
|
|
4345
|
+
transform: "none !important",
|
|
4345
4346
|
width: "fit-content",
|
|
4346
4347
|
maxWidth: "100%",
|
|
4347
4348
|
lineHeight: 1.153,
|
|
@@ -4349,7 +4350,7 @@ var MuiTextField = {
|
|
|
4349
4350
|
fontSize: theme.typography.h8.fontSize,
|
|
4350
4351
|
fontWeight: theme.typography.fontWeightMedium,
|
|
4351
4352
|
marginBottom: theme.spacing(1),
|
|
4352
|
-
color: theme.vars.palette.icon.black
|
|
4353
|
+
color: `${theme.vars.palette.icon.black} !important`,
|
|
4353
4354
|
// Focused state
|
|
4354
4355
|
"&:not(.Mui-error).MuiFormLabel-colorPrimary.Mui-focused": {
|
|
4355
4356
|
color: theme.vars.palette.icon.black
|
|
@@ -4384,7 +4385,10 @@ var MuiTextField = {
|
|
|
4384
4385
|
[`&.${inputBaseClasses.focused}`]: {
|
|
4385
4386
|
backgroundColor: theme.vars.palette.common.white,
|
|
4386
4387
|
border: `1px solid ${theme.vars.palette.border.default}`,
|
|
4387
|
-
boxShadow: `0px 0px 0px 1.6px #FFFFFF, 0 0 0 3px ${varAlpha(
|
|
4388
|
+
boxShadow: `0px 0px 0px 1.6px #FFFFFF, 0 0 0 3px ${varAlpha(
|
|
4389
|
+
theme.vars.palette.primary["300Channel"],
|
|
4390
|
+
1
|
|
4391
|
+
)}`
|
|
4388
4392
|
},
|
|
4389
4393
|
// Error state
|
|
4390
4394
|
[`&.${inputBaseClasses.error}`]: {
|
|
@@ -4397,7 +4401,10 @@ var MuiTextField = {
|
|
|
4397
4401
|
[`&.${inputBaseClasses.focused}`]: {
|
|
4398
4402
|
backgroundColor: theme.vars.palette.common.white,
|
|
4399
4403
|
border: `1px solid ${theme.vars.palette.border.default}`,
|
|
4400
|
-
boxShadow: `0px 0px 0px 1.6px #FFFFFF, 0 0 0 3px ${varAlpha(
|
|
4404
|
+
boxShadow: `0px 0px 0px 1.6px #FFFFFF, 0 0 0 3px ${varAlpha(
|
|
4405
|
+
theme.vars.palette.error["300Channel"],
|
|
4406
|
+
1
|
|
4407
|
+
)}`
|
|
4401
4408
|
}
|
|
4402
4409
|
},
|
|
4403
4410
|
// Disabled state
|
|
@@ -4418,6 +4425,9 @@ var MuiTextField = {
|
|
|
4418
4425
|
height: 20,
|
|
4419
4426
|
color: theme.vars.palette.icon.black
|
|
4420
4427
|
},
|
|
4428
|
+
[`& .${inputBaseClasses.input}`]: {
|
|
4429
|
+
paddingLeft: 0
|
|
4430
|
+
},
|
|
4421
4431
|
[`& .${inputAdornmentClasses.sizeSmall}`]: {
|
|
4422
4432
|
svg: { width: 16, height: 16 }
|
|
4423
4433
|
},
|