moldekit-react 0.0.5 → 0.0.6

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 (121) hide show
  1. package/README.md +9 -13
  2. package/dist/components/MkAlert/MkAlert.d.ts +3 -0
  3. package/dist/components/MkAlert/MkAlert.props.d.ts +3 -0
  4. package/dist/components/MkAlert/index.d.ts +2 -0
  5. package/dist/components/MkBarChart/MkBarChart.d.ts +3 -0
  6. package/dist/components/MkBarChart/MkBarChart.props.d.ts +3 -0
  7. package/dist/components/MkBarChart/index.d.ts +2 -0
  8. package/dist/components/MkBarHistoryChart/MkBarHistoryChart.d.ts +3 -0
  9. package/dist/components/MkBarHistoryChart/MkBarHistoryChart.props.d.ts +3 -0
  10. package/dist/components/MkBarHistoryChart/index.d.ts +2 -0
  11. package/dist/components/MkBottomSheet/MkBottomSheet.d.ts +3 -0
  12. package/dist/components/MkBottomSheet/MkBottomSheet.props.d.ts +7 -0
  13. package/dist/components/MkBottomSheet/index.d.ts +2 -0
  14. package/dist/components/MkButton/MkButton.d.ts +1 -1
  15. package/dist/components/MkButton/MkButton.props.d.ts +6 -4
  16. package/dist/components/MkCard/MkCard.d.ts +3 -0
  17. package/dist/components/MkCard/MkCard.props.d.ts +5 -0
  18. package/dist/components/MkCard/index.d.ts +2 -0
  19. package/dist/components/MkCheckbox/MkCheckbox.d.ts +3 -0
  20. package/dist/components/MkCheckbox/MkCheckbox.props.d.ts +3 -0
  21. package/dist/components/MkCheckbox/index.d.ts +2 -0
  22. package/dist/components/MkComboBox/MkComboBox.d.ts +3 -0
  23. package/dist/components/MkComboBox/MkComboBox.props.d.ts +9 -0
  24. package/dist/components/MkComboBox/index.d.ts +2 -0
  25. package/dist/components/MkDateInput/MkDateInput.d.ts +3 -0
  26. package/dist/components/MkDateInput/MkDateInput.props.d.ts +6 -0
  27. package/dist/components/MkDateInput/index.d.ts +2 -0
  28. package/dist/components/MkDetailedList/MkDetailedList.d.ts +3 -0
  29. package/dist/components/MkDetailedList/MkDetailedList.props.d.ts +5 -0
  30. package/dist/components/MkDetailedList/MkDetailedListItem/MkDetailedListItem.d.ts +3 -0
  31. package/dist/components/MkDetailedList/MkDetailedListItem/MkDetailedListItem.props.d.ts +10 -0
  32. package/dist/components/MkDetailedList/index.d.ts +2 -0
  33. package/dist/components/MkDivider/MkDivider.d.ts +3 -0
  34. package/dist/components/MkDivider/MkDivider.props.d.ts +4 -0
  35. package/dist/components/MkDivider/index.d.ts +2 -0
  36. package/dist/components/MkDonutChart/MkDonutChart.d.ts +3 -0
  37. package/dist/components/MkDonutChart/MkDonutChart.props.d.ts +3 -0
  38. package/dist/components/MkDonutChart/index.d.ts +2 -0
  39. package/dist/components/MkHeader/MkHeader.d.ts +3 -0
  40. package/dist/components/MkHeader/MkHeader.props.d.ts +6 -0
  41. package/dist/components/MkHeader/index.d.ts +2 -0
  42. package/dist/components/MkHorizontalBarChart/MkHorizontalBarChart.d.ts +3 -0
  43. package/dist/components/MkHorizontalBarChart/MkHorizontalBarChart.props.d.ts +3 -0
  44. package/dist/components/MkHorizontalBarChart/index.d.ts +2 -0
  45. package/dist/components/MkIconBadge/MkIconBadge.d.ts +3 -0
  46. package/dist/components/MkIconBadge/MkIconBadge.props.d.ts +5 -0
  47. package/dist/components/MkIconBadge/index.d.ts +2 -0
  48. package/dist/components/MkLineChart/MkLineChart.d.ts +3 -0
  49. package/dist/components/MkLineChart/MkLineChart.props.d.ts +3 -0
  50. package/dist/components/MkLineChart/index.d.ts +2 -0
  51. package/dist/components/MkList/MkList.d.ts +3 -0
  52. package/dist/components/MkList/MkList.props.d.ts +5 -0
  53. package/dist/components/MkList/MkListItem/MkListItem.d.ts +3 -0
  54. package/dist/components/MkList/MkListItem/MkListItem.props.d.ts +8 -0
  55. package/dist/components/MkList/index.d.ts +2 -0
  56. package/dist/components/MkMain/MkMain.d.ts +3 -0
  57. package/dist/components/MkMain/MkMain.props.d.ts +4 -0
  58. package/dist/components/MkMain/index.d.ts +2 -0
  59. package/dist/components/MkModal/MkModal.d.ts +3 -0
  60. package/dist/components/MkModal/MkModal.props.d.ts +6 -0
  61. package/dist/components/MkModal/index.d.ts +2 -0
  62. package/dist/components/MkNavItem/MkNavItem.d.ts +3 -0
  63. package/dist/components/MkNavItem/MkNavItem.props.d.ts +10 -0
  64. package/dist/components/MkNavItem/index.d.ts +2 -0
  65. package/dist/components/MkNavList/MkNavList.d.ts +3 -0
  66. package/dist/components/MkNavList/MkNavList.props.d.ts +6 -0
  67. package/dist/components/MkNavList/index.d.ts +2 -0
  68. package/dist/components/MkNumberInput/MkNumberInput.d.ts +3 -0
  69. package/dist/components/MkNumberInput/MkNumberInput.props.d.ts +6 -0
  70. package/dist/components/MkNumberInput/index.d.ts +2 -0
  71. package/dist/components/MkPanel/MkPanel.d.ts +3 -0
  72. package/dist/components/MkPanel/MkPanel.props.d.ts +4 -0
  73. package/dist/components/MkPanel/index.d.ts +2 -0
  74. package/dist/components/MkProgressBar/MkProgressBar.d.ts +3 -0
  75. package/dist/components/MkProgressBar/MkProgressBar.props.d.ts +3 -0
  76. package/dist/components/MkProgressBar/index.d.ts +2 -0
  77. package/dist/components/MkRadioButton/MkRadioButton.d.ts +3 -0
  78. package/dist/components/MkRadioButton/MkRadioButton.props.d.ts +3 -0
  79. package/dist/components/MkRadioButton/index.d.ts +2 -0
  80. package/dist/components/MkSectionHeader/MkSectionHeader.d.ts +3 -0
  81. package/dist/components/MkSectionHeader/MkSectionHeader.props.d.ts +5 -0
  82. package/dist/components/MkSectionHeader/index.d.ts +2 -0
  83. package/dist/components/MkStackedBarChart/MkStackedBarChart.d.ts +3 -0
  84. package/dist/components/MkStackedBarChart/MkStackedBarChart.props.d.ts +3 -0
  85. package/dist/components/MkStackedBarChart/index.d.ts +2 -0
  86. package/dist/components/MkStatusIndicator/MkStatusIndicator.d.ts +3 -0
  87. package/dist/components/MkStatusIndicator/MkStatusIndicator.props.d.ts +4 -0
  88. package/dist/components/MkStatusIndicator/index.d.ts +2 -0
  89. package/dist/components/MkStepper/MkStepper.d.ts +3 -0
  90. package/dist/components/MkStepper/MkStepper.props.d.ts +4 -0
  91. package/dist/components/MkStepper/index.d.ts +2 -0
  92. package/dist/components/MkSubHeader/MkSubHeader.d.ts +3 -0
  93. package/dist/components/MkSubHeader/MkSubHeader.props.d.ts +6 -0
  94. package/dist/components/MkSubHeader/index.d.ts +2 -0
  95. package/dist/components/MkTab/MkTab.d.ts +3 -0
  96. package/dist/components/MkTab/MkTab.props.d.ts +5 -0
  97. package/dist/components/MkTab/index.d.ts +2 -0
  98. package/dist/components/MkTag/MkTag.d.ts +3 -0
  99. package/dist/components/MkTag/MkTag.props.d.ts +3 -0
  100. package/dist/components/MkTag/index.d.ts +2 -0
  101. package/dist/components/MkTextInput/MkTextInput.d.ts +3 -0
  102. package/dist/components/MkTextInput/MkTextInput.props.d.ts +6 -0
  103. package/dist/components/MkTextInput/index.d.ts +2 -0
  104. package/dist/components/MkTimeInput/MkTimeInput.d.ts +3 -0
  105. package/dist/components/MkTimeInput/MkTimeInput.props.d.ts +6 -0
  106. package/dist/components/MkTimeInput/index.d.ts +2 -0
  107. package/dist/components/MkTopBar/MkTopBar.d.ts +3 -0
  108. package/dist/components/MkTopBar/MkTopBar.props.d.ts +5 -0
  109. package/dist/components/MkTopBar/index.d.ts +2 -0
  110. package/dist/components/MkTotalizers/MkTotalizers.d.ts +3 -0
  111. package/dist/components/MkTotalizers/MkTotalizers.props.d.ts +3 -0
  112. package/dist/components/MkTotalizers/index.d.ts +2 -0
  113. package/dist/components/MkUserAvatar/MkUserAvatar.d.ts +3 -0
  114. package/dist/components/MkUserAvatar/MkUserAvatar.props.d.ts +3 -0
  115. package/dist/components/MkUserAvatar/index.d.ts +2 -0
  116. package/dist/index.cjs +997 -34
  117. package/dist/index.d.ts +72 -0
  118. package/dist/index.js +963 -36
  119. package/dist/style.css +1367 -165
  120. package/package.json +18 -2
  121. package/dist/foundations/typography/H1.d.ts +0 -15
package/README.md CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  ![MoldeKit](https://moldekit-assets.s3.sa-east-1.amazonaws.com/MoldeKit.png)
3
2
 
4
3
  [![GPLv3 License](https://img.shields.io/badge/License-GPL%20v3-yellow.svg)](https://opensource.org/licenses/)
@@ -40,33 +39,30 @@ If you want to develop or test the library locally:
40
39
 
41
40
  - Clone repo
42
41
 
43
- ```bash
44
- git clone https://github.com/andersonvnieves/moldekit-react.git
45
- ```
42
+ ```bash
43
+ git clone https://github.com/andersonvnieves/moldekit-react.git
44
+ ```
46
45
 
47
46
  - Install package dependencies
48
47
 
49
- ````bash
48
+ ```bash
50
49
  npm install
51
- ````
50
+ ```
52
51
 
53
52
  - Install browser dependencies (for tests)
54
53
 
55
- ````bash
54
+ ```bash
56
55
  npx playwright install
57
- ````
56
+ ```
58
57
 
59
58
  - Run storybook
60
59
 
61
- ````bash
60
+ ```bash
62
61
  npm run dev
63
- ````
64
-
62
+ ```
65
63
 
66
64
  ## License
67
65
 
68
66
  This project is licensed under the GNU General Public License v3.0 (GPL-3.0). Please see the LICENSE file for more details.
69
67
 
70
68
  Third-party credits This project uses icons from Lucide Icons, licensed under the MIT License. The Lucide Icons license is MIT, which allows use, copying, modification, and distribution with attribution and without warranty.
71
-
72
-
@@ -0,0 +1,3 @@
1
+ import { MkAlertProps } from './MkAlert.props.ts';
2
+ declare function MkAlert({ className }: MkAlertProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkAlert;
@@ -0,0 +1,3 @@
1
+ export interface MkAlertProps {
2
+ className?: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkAlert } from './MkAlert';
2
+ export * from './MkAlert.props';
@@ -0,0 +1,3 @@
1
+ import { MkBarChartProps } from './MkBarChart.props.ts';
2
+ declare function MkBarChart({ className }: MkBarChartProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkBarChart;
@@ -0,0 +1,3 @@
1
+ export interface MkBarChartProps {
2
+ className?: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkBarChart } from './MkBarChart';
2
+ export * from './MkBarChart.props';
@@ -0,0 +1,3 @@
1
+ import { MkBarHistoryChartProps } from './MkBarHistoryChart.props.ts';
2
+ declare function MkBarHistoryChart({ className }: MkBarHistoryChartProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkBarHistoryChart;
@@ -0,0 +1,3 @@
1
+ export interface MkBarHistoryChartProps {
2
+ className?: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkBarHistoryChart } from './MkBarHistoryChart';
2
+ export * from './MkBarHistoryChart.props';
@@ -0,0 +1,3 @@
1
+ import { MkBottomSheetProps } from './MkBottomSheet.props.ts';
2
+ declare function MkBottomSheet({ open, onClose, children, height, className, }: MkBottomSheetProps): import("react/jsx-runtime").JSX.Element | null;
3
+ export default MkBottomSheet;
@@ -0,0 +1,7 @@
1
+ export interface MkBottomSheetProps {
2
+ open?: boolean;
3
+ onClose?: () => void;
4
+ children: React.ReactNode;
5
+ className?: string;
6
+ height?: "sm" | "md" | "lg" | "full";
7
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkBottomSheet } from './MkBottomSheet';
2
+ export * from './MkBottomSheet.props';
@@ -1,3 +1,3 @@
1
1
  import { MkButtonProps } from './MkButton.props.ts';
2
- declare function MkButton({ variant, color, size, fullWidth, iconName, className, disabled, children, ...props }: MkButtonProps): import("react/jsx-runtime").JSX.Element;
2
+ declare function MkButton({ variant, color, size, fullWidth, iconOnly, iconName, className, disabled, children, ...props }: MkButtonProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default MkButton;
@@ -1,7 +1,9 @@
1
+ import { IconName } from 'lucide-react/dynamic';
1
2
  export interface MkButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
2
- variant?: 'filled' | 'outlined' | 'transparent' | 'iconOnly';
3
- color?: 'primary' | 'neutral' | 'success' | 'warning' | 'danger' | 'info';
4
- size?: 'small' | 'medium' | 'large';
3
+ variant?: "filled" | "outlined" | "transparent";
4
+ color?: "primary" | "neutral" | "success" | "warning" | "danger" | "info";
5
+ size?: "sm" | "md" | "lg";
5
6
  fullWidth?: boolean;
6
- iconName?: string;
7
+ iconOnly?: boolean;
8
+ iconName?: IconName;
7
9
  }
@@ -0,0 +1,3 @@
1
+ import { MkCardProps } from './MkCard.props.ts';
2
+ declare function MkCard({ className, noPadding, children }: MkCardProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkCard;
@@ -0,0 +1,5 @@
1
+ export interface MkCardProps {
2
+ className?: string;
3
+ noPadding?: boolean;
4
+ children?: React.ReactNode;
5
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkCard } from './MkCard.tsx';
2
+ export * from './MkCard.props';
@@ -0,0 +1,3 @@
1
+ import { MkCheckboxProps } from './MkCheckbox.props.ts';
2
+ declare function MkCheckbox({ className }: MkCheckboxProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkCheckbox;
@@ -0,0 +1,3 @@
1
+ export interface MkCheckboxProps {
2
+ className?: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkCheckbox } from './MkCheckbox';
2
+ export * from './MkCheckbox.props';
@@ -0,0 +1,3 @@
1
+ import { MkComboBoxProps } from './MkComboBox.props.ts';
2
+ declare function MkComboBox({ value, size, list, className, ...props }: MkComboBoxProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkComboBox;
@@ -0,0 +1,9 @@
1
+ export interface MkComboBoxProps {
2
+ value?: string | number;
3
+ size?: "sm" | "md" | "lg";
4
+ className?: string;
5
+ list: {
6
+ value: string;
7
+ label: string;
8
+ }[];
9
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkComboBox } from './MkComboBox';
2
+ export * from './MkComboBox.props';
@@ -0,0 +1,3 @@
1
+ import { MkDateInputProps } from './MkDateInput.props.ts';
2
+ declare function MkDateInput({ value, placeholder, size, className, ...props }: MkDateInputProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkDateInput;
@@ -0,0 +1,6 @@
1
+ export interface MkDateInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "size"> {
2
+ value?: string;
3
+ placeholder?: string;
4
+ size?: "sm" | "md" | "lg";
5
+ className?: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkDateInput } from './MkDateInput';
2
+ export * from './MkDateInput.props';
@@ -0,0 +1,3 @@
1
+ import { MkDetailedListProps } from './MkDetailedList.props.ts';
2
+ declare function MkDetailedList({ className, data }: MkDetailedListProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkDetailedList;
@@ -0,0 +1,5 @@
1
+ import { MkDetailedListItemProps } from './MkDetailedListItem/MkDetailedListItem.props.ts';
2
+ export interface MkDetailedListProps {
3
+ className?: string;
4
+ data: MkDetailedListItemProps[];
5
+ }
@@ -0,0 +1,3 @@
1
+ import { MkDetailedListItemProps } from './MkDetailedListItem.props.ts';
2
+ declare function MkDetailedListItem({ title, description, numericValue, icon, }: MkDetailedListItemProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkDetailedListItem;
@@ -0,0 +1,10 @@
1
+ import { IconName } from 'lucide-react/dynamic';
2
+ export interface MkDetailedListItemProps {
3
+ title?: string;
4
+ description?: string;
5
+ numericValue?: string;
6
+ icon?: {
7
+ color: "primary" | "neutral" | "success" | "warning" | "danger" | "info";
8
+ iconName: IconName;
9
+ };
10
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkDetailedList } from './MkDetailedList.tsx';
2
+ export * from './MkDetailedList.props';
@@ -0,0 +1,3 @@
1
+ import { MkDividerProps } from './MkDivider.props.ts';
2
+ declare function MkDivider({ className, orientation, }: MkDividerProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkDivider;
@@ -0,0 +1,4 @@
1
+ export interface MkDividerProps {
2
+ className?: string;
3
+ orientation?: "horizontal" | "vertical";
4
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkDivider } from './MkDivider';
2
+ export * from './MkDivider.props';
@@ -0,0 +1,3 @@
1
+ import { MkDonutChartProps } from './MkDonutChart.props.ts';
2
+ declare function MkDonutChart({ className }: MkDonutChartProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkDonutChart;
@@ -0,0 +1,3 @@
1
+ export interface MkDonutChartProps {
2
+ className?: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkDonutChart } from './MkDonutChart';
2
+ export * from './MkDonutChart.props';
@@ -0,0 +1,3 @@
1
+ import { MkHeaderProps } from './MkHeader.props.ts';
2
+ declare function MkHeader({ title, subtitle, className, children }: MkHeaderProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkHeader;
@@ -0,0 +1,6 @@
1
+ export interface MkHeaderProps {
2
+ title: string;
3
+ subtitle?: string;
4
+ className?: string;
5
+ children?: React.ReactNode;
6
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkHeader } from './MkHeader';
2
+ export * from './MkHeader.props';
@@ -0,0 +1,3 @@
1
+ import { MkHorizontalBarChartProps } from './MkHorizontalBarChart.props.ts';
2
+ declare function MkHorizontalBarChart({ className }: MkHorizontalBarChartProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkHorizontalBarChart;
@@ -0,0 +1,3 @@
1
+ export interface MkHorizontalBarChartProps {
2
+ className?: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkHorizontalBarChart } from './MkHorizontalBarChart';
2
+ export * from './MkHorizontalBarChart.props';
@@ -0,0 +1,3 @@
1
+ import { MkIconBadgeProps } from './MkIconBadge.props.ts';
2
+ declare function MkIconBadge({ color, iconName }: MkIconBadgeProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkIconBadge;
@@ -0,0 +1,5 @@
1
+ import { IconName } from 'lucide-react/dynamic';
2
+ export interface MkIconBadgeProps {
3
+ color: "primary" | "neutral" | "success" | "warning" | "danger" | "info";
4
+ iconName: IconName;
5
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkIconBadge } from './MkIconBadge';
2
+ export * from './MkIconBadge.props';
@@ -0,0 +1,3 @@
1
+ import { MkLineChartProps } from './MkLineChart.props.ts';
2
+ declare function MkLineChart({ className }: MkLineChartProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkLineChart;
@@ -0,0 +1,3 @@
1
+ export interface MkLineChartProps {
2
+ className?: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkLineChart } from './MkLineChart';
2
+ export * from './MkLineChart.props';
@@ -0,0 +1,3 @@
1
+ import { MkListProps } from './MkList.props.ts';
2
+ declare function MkList({ className, data }: MkListProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkList;
@@ -0,0 +1,5 @@
1
+ import { MkListItemProps } from './MkListItem/MkListItem.props.ts';
2
+ export interface MkListProps {
3
+ className?: string;
4
+ data: MkListItemProps[];
5
+ }
@@ -0,0 +1,3 @@
1
+ import { MkListItemProps } from './MkListItem.props.ts';
2
+ declare function MkListItem({ title, numericValue, status }: MkListItemProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkListItem;
@@ -0,0 +1,8 @@
1
+ export interface MkListItemProps {
2
+ title?: string;
3
+ numericValue?: string;
4
+ status?: {
5
+ color: "primary" | "neutral" | "success" | "warning" | "danger" | "info";
6
+ text?: string;
7
+ };
8
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkList } from './MkList';
2
+ export * from './MkList.props';
@@ -0,0 +1,3 @@
1
+ import { MkMainProps } from './MkMain.props.ts';
2
+ declare function MkMain({ className, children }: MkMainProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkMain;
@@ -0,0 +1,4 @@
1
+ export interface MkMainProps {
2
+ className?: string;
3
+ children?: React.ReactNode;
4
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkMain } from './MkMain';
2
+ export * from './MkMain.props';
@@ -0,0 +1,3 @@
1
+ import { MkModalProps } from './MkModal.props.ts';
2
+ declare function MkModal({ open, onClose, children, className, }: MkModalProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkModal;
@@ -0,0 +1,6 @@
1
+ export interface MkModalProps {
2
+ open?: boolean;
3
+ onClose?: () => void;
4
+ children?: React.ReactNode;
5
+ className?: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkModal } from './MkModal';
2
+ export * from './MkModal.props';
@@ -0,0 +1,3 @@
1
+ import { MkNavItemProps } from './MkNavItem.props.ts';
2
+ declare function MkNavItem({ label, iconName, link, as, isActive, collapsed, ...props }: MkNavItemProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkNavItem;
@@ -0,0 +1,10 @@
1
+ import { IconName } from 'lucide-react/dynamic';
2
+ import { ComponentPropsWithoutRef, ElementType } from 'react';
3
+ export interface MkNavItemProps extends ComponentPropsWithoutRef<"div"> {
4
+ label: string;
5
+ iconName?: IconName;
6
+ link: string;
7
+ as?: ElementType;
8
+ isActive?: boolean;
9
+ collapsed?: boolean;
10
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkNavItem } from './MkNavItem';
2
+ export * from './MkNavItem.props';
@@ -0,0 +1,3 @@
1
+ import { MkNavListProps } from './MkNavList.props.ts';
2
+ declare function MkNavList({ data, collapsed, className }: MkNavListProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkNavList;
@@ -0,0 +1,6 @@
1
+ import { MkNavItemProps } from '../MkNavItem';
2
+ export interface MkNavListProps {
3
+ data: MkNavItemProps[];
4
+ collapsed?: boolean;
5
+ className?: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkNavList } from './MkNavList';
2
+ export * from './MkNavList.props';
@@ -0,0 +1,3 @@
1
+ import { MkNumberInputProps } from './MkNumberInput.props.ts';
2
+ declare function MkNumberInput({ value, placeholder, size, className, ...props }: MkNumberInputProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkNumberInput;
@@ -0,0 +1,6 @@
1
+ export interface MkNumberInputProps {
2
+ value?: number;
3
+ placeholder?: string;
4
+ size?: "sm" | "md" | "lg";
5
+ className?: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkNumberInput } from './MkNumberInput';
2
+ export * from './MkNumberInput.props';
@@ -0,0 +1,3 @@
1
+ import { MkPanelProps } from './MkPanel.props.ts';
2
+ declare function MkPanel({ className, children }: MkPanelProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkPanel;
@@ -0,0 +1,4 @@
1
+ export interface MkPanelProps {
2
+ className?: string;
3
+ children?: React.ReactNode;
4
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkPanel } from './MkPanel.tsx';
2
+ export * from './MkPanel.props';
@@ -0,0 +1,3 @@
1
+ import { MkProgressBarProps } from './MkProgressBar.props.ts';
2
+ declare function MkProgressBar({ percentage }: MkProgressBarProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkProgressBar;
@@ -0,0 +1,3 @@
1
+ export interface MkProgressBarProps {
2
+ percentage: number;
3
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkProgressBar } from './MkProgressBar';
2
+ export * from './MkProgressBar.props';
@@ -0,0 +1,3 @@
1
+ import { MkRadioButtonProps } from './MkRadioButton.props.ts';
2
+ declare function MkRadioButton({ className }: MkRadioButtonProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkRadioButton;
@@ -0,0 +1,3 @@
1
+ export interface MkRadioButtonProps {
2
+ className?: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkRadioButton } from './MkRadioButton';
2
+ export * from './MkRadioButton.props';
@@ -0,0 +1,3 @@
1
+ import { MkSectionHeaderProps } from './MkSectionHeader.props.ts';
2
+ declare function MkSectionHeader({ title, className, children }: MkSectionHeaderProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkSectionHeader;
@@ -0,0 +1,5 @@
1
+ export interface MkSectionHeaderProps {
2
+ title: string;
3
+ className?: string;
4
+ children?: React.ReactNode;
5
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkSectionHeader } from './MkSectionHeader';
2
+ export * from './MkSectionHeader.props';
@@ -0,0 +1,3 @@
1
+ import { MkStackedBarChartProps } from './MkStackedBarChart.props.ts';
2
+ declare function MkStackedBarChart({ className }: MkStackedBarChartProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkStackedBarChart;
@@ -0,0 +1,3 @@
1
+ export interface MkStackedBarChartProps {
2
+ className?: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkStackedBarChart } from './MkStackedBarChart';
2
+ export * from './MkStackedBarChart.props';
@@ -0,0 +1,3 @@
1
+ import { MkStatusIndicatorProps } from './MkStatusIndicator.props.ts';
2
+ declare function MkStatusIndicator({ color, text }: MkStatusIndicatorProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkStatusIndicator;
@@ -0,0 +1,4 @@
1
+ export interface MkStatusIndicatorProps {
2
+ color: "primary" | "neutral" | "success" | "warning" | "danger" | "info";
3
+ text?: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkStatusIndicator } from './MkStatusIndicator';
2
+ export * from './MkStatusIndicator.props';
@@ -0,0 +1,3 @@
1
+ import { MkStepperProps } from './MkStepper.props.ts';
2
+ declare function MkStepper({ steps, currentStep }: MkStepperProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkStepper;
@@ -0,0 +1,4 @@
1
+ export interface MkStepperProps {
2
+ steps: number;
3
+ currentStep: number;
4
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkStepper } from './MkStepper';
2
+ export * from './MkStepper.props';
@@ -0,0 +1,3 @@
1
+ import { MkSubHeaderProps } from './MkSubHeader.props.ts';
2
+ declare function MkSubHeader({ title, subtitle, className, children, }: MkSubHeaderProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkSubHeader;
@@ -0,0 +1,6 @@
1
+ export interface MkSubHeaderProps {
2
+ title: string;
3
+ subtitle?: string;
4
+ className?: string;
5
+ children?: React.ReactNode;
6
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkSubHeader } from './MkSubHeader';
2
+ export * from './MkSubHeader.props';
@@ -0,0 +1,3 @@
1
+ import { MkTabProps } from './MkTab.props.ts';
2
+ declare function MkTab({ data, onTabSelect, selectedTab }: MkTabProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkTab;
@@ -0,0 +1,5 @@
1
+ export interface MkTabProps {
2
+ data: [];
3
+ onTabSelect?: (index: number) => void;
4
+ selectedTab?: number;
5
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkTab } from './MkTab';
2
+ export * from './MkTab.props';
@@ -0,0 +1,3 @@
1
+ import { MkTagProps } from './MkTag.stories.tsx';
2
+ declare function MkTag({ className }: MkTagProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkTag;
@@ -0,0 +1,3 @@
1
+ export interface MkTagProps {
2
+ className?: string;
3
+ }