@learningpool/ui 1.3.0 → 1.4.0-beta.11
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/{license → LICENSE} +0 -0
- package/{readme.md → README.md} +9 -8
- package/assets/Images.d.ts +9 -0
- package/assets/Images.js +16 -0
- package/components/atoms/Autocomplete/Autocomplete.js +1 -2
- package/components/atoms/Button/Button.d.ts +2 -2
- package/components/atoms/Button/Button.js +1 -2
- package/components/atoms/Checkbox/Checkbox.js +1 -2
- package/components/atoms/IconButton/IconButton.js +1 -2
- package/components/atoms/Radio/Radio.js +1 -2
- package/components/atoms/Select/Select.js +1 -2
- package/components/atoms/Slider/Slider.js +1 -2
- package/components/atoms/Switch/Switch.js +1 -2
- package/components/atoms/TextField/TextField.js +1 -2
- package/components/atoms/ToggleButton/ToggleButton.js +1 -2
- package/components/datadisplay/Avatar/Avatar.js +16 -2
- package/components/datadisplay/Chip/Chip.js +1 -2
- package/components/datadisplay/List/List.js +1 -2
- package/components/datadisplay/Tooltip/Tooltip.js +1 -2
- package/components/feedback/Alert/Alert.js +1 -2
- package/components/navigation/Drawer/Drawer.d.ts +4 -1
- package/components/navigation/Drawer/Drawer.js +21 -2
- package/components/navigation/VerticalNavigation/VerticalNavigation.d.ts +18 -0
- package/components/navigation/VerticalNavigation/VerticalNavigation.js +140 -0
- package/components/navigation/VerticalNavigation/VerticalNavigationStyles.d.ts +147 -0
- package/components/navigation/VerticalNavigation/VerticalNavigationStyles.js +275 -0
- package/components/pages/ErrorPage/ErrorPage.d.ts +8 -0
- package/components/pages/ErrorPage/ErrorPage.js +27 -0
- package/components/pages/ErrorPage/ErrorPageStyles.d.ts +27 -0
- package/components/pages/ErrorPage/ErrorPageStyles.js +32 -0
- package/components/pages/SideInSide/SideInSide.d.ts +2 -0
- package/components/pages/SideInSide/SideInSide.js +39 -0
- package/components/pages/SideInSide/SideInSideStyles.d.ts +12 -0
- package/components/pages/SideInSide/SideInSideStyles.js +60 -0
- package/index.d.ts +122 -4
- package/index.js +134 -6
- package/package.json +13 -80
- package/utils/theme.d.ts +6 -0
- package/utils/theme.js +18 -2
- package/components/atoms/Autocomplete/AutocompleteStyles.d.ts +0 -7
- package/components/atoms/Autocomplete/AutocompleteStyles.js +0 -2
- package/components/atoms/Button/ButtonStyles.d.ts +0 -7
- package/components/atoms/Button/ButtonStyles.js +0 -2
- package/components/atoms/Checkbox/CheckboxStyles.d.ts +0 -7
- package/components/atoms/Checkbox/CheckboxStyles.js +0 -2
- package/components/atoms/IconButton/IconButtonStyles.d.ts +0 -7
- package/components/atoms/IconButton/IconButtonStyles.js +0 -2
- package/components/atoms/Radio/RadioStyles.d.ts +0 -7
- package/components/atoms/Radio/RadioStyles.js +0 -2
- package/components/atoms/Select/SelectStyles.d.ts +0 -7
- package/components/atoms/Select/SelectStyles.js +0 -2
- package/components/atoms/Slider/SliderStyles.d.ts +0 -7
- package/components/atoms/Slider/SliderStyles.js +0 -2
- package/components/atoms/Switch/SwitchStyles.d.ts +0 -7
- package/components/atoms/Switch/SwitchStyles.js +0 -2
- package/components/atoms/TextField/TextFieldStyles.d.ts +0 -7
- package/components/atoms/TextField/TextFieldStyles.js +0 -2
- package/components/atoms/ToggleButton/ToggleButtonStyles.d.ts +0 -7
- package/components/atoms/ToggleButton/ToggleButtonStyles.js +0 -2
- package/components/datadisplay/Avatar/AvatarStyles.d.ts +0 -7
- package/components/datadisplay/Avatar/AvatarStyles.js +0 -14
- package/components/datadisplay/Chip/ChipStyles.d.ts +0 -7
- package/components/datadisplay/Chip/ChipStyles.js +0 -2
- package/components/datadisplay/List/ListStyles.d.ts +0 -7
- package/components/datadisplay/List/ListStyles.js +0 -2
- package/components/datadisplay/Tooltip/TooltipStyles.d.ts +0 -7
- package/components/datadisplay/Tooltip/TooltipStyles.js +0 -2
- package/components/feedback/Alert/AlertStyles.d.ts +0 -7
- package/components/feedback/Alert/AlertStyles.js +0 -2
- package/components/index.d.ts +0 -1
- package/components/index.js +0 -3
- package/components/navigation/Drawer/DrawerStyles.d.ts +0 -7
- package/components/navigation/Drawer/DrawerStyles.js +0 -2
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { makeStyles } from 'tss-react/mui';
|
|
2
|
-
export var AvatarStyles = makeStyles()(function (theme, props) {
|
|
3
|
-
var _a, _b, _c;
|
|
4
|
-
return ({
|
|
5
|
-
root: {
|
|
6
|
-
backgroundColor: ((_a = props === null || props === void 0 ? void 0 : props.sx) === null || _a === void 0 ? void 0 : _a.bgcolor)
|
|
7
|
-
? props.sx.bgcolor
|
|
8
|
-
: theme.palette.primary.main,
|
|
9
|
-
color: ((_b = props === null || props === void 0 ? void 0 : props.sx) === null || _b === void 0 ? void 0 : _b.bgcolor)
|
|
10
|
-
? (_c = props.sx.color) !== null && _c !== void 0 ? _c : theme.palette.getContrastText(props.sx.bgcolor)
|
|
11
|
-
: theme.palette.primary.contrastText
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
});
|
package/components/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Button } from './atoms/Button/Button';
|
package/components/index.js
DELETED