@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.
Files changed (73) hide show
  1. package/{license → LICENSE} +0 -0
  2. package/{readme.md → README.md} +9 -8
  3. package/assets/Images.d.ts +9 -0
  4. package/assets/Images.js +16 -0
  5. package/components/atoms/Autocomplete/Autocomplete.js +1 -2
  6. package/components/atoms/Button/Button.d.ts +2 -2
  7. package/components/atoms/Button/Button.js +1 -2
  8. package/components/atoms/Checkbox/Checkbox.js +1 -2
  9. package/components/atoms/IconButton/IconButton.js +1 -2
  10. package/components/atoms/Radio/Radio.js +1 -2
  11. package/components/atoms/Select/Select.js +1 -2
  12. package/components/atoms/Slider/Slider.js +1 -2
  13. package/components/atoms/Switch/Switch.js +1 -2
  14. package/components/atoms/TextField/TextField.js +1 -2
  15. package/components/atoms/ToggleButton/ToggleButton.js +1 -2
  16. package/components/datadisplay/Avatar/Avatar.js +16 -2
  17. package/components/datadisplay/Chip/Chip.js +1 -2
  18. package/components/datadisplay/List/List.js +1 -2
  19. package/components/datadisplay/Tooltip/Tooltip.js +1 -2
  20. package/components/feedback/Alert/Alert.js +1 -2
  21. package/components/navigation/Drawer/Drawer.d.ts +4 -1
  22. package/components/navigation/Drawer/Drawer.js +21 -2
  23. package/components/navigation/VerticalNavigation/VerticalNavigation.d.ts +18 -0
  24. package/components/navigation/VerticalNavigation/VerticalNavigation.js +140 -0
  25. package/components/navigation/VerticalNavigation/VerticalNavigationStyles.d.ts +147 -0
  26. package/components/navigation/VerticalNavigation/VerticalNavigationStyles.js +275 -0
  27. package/components/pages/ErrorPage/ErrorPage.d.ts +8 -0
  28. package/components/pages/ErrorPage/ErrorPage.js +27 -0
  29. package/components/pages/ErrorPage/ErrorPageStyles.d.ts +27 -0
  30. package/components/pages/ErrorPage/ErrorPageStyles.js +32 -0
  31. package/components/pages/SideInSide/SideInSide.d.ts +2 -0
  32. package/components/pages/SideInSide/SideInSide.js +39 -0
  33. package/components/pages/SideInSide/SideInSideStyles.d.ts +12 -0
  34. package/components/pages/SideInSide/SideInSideStyles.js +60 -0
  35. package/index.d.ts +122 -4
  36. package/index.js +134 -6
  37. package/package.json +13 -80
  38. package/utils/theme.d.ts +6 -0
  39. package/utils/theme.js +18 -2
  40. package/components/atoms/Autocomplete/AutocompleteStyles.d.ts +0 -7
  41. package/components/atoms/Autocomplete/AutocompleteStyles.js +0 -2
  42. package/components/atoms/Button/ButtonStyles.d.ts +0 -7
  43. package/components/atoms/Button/ButtonStyles.js +0 -2
  44. package/components/atoms/Checkbox/CheckboxStyles.d.ts +0 -7
  45. package/components/atoms/Checkbox/CheckboxStyles.js +0 -2
  46. package/components/atoms/IconButton/IconButtonStyles.d.ts +0 -7
  47. package/components/atoms/IconButton/IconButtonStyles.js +0 -2
  48. package/components/atoms/Radio/RadioStyles.d.ts +0 -7
  49. package/components/atoms/Radio/RadioStyles.js +0 -2
  50. package/components/atoms/Select/SelectStyles.d.ts +0 -7
  51. package/components/atoms/Select/SelectStyles.js +0 -2
  52. package/components/atoms/Slider/SliderStyles.d.ts +0 -7
  53. package/components/atoms/Slider/SliderStyles.js +0 -2
  54. package/components/atoms/Switch/SwitchStyles.d.ts +0 -7
  55. package/components/atoms/Switch/SwitchStyles.js +0 -2
  56. package/components/atoms/TextField/TextFieldStyles.d.ts +0 -7
  57. package/components/atoms/TextField/TextFieldStyles.js +0 -2
  58. package/components/atoms/ToggleButton/ToggleButtonStyles.d.ts +0 -7
  59. package/components/atoms/ToggleButton/ToggleButtonStyles.js +0 -2
  60. package/components/datadisplay/Avatar/AvatarStyles.d.ts +0 -7
  61. package/components/datadisplay/Avatar/AvatarStyles.js +0 -14
  62. package/components/datadisplay/Chip/ChipStyles.d.ts +0 -7
  63. package/components/datadisplay/Chip/ChipStyles.js +0 -2
  64. package/components/datadisplay/List/ListStyles.d.ts +0 -7
  65. package/components/datadisplay/List/ListStyles.js +0 -2
  66. package/components/datadisplay/Tooltip/TooltipStyles.d.ts +0 -7
  67. package/components/datadisplay/Tooltip/TooltipStyles.js +0 -2
  68. package/components/feedback/Alert/AlertStyles.d.ts +0 -7
  69. package/components/feedback/Alert/AlertStyles.js +0 -2
  70. package/components/index.d.ts +0 -1
  71. package/components/index.js +0 -3
  72. package/components/navigation/Drawer/DrawerStyles.d.ts +0 -7
  73. package/components/navigation/Drawer/DrawerStyles.js +0 -2
@@ -1,7 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- export declare const ToggleButtonStyles: (params: void) => {
3
- classes: Record<never, string>;
4
- theme: Theme;
5
- css: import("tss-react").Css;
6
- cx: import("tss-react").Cx;
7
- };
@@ -1,2 +0,0 @@
1
- import { makeStyles } from 'tss-react/mui';
2
- export var ToggleButtonStyles = makeStyles()(function (theme) { return ({}); });
@@ -1,7 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- export declare const AvatarStyles: (params: void) => {
3
- classes: Record<"root", string>;
4
- theme: Theme;
5
- css: import("tss-react").Css;
6
- cx: import("tss-react").Cx;
7
- };
@@ -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
- });
@@ -1,7 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- export declare const ChipStyles: (params: void) => {
3
- classes: Record<never, string>;
4
- theme: Theme;
5
- css: import("tss-react").Css;
6
- cx: import("tss-react").Cx;
7
- };
@@ -1,2 +0,0 @@
1
- import { makeStyles } from 'tss-react/mui';
2
- export var ChipStyles = makeStyles()(function (theme) { return ({}); });
@@ -1,7 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- export declare const ListStyles: (params: void) => {
3
- classes: Record<never, string>;
4
- theme: Theme;
5
- css: import("tss-react").Css;
6
- cx: import("tss-react").Cx;
7
- };
@@ -1,2 +0,0 @@
1
- import { makeStyles } from 'tss-react/mui';
2
- export var ListStyles = makeStyles()(function (theme) { return ({}); });
@@ -1,7 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- export declare const TooltipStyles: (params: void) => {
3
- classes: Record<never, string>;
4
- theme: Theme;
5
- css: import("tss-react").Css;
6
- cx: import("tss-react").Cx;
7
- };
@@ -1,2 +0,0 @@
1
- import { makeStyles } from 'tss-react/mui';
2
- export var TooltipStyles = makeStyles()(function (theme) { return ({}); });
@@ -1,7 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- export declare const AlertStyles: (params: void) => {
3
- classes: Record<never, string>;
4
- theme: Theme;
5
- css: import("tss-react").Css;
6
- cx: import("tss-react").Cx;
7
- };
@@ -1,2 +0,0 @@
1
- import { makeStyles } from 'tss-react/mui';
2
- export var AlertStyles = makeStyles()(function (theme) { return ({}); });
@@ -1 +0,0 @@
1
- export { default as Button } from './atoms/Button/Button';
@@ -1,3 +0,0 @@
1
- /* Export */
2
- /* Atoms */
3
- export { default as Button } from './atoms/Button/Button';
@@ -1,7 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- export declare const DrawerStyles: (params: void) => {
3
- classes: Record<never, string>;
4
- theme: Theme;
5
- css: import("tss-react").Css;
6
- cx: import("tss-react").Cx;
7
- };
@@ -1,2 +0,0 @@
1
- import { makeStyles } from 'tss-react/mui';
2
- export var DrawerStyles = makeStyles()(function (theme) { return ({}); });