@rabex-kit/rabex-ui 0.2.58 → 0.2.61
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/rabex-ui.cjs.development.js +13 -9
- package/dist/rabex-ui.cjs.development.js.map +1 -1
- package/dist/rabex-ui.cjs.production.min.js +1 -1
- package/dist/rabex-ui.cjs.production.min.js.map +1 -1
- package/dist/rabex-ui.esm.js +13 -9
- package/dist/rabex-ui.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -1674,7 +1674,7 @@ var getTypography = function getTypography(size, mode) {
|
|
|
1674
1674
|
};
|
|
1675
1675
|
};
|
|
1676
1676
|
/**
|
|
1677
|
-
* Chip component of Material is
|
|
1677
|
+
* Chip component of Material is something like Badge ,
|
|
1678
1678
|
* Material Ui Chip is wrapper for content that has
|
|
1679
1679
|
* Background color and other various Props,
|
|
1680
1680
|
* you can see Chip Documentation api that I mentioned below [here](https://mui.com/material-ui/api/chip)
|
|
@@ -2148,6 +2148,7 @@ var Input = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
|
2148
2148
|
//
|
|
2149
2149
|
var _useTheme = useTheme(),
|
|
2150
2150
|
mode = _useTheme.palette.mode;
|
|
2151
|
+
var isDark = mode === 'dark';
|
|
2151
2152
|
var _ref2 = props || {},
|
|
2152
2153
|
title = _ref2.title,
|
|
2153
2154
|
helperTextEndAdornment = _ref2.helperTextEndAdornment,
|
|
@@ -2160,7 +2161,9 @@ var Input = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
|
2160
2161
|
onChange = _ref2.onChange,
|
|
2161
2162
|
valueFormat = _ref2.valueFormat,
|
|
2162
2163
|
valueFormatOption = _ref2.valueFormatOption,
|
|
2163
|
-
fullWidth = _ref2.fullWidth
|
|
2164
|
+
fullWidth = _ref2.fullWidth,
|
|
2165
|
+
fill = _ref2.fill;
|
|
2166
|
+
var effectiveFill = isDark ? false : fill;
|
|
2164
2167
|
if (!valueFormat && !!valueFormatOption) {
|
|
2165
2168
|
console.warn("'valueFormatOption' Only Work With known 'valueFormat's...");
|
|
2166
2169
|
}
|
|
@@ -2189,6 +2192,7 @@ var Input = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
|
2189
2192
|
}, titleProps), title), React__default.createElement(MuiInputStyled, Object.assign({
|
|
2190
2193
|
ref: ref
|
|
2191
2194
|
}, props, {
|
|
2195
|
+
fill: effectiveFill,
|
|
2192
2196
|
value: valueFormat ? _valueFormatHandler(value) : value,
|
|
2193
2197
|
onChange: valueFormat ? _onChangeFormatHandler : onChange
|
|
2194
2198
|
})), helperText && React__default.createElement(Stack, {
|
|
@@ -3842,7 +3846,7 @@ var RabexLightPalette = /*#__PURE__*/_extends({}, base, {
|
|
|
3842
3846
|
400: '#A6B0C3',
|
|
3843
3847
|
300: '#CFD6E4',
|
|
3844
3848
|
200: '#EFF2F5',
|
|
3845
|
-
100: '#
|
|
3849
|
+
100: '#F5F6F7',
|
|
3846
3850
|
50: '#FFFFFF',
|
|
3847
3851
|
main: '#222531',
|
|
3848
3852
|
A100: '#222531',
|
|
@@ -4020,7 +4024,7 @@ var RabexDarkPalette = /*#__PURE__*/_extends({}, base, {
|
|
|
4020
4024
|
600: '#58667E',
|
|
4021
4025
|
500: '#808A9D',
|
|
4022
4026
|
400: '#A6B0C3',
|
|
4023
|
-
300: '#
|
|
4027
|
+
300: '#333B47',
|
|
4024
4028
|
200: '#0D1421',
|
|
4025
4029
|
100: '#1F293C',
|
|
4026
4030
|
50: '#1A2232',
|
|
@@ -4282,7 +4286,7 @@ var colorModeConfig = function colorModeConfig(theme) {
|
|
|
4282
4286
|
},
|
|
4283
4287
|
light: {
|
|
4284
4288
|
color: theme.palette.textColor[900],
|
|
4285
|
-
backgroundColor: theme.palette.warning[50],
|
|
4289
|
+
backgroundColor: theme.palette.mode === 'light' ? theme.palette.warning[50] : colorManipulator_js.alpha(theme.palette.warning[50], 0.5),
|
|
4286
4290
|
border: "1px solid " + theme.palette.warning[200]
|
|
4287
4291
|
}
|
|
4288
4292
|
},
|
|
@@ -4293,7 +4297,7 @@ var colorModeConfig = function colorModeConfig(theme) {
|
|
|
4293
4297
|
},
|
|
4294
4298
|
light: {
|
|
4295
4299
|
color: theme.palette.primary[500],
|
|
4296
|
-
backgroundColor: theme.palette.info[50],
|
|
4300
|
+
backgroundColor: theme.palette.mode === 'light' ? theme.palette.info[50] : colorManipulator_js.alpha(theme.palette.info(50), 0.5),
|
|
4297
4301
|
border: "1px solid " + theme.palette.info[200]
|
|
4298
4302
|
}
|
|
4299
4303
|
},
|
|
@@ -4304,7 +4308,7 @@ var colorModeConfig = function colorModeConfig(theme) {
|
|
|
4304
4308
|
},
|
|
4305
4309
|
light: {
|
|
4306
4310
|
color: theme.palette.primary[500],
|
|
4307
|
-
backgroundColor: theme.palette.info[50],
|
|
4311
|
+
backgroundColor: theme.palette.mode === 'light' ? theme.palette.info[50] : colorManipulator_js.alpha(theme.palette.info[50], 0.5),
|
|
4308
4312
|
border: "1px solid " + theme.palette.info[200]
|
|
4309
4313
|
}
|
|
4310
4314
|
},
|
|
@@ -4315,7 +4319,7 @@ var colorModeConfig = function colorModeConfig(theme) {
|
|
|
4315
4319
|
},
|
|
4316
4320
|
light: {
|
|
4317
4321
|
color: theme.palette.error[400],
|
|
4318
|
-
backgroundColor: theme.palette.error[50],
|
|
4322
|
+
backgroundColor: theme.palette.mode === 'light' ? theme.palette.error[50] : colorManipulator_js.alpha(theme.palette.error[50], 0.5),
|
|
4319
4323
|
border: "1px solid " + theme.palette.error[200]
|
|
4320
4324
|
}
|
|
4321
4325
|
},
|
|
@@ -4326,7 +4330,7 @@ var colorModeConfig = function colorModeConfig(theme) {
|
|
|
4326
4330
|
},
|
|
4327
4331
|
light: {
|
|
4328
4332
|
color: theme.palette.success[400],
|
|
4329
|
-
backgroundColor: theme.palette.success[50],
|
|
4333
|
+
backgroundColor: theme.palette.mode === 'light' ? theme.palette.success[50] : colorManipulator_js.alpha(theme.palette.success[50], 0.5),
|
|
4330
4334
|
border: "1px solid " + theme.palette.success[200]
|
|
4331
4335
|
}
|
|
4332
4336
|
}
|