elseware-ui 2.8.1 → 2.9.1

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 (64) hide show
  1. package/build/components/data-display/avatar/Avatar.d.ts +0 -1
  2. package/build/components/data-display/badge/Badge.d.ts +0 -1
  3. package/build/components/data-display/banners/TitleBanner.d.ts +0 -1
  4. package/build/components/data-display/charts/BarChart.d.ts +0 -1
  5. package/build/components/data-display/charts/LineChart.d.ts +0 -1
  6. package/build/components/data-display/charts/PieChart.d.ts +0 -1
  7. package/build/components/data-display/info/Info.d.ts +0 -1
  8. package/build/components/data-display/lists/List.d.ts +0 -1
  9. package/build/components/data-display/lists/ListItem.d.ts +0 -1
  10. package/build/components/data-entry/button/Button.d.ts +0 -1
  11. package/build/components/data-entry/form/Form.d.ts +0 -1
  12. package/build/components/data-entry/image-input/ImageInput.d.ts +0 -1
  13. package/build/components/data-entry/input/input-label/InputLabel.d.ts +0 -1
  14. package/build/components/feedback/backdrop/Backdrop.d.ts +0 -1
  15. package/build/components/feedback/skeleton/Skeleton.d.ts +0 -1
  16. package/build/components/feedback/transition/TransitionDropdown.d.ts +0 -1
  17. package/build/components/feedback/transition/TransitionFadeIn.d.ts +0 -1
  18. package/build/components/general/content-area/ContentArea.d.ts +0 -1
  19. package/build/components/layout/flex/FlexCol.d.ts +0 -1
  20. package/build/components/layout/flex/FlexRow.d.ts +0 -1
  21. package/build/components/layout/grid/Grid.d.ts +0 -1
  22. package/build/components/layout/layout/Content.d.ts +0 -1
  23. package/build/components/layout/layout/Footer.d.ts +0 -1
  24. package/build/components/layout/layout/Header.d.ts +0 -1
  25. package/build/components/layout/layout/Layout.d.ts +0 -1
  26. package/build/components/markdown/editor/MarkdownEditor.d.ts +7 -0
  27. package/build/components/markdown/viewer/MarkdownViewer.d.ts +6 -0
  28. package/build/components/navigation/drawer/Drawer.d.ts +0 -1
  29. package/build/components/navigation/drawer/DrawerToggler.d.ts +0 -1
  30. package/build/components/navigation/footer-nav/FooterNav.d.ts +0 -1
  31. package/build/components/navigation/footer-nav/FooterNavGroup.d.ts +0 -1
  32. package/build/components/navigation/footer-nav/FooterNavItem.d.ts +0 -1
  33. package/build/components/navigation/footer-nav/FooterNavItemContext.d.ts +0 -1
  34. package/build/components/navigation/footer-nav/FooterNavItemTitle.d.ts +0 -1
  35. package/build/components/navigation/header-nav/HeaderNav.d.ts +0 -1
  36. package/build/components/navigation/header-nav/HeaderNavGroup.d.ts +0 -1
  37. package/build/components/navigation/header-nav/HeaderNavItem.d.ts +0 -1
  38. package/build/components/navigation/header-nav/HeaderNavItemContext.d.ts +0 -1
  39. package/build/components/navigation/header-nav/HeaderNavItemTitle.d.ts +0 -1
  40. package/build/components/navigation/menu/MIContext.d.ts +0 -1
  41. package/build/components/navigation/menu/Menu.d.ts +0 -1
  42. package/build/components/navigation/menu/MenuGroup.d.ts +0 -1
  43. package/build/components/navigation/menu/MenuItem.d.ts +0 -1
  44. package/build/components/navigation/menu/MenuItemTitle.d.ts +0 -1
  45. package/build/components/navigation/route-tabs/RouteTabs.d.ts +1 -1
  46. package/build/components/other/modal/Modal.d.ts +0 -1
  47. package/build/components/surfaces/accordion/Accordion.d.ts +0 -1
  48. package/build/components/surfaces/card/Card.d.ts +0 -1
  49. package/build/components/surfaces/card/CardContent.d.ts +0 -1
  50. package/build/components/surfaces/card/CardFooter.d.ts +0 -1
  51. package/build/components/surfaces/card/CardHeader.d.ts +0 -1
  52. package/build/components/theme/ThemeContext.d.ts +0 -1
  53. package/build/components/utils/AsyncComponentWrapper.d.ts +0 -1
  54. package/build/index.d.ts +3 -1
  55. package/build/index.es.js +56388 -9967
  56. package/build/index.js +56390 -9967
  57. package/build/layouts/DefaultLayout.d.ts +0 -1
  58. package/build/layouts/GenericLayout.d.ts +0 -1
  59. package/build/layouts/primary/DefaultLayout.d.ts +0 -1
  60. package/build/layouts/primary/HomeLayout.d.ts +0 -1
  61. package/build/layouts/primary/SidebarLayout.d.ts +0 -1
  62. package/build/layouts/secondary/SidemenuLayout.d.ts +0 -1
  63. package/build/utils/hooks/useClickOutside.d.ts +0 -1
  64. package/package.json +9 -7
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { ReactNode } from "react";
3
2
  declare function DefaultLayout({ children }: {
4
3
  children: ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { ReactNode } from "react";
3
2
  export interface GenericLayoutProps {
4
3
  children?: ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { ReactNode } from "react";
3
2
  export interface DefaultLayoutProps {
4
3
  children?: ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { ReactNode } from "react";
3
2
  export interface HomeLayoutProps {
4
3
  children?: ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { ReactNode } from "react";
3
2
  export interface SidebarLayoutProps {
4
3
  children?: ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { ReactNode } from "react";
3
2
  export interface SidemenuLayoutProps {
4
3
  data?: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { MutableRefObject } from "react";
3
2
  type ClickOutsideCallback = () => void;
4
3
  export default function useClickOutside(ref: MutableRefObject<HTMLElement | null>, fun?: ClickOutsideCallback): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elseware-ui",
3
- "version": "2.8.1",
3
+ "version": "2.9.1",
4
4
  "private": false,
5
5
  "description": "A modern and customizable React UI component library by elseware Technology.",
6
6
  "types": "build/index.d.ts",
@@ -12,8 +12,7 @@
12
12
  ],
13
13
  "dependencies": {
14
14
  "@headlessui/react": "^2.1.8",
15
- "@types/jest": "^27.5.2",
16
- "@types/node": "^16.18.69",
15
+ "@mdxeditor/editor": "^3.36.0",
17
16
  "autoprefixer": "^10.4.16",
18
17
  "chart.js": "^4.4.4",
19
18
  "classnames": "^2.5.1",
@@ -28,10 +27,6 @@
28
27
  "react-icons": "^4.12.0",
29
28
  "react-scripts": "5.0.1",
30
29
  "react-toastify": "^10.0.5",
31
- "rollup": "^2.34.2",
32
- "rollup-plugin-peer-deps-external": "^2.2.4",
33
- "rollup-plugin-postcss": "^4.0.2",
34
- "rollup-plugin-typescript2": "^0.36.0",
35
30
  "tailwindcss": "^3.4.1",
36
31
  "typescript": "^4.9.5",
37
32
  "yup": "^1.3.3"
@@ -63,6 +58,7 @@
63
58
  },
64
59
  "devDependencies": {
65
60
  "@rollup/plugin-commonjs": "^17.0.0",
61
+ "@rollup/plugin-json": "^6.1.0",
66
62
  "@rollup/plugin-node-resolve": "^11.0.0",
67
63
  "@rollup/plugin-typescript": "^11.1.5",
68
64
  "@storybook/addon-essentials": "^8.5.0",
@@ -74,13 +70,19 @@
74
70
  "@storybook/react": "^8.5.0",
75
71
  "@storybook/react-webpack5": "^8.5.0",
76
72
  "@storybook/test": "^8.5.0",
73
+ "@types/jest": "^30.0.0",
74
+ "@types/node": "^24.0.3",
77
75
  "@types/react": "^19.0.10",
78
76
  "@types/react-beautiful-dnd": "^13.1.8",
79
77
  "@types/react-chartjs-2": "^2.5.7",
80
78
  "@types/react-dom": "^19.0.4",
81
79
  "eslint-plugin-storybook": "^0.11.2",
82
80
  "prop-types": "^15.8.1",
81
+ "rollup": "^2.79.2",
82
+ "rollup-plugin-peer-deps-external": "^2.2.4",
83
+ "rollup-plugin-postcss": "^4.0.2",
83
84
  "rollup-plugin-terser": "^7.0.2",
85
+ "rollup-plugin-typescript2": "^0.36.0",
84
86
  "storybook": "^8.5.0",
85
87
  "tslib": "^2.6.2",
86
88
  "webpack": "^5.89.0"