@neuctra/ui 0.1.0 → 0.2.0

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 (81) hide show
  1. package/README.md +96 -0
  2. package/dist/components/{gallery → basic}/AudioGallery.d.ts +5 -8
  3. package/dist/components/basic/Avatar.d.ts +20 -0
  4. package/dist/components/basic/Card.d.ts +25 -0
  5. package/dist/components/basic/CheckRadioInput.d.ts +7 -0
  6. package/dist/components/basic/Container.d.ts +25 -27
  7. package/dist/components/basic/Flexbox.d.ts +12 -16
  8. package/dist/components/basic/GridView.d.ts +12 -19
  9. package/dist/components/basic/Image.d.ts +1 -1
  10. package/dist/components/basic/Modal.d.ts +11 -0
  11. package/dist/components/{gallery → basic}/VideoGallery.d.ts +11 -4
  12. package/dist/components/basic/VideoPlayer.d.ts +1 -0
  13. package/dist/index.cjs.js +38 -28
  14. package/dist/index.d.ts +9 -6
  15. package/dist/index.es.js +2623 -1340
  16. package/dist/types/components/{gallery → basic}/AudioGallery.d.ts +5 -8
  17. package/dist/types/components/basic/Avatar.d.ts +20 -0
  18. package/dist/types/components/basic/Card.d.ts +25 -0
  19. package/dist/types/components/basic/CheckRadioInput.d.ts +7 -0
  20. package/dist/types/components/basic/Container.d.ts +25 -27
  21. package/dist/types/components/basic/Flexbox.d.ts +12 -16
  22. package/dist/types/components/basic/GridView.d.ts +12 -19
  23. package/dist/types/components/basic/Image.d.ts +1 -1
  24. package/dist/types/components/basic/Modal.d.ts +11 -0
  25. package/dist/types/components/{gallery → basic}/VideoGallery.d.ts +11 -4
  26. package/dist/types/components/basic/VideoPlayer.d.ts +1 -0
  27. package/dist/types/index.d.ts +9 -6
  28. package/dist/ui.css +1 -1
  29. package/package.json +1 -1
  30. package/dist/components/avatar/Avatar.d.ts +0 -9
  31. package/dist/components/button/ToggleButton.d.ts +0 -15
  32. package/dist/components/card/Card.d.ts +0 -26
  33. package/dist/components/card/ImageCard.d.ts +0 -14
  34. package/dist/components/card/InteractiveCard.d.ts +0 -7
  35. package/dist/components/modal/FullScreenModal.d.ts +0 -9
  36. package/dist/components/modal/Modal.d.ts +0 -11
  37. package/dist/components/modal/ModalBody.d.ts +0 -6
  38. package/dist/components/modal/ModalFooter.d.ts +0 -6
  39. package/dist/components/modal/ModalHeader.d.ts +0 -7
  40. package/dist/components/table/CustomTable.d.ts +0 -7
  41. package/dist/components/table/SortableTableHeader.d.ts +0 -7
  42. package/dist/components/table/TableBody.d.ts +0 -7
  43. package/dist/components/table/TableColumn.d.ts +0 -7
  44. package/dist/components/table/TableHead.d.ts +0 -7
  45. package/dist/components/table/TableHeader.d.ts +0 -7
  46. package/dist/components/table/TableRow.d.ts +0 -7
  47. package/dist/components/tabs/CustomTabs.d.ts +0 -8
  48. package/dist/components/tabs/Tab.d.ts +0 -10
  49. package/dist/components/tabs/TabList.d.ts +0 -7
  50. package/dist/components/tabs/TabPanel.d.ts +0 -7
  51. package/dist/components/tabs/TabPanels.d.ts +0 -8
  52. package/dist/components/video/CustomVideoPlayer.d.ts +0 -11
  53. package/dist/components/video/EmbedVideo.d.ts +0 -6
  54. package/dist/components/video/PiPVideo.d.ts +0 -4
  55. package/dist/types/components/avatar/Avatar.d.ts +0 -9
  56. package/dist/types/components/button/ToggleButton.d.ts +0 -15
  57. package/dist/types/components/card/Card.d.ts +0 -26
  58. package/dist/types/components/card/ImageCard.d.ts +0 -14
  59. package/dist/types/components/card/InteractiveCard.d.ts +0 -7
  60. package/dist/types/components/modal/FullScreenModal.d.ts +0 -9
  61. package/dist/types/components/modal/Modal.d.ts +0 -11
  62. package/dist/types/components/modal/ModalBody.d.ts +0 -6
  63. package/dist/types/components/modal/ModalFooter.d.ts +0 -6
  64. package/dist/types/components/modal/ModalHeader.d.ts +0 -7
  65. package/dist/types/components/table/CustomTable.d.ts +0 -7
  66. package/dist/types/components/table/SortableTableHeader.d.ts +0 -7
  67. package/dist/types/components/table/TableBody.d.ts +0 -7
  68. package/dist/types/components/table/TableColumn.d.ts +0 -7
  69. package/dist/types/components/table/TableHead.d.ts +0 -7
  70. package/dist/types/components/table/TableHeader.d.ts +0 -7
  71. package/dist/types/components/table/TableRow.d.ts +0 -7
  72. package/dist/types/components/tabs/CustomTabs.d.ts +0 -8
  73. package/dist/types/components/tabs/Tab.d.ts +0 -10
  74. package/dist/types/components/tabs/TabList.d.ts +0 -7
  75. package/dist/types/components/tabs/TabPanel.d.ts +0 -7
  76. package/dist/types/components/tabs/TabPanels.d.ts +0 -8
  77. package/dist/types/components/video/CustomVideoPlayer.d.ts +0 -11
  78. package/dist/types/components/video/EmbedVideo.d.ts +0 -6
  79. package/dist/types/components/video/PiPVideo.d.ts +0 -4
  80. /package/dist/components/{gallery → basic}/ImageGallery.d.ts +0 -0
  81. /package/dist/types/components/{gallery → basic}/ImageGallery.d.ts +0 -0
@@ -1,6 +0,0 @@
1
- import { default as React } from 'react';
2
- interface EmbedVideoProps {
3
- embedUrl: string;
4
- }
5
- export declare const EmbedVideo: React.FC<EmbedVideoProps>;
6
- export {};
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- export declare const PiPVideo: React.FC<{
3
- src: string;
4
- }>;
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- interface AvatarProps {
3
- src: string;
4
- alt?: string;
5
- size?: "small" | "medium" | "large";
6
- className?: string;
7
- }
8
- export declare const Avatar: React.FC<AvatarProps>;
9
- export {};
@@ -1,15 +0,0 @@
1
- import React from "react";
2
- interface ToggleProps {
3
- checked?: boolean;
4
- onChange?: (checked: boolean) => void;
5
- onLabel?: string;
6
- offLabel?: string;
7
- onColor?: string;
8
- offColor?: string;
9
- size?: "small" | "medium" | "large";
10
- className?: string;
11
- onIcon?: React.ReactNode;
12
- offIcon?: React.ReactNode;
13
- }
14
- export declare const Toggle: React.FC<ToggleProps>;
15
- export {};
@@ -1,26 +0,0 @@
1
- import React from "react";
2
- interface CardProps {
3
- children?: React.ReactNode;
4
- className?: string;
5
- contentClassName?: string;
6
- background?: string;
7
- textColor?: string;
8
- borderRadius?: string;
9
- padding?: string;
10
- shadow?: string;
11
- imageSrc?: string;
12
- imageAlt?: string;
13
- imageWidth?: string;
14
- imageHeight?: string;
15
- svgIcon?: React.ReactNode;
16
- useSvgInsteadOfImage?: boolean;
17
- title?: string;
18
- subtitle?: string;
19
- buttonText?: string;
20
- buttonOnClick?: () => void;
21
- buttonClassName?: string;
22
- buttonIcon?: React.ReactNode;
23
- margin?: string;
24
- }
25
- export declare const Card: React.FC<CardProps>;
26
- export {};
@@ -1,14 +0,0 @@
1
- import React from "react";
2
- interface ImageCardProps {
3
- src: string;
4
- title: string;
5
- description?: string;
6
- className?: string;
7
- ImageClassName?: string;
8
- buttonText?: string;
9
- buttonOnClick?: () => void;
10
- buttonClassName?: string;
11
- buttonIcon?: React.ReactNode;
12
- }
13
- export declare const ImageCard: React.FC<ImageCardProps>;
14
- export {};
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- interface InteractiveCardProps {
3
- onClick: () => void;
4
- children: React.ReactNode;
5
- }
6
- export declare const InteractiveCard: React.FC<InteractiveCardProps>;
7
- export {};
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- interface FullScreenModalProps {
3
- isOpen: boolean;
4
- onClose: () => void;
5
- children: React.ReactNode;
6
- className?: string;
7
- }
8
- export declare const FullScreenModal: React.FC<FullScreenModalProps>;
9
- export {};
@@ -1,11 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- interface ModalProps {
3
- isOpen: boolean;
4
- onClose: () => void;
5
- children: ReactNode;
6
- overlayClass?: string;
7
- modalClass?: string;
8
- closeButtonClass?: string;
9
- }
10
- export declare const Modal: React.FC<ModalProps>;
11
- export {};
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- interface ModalBodyProps {
3
- children: React.ReactNode;
4
- }
5
- export declare const ModalBody: React.FC<ModalBodyProps>;
6
- export {};
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- interface ModalFooterProps {
3
- children: React.ReactNode;
4
- }
5
- export declare const ModalFooter: React.FC<ModalFooterProps>;
6
- export {};
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- interface ModalHeaderProps {
3
- title: string;
4
- onClose: () => void;
5
- }
6
- export declare const ModalHeader: React.FC<ModalHeaderProps>;
7
- export {};
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- interface TableProps {
3
- children: React.ReactNode;
4
- className?: string;
5
- }
6
- export declare const CustomTable: React.FC<TableProps>;
7
- export {};
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- interface SortableTableHeaderProps {
3
- label: string;
4
- onSort: (order: "asc" | "desc") => void;
5
- }
6
- export declare const SortableTableHeader: React.FC<SortableTableHeaderProps>;
7
- export {};
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- interface TableBodyProps {
3
- children: React.ReactNode;
4
- className?: string;
5
- }
6
- export declare const TableBody: React.FC<TableBodyProps>;
7
- export {};
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- interface TableColumnProps {
3
- children: React.ReactNode;
4
- className?: string;
5
- }
6
- export declare const TableColumn: React.FC<TableColumnProps>;
7
- export {};
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- interface TableHeadProps {
3
- children: React.ReactNode;
4
- className?: string;
5
- }
6
- export declare const TableHead: React.FC<TableHeadProps>;
7
- export {};
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- interface TableHeaderProps {
3
- children: React.ReactNode;
4
- className?: string;
5
- }
6
- export declare const TableHeader: React.FC<TableHeaderProps>;
7
- export {};
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- interface TableRowProps {
3
- children: React.ReactNode;
4
- className?: string;
5
- }
6
- export declare const TableRow: React.FC<TableRowProps>;
7
- export {};
@@ -1,8 +0,0 @@
1
- import React, { ReactNode } from "react";
2
- interface TabsProps {
3
- children: ReactNode;
4
- defaultActive?: number;
5
- className?: string;
6
- }
7
- export declare const CustomTabs: React.FC<TabsProps>;
8
- export {};
@@ -1,10 +0,0 @@
1
- import React from "react";
2
- interface TabProps {
3
- children: React.ReactNode;
4
- index: number;
5
- activeTab: number;
6
- setActiveTab: (index: number) => void;
7
- className?: string;
8
- }
9
- export declare const Tab: React.FC<TabProps>;
10
- export {};
@@ -1,7 +0,0 @@
1
- import React, { ReactNode } from "react";
2
- interface TabListProps {
3
- children: ReactNode;
4
- className?: string;
5
- }
6
- export declare const TabList: React.FC<TabListProps>;
7
- export {};
@@ -1,7 +0,0 @@
1
- import React, { ReactNode } from "react";
2
- interface TabPanelProps {
3
- children: ReactNode;
4
- className?: string;
5
- }
6
- export declare const TabPanel: React.FC<TabPanelProps>;
7
- export {};
@@ -1,8 +0,0 @@
1
- import React, { ReactNode } from "react";
2
- interface TabPanelsProps {
3
- children: ReactNode;
4
- className?: string;
5
- activeTab: number;
6
- }
7
- export declare const TabPanels: React.FC<TabPanelsProps>;
8
- export {};
@@ -1,11 +0,0 @@
1
- import React from "react";
2
- interface CustomVideoPlayerProps {
3
- src: string;
4
- width?: string;
5
- height?: string;
6
- borderRadius?: string;
7
- shadow?: boolean;
8
- controlsColor?: string;
9
- }
10
- export declare const CustomVideoPlayer: React.FC<CustomVideoPlayerProps>;
11
- export {};
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- interface EmbedVideoProps {
3
- embedUrl: string;
4
- }
5
- export declare const EmbedVideo: React.FC<EmbedVideoProps>;
6
- export {};
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- export declare const PiPVideo: React.FC<{
3
- src: string;
4
- }>;