@rabex-kit/rabex-ui 0.2.39 → 0.2.41
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/Theme/Skeleton/index.d.ts +23 -0
- package/dist/rabex-ui.cjs.development.js +29 -2
- 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 +29 -2
- package/dist/rabex-ui.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/rabex-ui.esm.js
CHANGED
|
@@ -1960,7 +1960,9 @@ var Skeleton = function Skeleton(_ref) {
|
|
|
1960
1960
|
var _useTheme = useTheme$1(),
|
|
1961
1961
|
palette = _useTheme.palette;
|
|
1962
1962
|
return React.createElement(MuiSkeleton, Object.assign({
|
|
1963
|
-
|
|
1963
|
+
sx: {
|
|
1964
|
+
bgcolor: palette.secondary[500]
|
|
1965
|
+
}
|
|
1964
1966
|
}, props));
|
|
1965
1967
|
};
|
|
1966
1968
|
|
|
@@ -5173,6 +5175,30 @@ var RabexAutocomplete = {
|
|
|
5173
5175
|
components: components$9
|
|
5174
5176
|
};
|
|
5175
5177
|
|
|
5178
|
+
var components$a = {
|
|
5179
|
+
styleOverrides: {
|
|
5180
|
+
root: function root(_ref) {
|
|
5181
|
+
var theme = _ref.theme,
|
|
5182
|
+
ownerState = _ref.ownerState;
|
|
5183
|
+
return _extends({
|
|
5184
|
+
backgroundColor: theme.palette.secondary[500]
|
|
5185
|
+
}, ownerState.variant === 'rectangular' && {
|
|
5186
|
+
borderRadius: '8px'
|
|
5187
|
+
}, {
|
|
5188
|
+
'&::after': {
|
|
5189
|
+
background: "linear-gradient(90deg, transparent, " + theme.palette.secondary[500] + ", transparent)",
|
|
5190
|
+
animationDuration: '1.5s',
|
|
5191
|
+
animationTimingFunction: 'ease-in-out',
|
|
5192
|
+
animationIterationCount: 'infinite'
|
|
5193
|
+
}
|
|
5194
|
+
});
|
|
5195
|
+
}
|
|
5196
|
+
}
|
|
5197
|
+
};
|
|
5198
|
+
var RabexSkeleton = {
|
|
5199
|
+
components: components$a
|
|
5200
|
+
};
|
|
5201
|
+
|
|
5176
5202
|
var getDesignTokens = function getDesignTokens(_ref) {
|
|
5177
5203
|
var deviceType = _ref.deviceType,
|
|
5178
5204
|
_ref$mode = _ref.mode,
|
|
@@ -5235,7 +5261,8 @@ var getDesignTokens = function getDesignTokens(_ref) {
|
|
|
5235
5261
|
MuiPaginationItem: RabexPaginationItem.components,
|
|
5236
5262
|
MuiGrid: RabexGrid.components,
|
|
5237
5263
|
MuiLoadingButton: RabexLoadingButton.components,
|
|
5238
|
-
MuiAutocomplete: RabexAutocomplete.components
|
|
5264
|
+
MuiAutocomplete: RabexAutocomplete.components,
|
|
5265
|
+
MuiSkeleton: RabexSkeleton.components
|
|
5239
5266
|
}),
|
|
5240
5267
|
palette: _extends({}, mode === 'light' ? createPalette(RabexLightPalette) : createPalette(RabexDarkPalette)),
|
|
5241
5268
|
typography: RabexTypography.typography,
|