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
  import { Variant, Shape, Size } from "../../../data/enums";
4
3
  export interface AvatarProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { ReactNode } from "react";
3
2
  import { Variant, Shape, Size } from "../../../data/enums";
4
3
  export interface BadgeProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { ReactNode } from "react";
3
2
  export interface TitleBannerLevel1Props {
4
3
  title: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  import { ChartOptions, ChartData } from "chart.js";
4
3
  export interface BarChartProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from 'react';
3
2
  import { ChartData, ChartOptions } from 'chart.js';
4
3
  export interface LineChartProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  import { ChartData, ChartOptions } from "chart.js";
4
3
  export interface PieChartProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { ReactNode } from "react";
3
2
  export interface InfoProps {
4
3
  children?: ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { ReactNode } from "react";
3
2
  export interface ListProps {
4
3
  title?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { ReactNode } from "react";
3
2
  export interface ListItemWrapperProps {
4
3
  TypographyComponent: ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { ReactNode } from "react";
3
2
  import { Variant, Shape, Size } from "../../../data/enums";
4
3
  export interface ButtonProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface FormProps {
4
3
  initialValues?: object;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface ImageInputProps {
4
3
  title?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface FormDataEntryLabelProps {
4
3
  text?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface BackdropProps {
4
3
  children?: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface SkeletonProps {
4
3
  children?: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { ReactNode } from "react";
3
2
  export interface TransitionDropdownProps {
4
3
  visibility: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { ReactNode } from "react";
3
2
  export interface TransitionDropdownProps {
4
3
  visibility: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { ReactNode } from "react";
3
2
  export interface ContentAreaProps {
4
3
  children?: ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface FlexColProps {
4
3
  children?: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface FlexColProps {
4
3
  children?: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface GridProps {
4
3
  children?: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface ContentProps {
4
3
  children?: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface FooterProps {
4
3
  children?: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface HeaderProps {
4
3
  position?: "static" | "fixed" | "sticky";
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface LayoutProps {
4
3
  flexDirection?: "vertical" | "horizontal";
@@ -0,0 +1,7 @@
1
+ import "@mdxeditor/editor/style.css";
2
+ interface MarkdownEditorProps {
3
+ value: string;
4
+ onChange: (value: string) => void;
5
+ }
6
+ declare function MarkdownEditor({ value, onChange }: MarkdownEditorProps): import("react/jsx-runtime").JSX.Element;
7
+ export default MarkdownEditor;
@@ -0,0 +1,6 @@
1
+ import "@mdxeditor/editor/style.css";
2
+ interface MarkdownViewerProps {
3
+ value: string;
4
+ }
5
+ declare function MarkdownViewer({ value }: MarkdownViewerProps): import("react/jsx-runtime").JSX.Element;
6
+ export default MarkdownViewer;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface DrawerProps {
4
3
  children?: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { ReactNode } from "react";
3
2
  export interface DrawerTogglerProps {
4
3
  icon?: ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  interface I_FooterNavItem {
4
3
  component: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface FooterNavGroupProps {
4
3
  icon?: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface FooterNavItemProps {
4
3
  icon?: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface FooterNavItemContextProps {
4
3
  icon?: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface FooterNavItemTitleProps {
4
3
  icon?: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  interface I_HeaderNavItem {
4
3
  component: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface HeaderNavGroupProps {
4
3
  icon?: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface HeaderNavItemProps {
4
3
  icon?: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface HeaderNavItemContextProps {
4
3
  icon?: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface HeaderNavItemTitleProps {
4
3
  icon?: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface MIContextProps {
4
3
  icon?: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  interface I_MenuItem {
4
3
  component: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface MenuGroupProps {
4
3
  icon?: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface ContentProps {
4
3
  icon?: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface MenuItemTitleProps {
4
3
  icon?: React.ReactNode;
@@ -1,4 +1,4 @@
1
- /// <reference types="@types/react" />
1
+ /// <reference types="react" />
2
2
  interface NavItem {
3
3
  name: string;
4
4
  to: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface ModalProps {
4
3
  title: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { ReactNode } from "react";
3
2
  export interface AccordionProps {
4
3
  summary?: ReactNode | string;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { ReactNode } from "react";
3
2
  export interface CardProps {
4
3
  children?: ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { ReactNode } from "react";
3
2
  export interface CardContentProps {
4
3
  children?: ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { ReactNode } from "react";
3
2
  export interface CardFooterProps {
4
3
  children?: ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import { ReactNode } from "react";
3
2
  export interface CardHeaderProps {
4
3
  avatar?: ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React, { ReactNode } from "react";
3
2
  interface ThemeContextProps {
4
3
  theme: "light" | "dark";
@@ -1,4 +1,3 @@
1
- /// <reference types="@types/react" />
2
1
  import React from "react";
3
2
  export interface AsyncComponentWrapperProps {
4
3
  children: React.ReactNode;
package/build/index.d.ts CHANGED
@@ -39,6 +39,8 @@ import { Sidebar } from "./components/general/sidebar";
39
39
  import { Flex, FlexCol, FlexRow } from "./components/layout/flex";
40
40
  import Grid from "./components/layout/grid/Grid";
41
41
  import { Layout, Header, Content, Footer } from "./components/layout/layout";
42
+ import MarkdownEditor from "./components/markdown/editor/MarkdownEditor";
43
+ import MarkdownViewer from "./components/markdown/viewer/MarkdownViewer";
42
44
  import { Breadcrumb, BreadcrumbItem } from "./components/navigation/breadcrumb";
43
45
  import { Drawer } from "./components/navigation/drawer/Drawer";
44
46
  import DrawerToggler from "./components/navigation/drawer/DrawerToggler";
@@ -59,4 +61,4 @@ import useModal from "./utils/hooks/components/useModal";
59
61
  import useDrawer from "./utils/hooks/components/useDrawer";
60
62
  import useClickOutside from "./utils/hooks/useClickOutside";
61
63
  import useIsMobile from "./utils/hooks/useIsMobile";
62
- export { Avatar, Badge, TitleBanner, Brand, BarChart, LineChart, PieChart, Chip, Image, CloudinaryImage, Info, List, ListItem, PriceTag, StarRating, StarRatingDistribution, Slider, Table, Tag, Typography, Chapter, Section, Paragraph, Quote, YoutubeVideoPlayer, Button, Checkbox, DateSelector, Form, FormResponse, ImageInput, InputResponse, InputLabel, Input, InputFile, InputList, InputListGroup, MultiImageInput, Radio, StarRatingInput, Select, Switch, TextArea, Backdrop, Skeleton, Toast, sendToast, Transition, ContentArea, Sidebar, Flex, FlexCol, FlexRow, Grid, Layout, Header, Content, Footer, Breadcrumb, BreadcrumbItem, Drawer, DrawerToggler, FooterNav, FooterNavGroup, FooterNavItem, FooterNavItemTitle, FooterNavItemContext, HeaderNav, HeaderNavGroup, HeaderNavItem, HeaderNavItemTitle, HeaderNavItemContext, Link, Menu, MenuGroup, MenuItem, MenuItemTitle, RouteTab, RouteTabs, Modal, Accordion, Card, CardHeader, CardContent, CardFooter, ThemeContext, ThemeProvider, ThemeSwitch, AsyncComponentWrapper, ShowMore, useModal, useDrawer, useClickOutside, useIsMobile, };
64
+ export { Avatar, Badge, TitleBanner, Brand, BarChart, LineChart, PieChart, Chip, Image, CloudinaryImage, Info, List, ListItem, PriceTag, StarRating, StarRatingDistribution, Slider, Table, Tag, Typography, Chapter, Section, Paragraph, Quote, YoutubeVideoPlayer, Button, Checkbox, DateSelector, Form, FormResponse, ImageInput, InputResponse, InputLabel, Input, InputFile, InputList, InputListGroup, MultiImageInput, Radio, StarRatingInput, Select, Switch, TextArea, Backdrop, Skeleton, Toast, sendToast, Transition, ContentArea, Sidebar, Flex, FlexCol, FlexRow, Grid, Layout, Header, Content, Footer, MarkdownEditor, MarkdownViewer, Breadcrumb, BreadcrumbItem, Drawer, DrawerToggler, FooterNav, FooterNavGroup, FooterNavItem, FooterNavItemTitle, FooterNavItemContext, HeaderNav, HeaderNavGroup, HeaderNavItem, HeaderNavItemTitle, HeaderNavItemContext, Link, Menu, MenuGroup, MenuItem, MenuItemTitle, RouteTab, RouteTabs, Modal, Accordion, Card, CardHeader, CardContent, CardFooter, ThemeContext, ThemeProvider, ThemeSwitch, AsyncComponentWrapper, ShowMore, useModal, useDrawer, useClickOutside, useIsMobile, };