@moontra/moonui-pro 2.2.12 → 2.2.14
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.
- package/dist/index.mjs +42 -42
- package/package.json +1 -1
- package/src/components/ui/alert.tsx +3 -3
- package/src/components/ui/breadcrumb.tsx +8 -8
- package/src/components/ui/button.tsx +1 -1
- package/src/components/ui/card.tsx +6 -6
- package/src/components/ui/dialog.tsx +2 -2
- package/src/components/ui/input.tsx +1 -1
- package/src/components/ui/radio-group.tsx +4 -4
- package/src/components/ui/select.tsx +8 -8
- package/src/components/ui/slider.tsx +1 -1
- package/src/components/ui/table.tsx +8 -8
- package/src/components/ui/textarea.tsx +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { twMerge } from 'tailwind-merge';
|
|
|
3
3
|
import * as t from 'react';
|
|
4
4
|
import t__default, { useState, useRef, useCallback, forwardRef, createContext, useContext, useMemo, useEffect, useDebugValue, Component, useLayoutEffect } from 'react';
|
|
5
5
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
6
|
-
import { ChevronDown, Info, AlertCircle, AlertTriangle, Check, X, Loader2, Minus, Search, ChevronRight, Circle, ChevronUp, Lock, Sparkles, Plus,
|
|
6
|
+
import { ChevronDown, Info, AlertCircle, AlertTriangle, Check, X, MoreHorizontal, Loader2, Minus, Search, ChevronRight, Circle, ChevronUp, Lock, Sparkles, Plus, ChevronLeft, Calendar, Edit, Trash2, Clock, MapPin, User, GripVertical, MessageCircle, Paperclip, Bold as Bold$1, Italic as Italic$1, Underline as Underline$1, Strikethrough, Code as Code$1, Type, Heading1, Heading2, Heading3, AlignLeft, AlignCenter, AlignRight, AlignJustify, List, ListOrdered, CheckSquare, Quote, Palette, Highlighter, Link2, Image as Image$1, Table as Table$1, Settings, Undo, Redo, Eye, RefreshCw, Wand2, Maximize, FileText, Languages, TrendingUp, TrendingDown, Download, Maximize2, Activity, Star, Upload, CheckCircle2, Filter, ArrowUp, ArrowDown, ArrowUpDown, ChevronsLeft, ChevronsRight, ExternalLink, BarChart3, Users, DollarSign, Github, GitFork, Server, EyeOff, ZoomOut, ZoomIn, RotateCw, Zap, Monitor, Timer, Cpu, MemoryStick, HardDrive, Network, CheckCircle, Video, Music, Archive, File, XCircle, ArrowDownRight, ArrowUpRight } from 'lucide-react';
|
|
7
7
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
8
8
|
import { cva } from 'class-variance-authority';
|
|
9
9
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
@@ -1867,7 +1867,7 @@ var MoonUIAlertPro = t.forwardRef(
|
|
|
1867
1867
|
);
|
|
1868
1868
|
}
|
|
1869
1869
|
);
|
|
1870
|
-
|
|
1870
|
+
MoonUIAlertPro.displayName = "AlertPro";
|
|
1871
1871
|
var MoonUIAlertTitlePro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1872
1872
|
"h5",
|
|
1873
1873
|
{
|
|
@@ -1876,7 +1876,7 @@ var MoonUIAlertTitlePro = t.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
1876
1876
|
...props
|
|
1877
1877
|
}
|
|
1878
1878
|
));
|
|
1879
|
-
|
|
1879
|
+
MoonUIAlertTitlePro.displayName = "AlertTitlePro";
|
|
1880
1880
|
var MoonUIAlertDescriptionPro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1881
1881
|
"div",
|
|
1882
1882
|
{
|
|
@@ -1885,7 +1885,7 @@ var MoonUIAlertDescriptionPro = t.forwardRef(({ className, ...props }, ref) => /
|
|
|
1885
1885
|
...props
|
|
1886
1886
|
}
|
|
1887
1887
|
));
|
|
1888
|
-
|
|
1888
|
+
MoonUIAlertDescriptionPro.displayName = "AlertDescriptionPro";
|
|
1889
1889
|
var MoonUIaspectRatioVariantsPro = cva(
|
|
1890
1890
|
"relative overflow-hidden",
|
|
1891
1891
|
{
|
|
@@ -2223,7 +2223,7 @@ var MoonUIBreadcrumbPro = t.forwardRef(
|
|
|
2223
2223
|
}
|
|
2224
2224
|
)
|
|
2225
2225
|
);
|
|
2226
|
-
|
|
2226
|
+
MoonUIBreadcrumbPro.displayName = "BreadcrumbPro";
|
|
2227
2227
|
var MoonUIBreadcrumbListPro = t.forwardRef(
|
|
2228
2228
|
({ className, collapsed, collapsedWidth = 3, ...props }, ref) => {
|
|
2229
2229
|
const MoonUIchildrenArrayPro = t.Children.toArray(props.children).filter(Boolean);
|
|
@@ -2242,7 +2242,7 @@ var MoonUIBreadcrumbListPro = t.forwardRef(
|
|
|
2242
2242
|
...props,
|
|
2243
2243
|
children: [
|
|
2244
2244
|
MoonUIfirstItemPro,
|
|
2245
|
-
/* @__PURE__ */ jsx(
|
|
2245
|
+
/* @__PURE__ */ jsx(MoonUIBreadcrumbEllipsisPro, {}),
|
|
2246
2246
|
MoonUIlastTwoItemsPro
|
|
2247
2247
|
]
|
|
2248
2248
|
}
|
|
@@ -2261,7 +2261,7 @@ var MoonUIBreadcrumbListPro = t.forwardRef(
|
|
|
2261
2261
|
);
|
|
2262
2262
|
}
|
|
2263
2263
|
);
|
|
2264
|
-
|
|
2264
|
+
MoonUIBreadcrumbListPro.displayName = "BreadcrumbListPro";
|
|
2265
2265
|
var MoonUIBreadcrumbItemPro = t.forwardRef(
|
|
2266
2266
|
({ className, isCurrent, href, asChild = false, ...props }, ref) => {
|
|
2267
2267
|
const MoonUICompPro = asChild ? t.Fragment : href ? "a" : "span";
|
|
@@ -2288,7 +2288,7 @@ var MoonUIBreadcrumbItemPro = t.forwardRef(
|
|
|
2288
2288
|
);
|
|
2289
2289
|
}
|
|
2290
2290
|
);
|
|
2291
|
-
|
|
2291
|
+
MoonUIBreadcrumbItemPro.displayName = "BreadcrumbItemPro";
|
|
2292
2292
|
var MoonUIBreadcrumbSeparatorPro = ({
|
|
2293
2293
|
children,
|
|
2294
2294
|
className,
|
|
@@ -2303,7 +2303,7 @@ var MoonUIBreadcrumbSeparatorPro = ({
|
|
|
2303
2303
|
children: children || /* @__PURE__ */ jsx(ChevronRight, { className: "h-3.5 w-3.5" })
|
|
2304
2304
|
}
|
|
2305
2305
|
);
|
|
2306
|
-
|
|
2306
|
+
MoonUIBreadcrumbSeparatorPro.displayName = "BreadcrumbSeparatorPro";
|
|
2307
2307
|
var MoonUIBreadcrumbEllipsisPro = ({
|
|
2308
2308
|
className,
|
|
2309
2309
|
...props
|
|
@@ -2320,7 +2320,7 @@ var MoonUIBreadcrumbEllipsisPro = ({
|
|
|
2320
2320
|
]
|
|
2321
2321
|
}
|
|
2322
2322
|
);
|
|
2323
|
-
|
|
2323
|
+
MoonUIBreadcrumbEllipsisPro.displayName = "BreadcrumbEllipsisPro";
|
|
2324
2324
|
var MoonUIBreadcrumbLinkPro = t.forwardRef(
|
|
2325
2325
|
({ className, href, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2326
2326
|
"a",
|
|
@@ -2335,7 +2335,7 @@ var MoonUIBreadcrumbLinkPro = t.forwardRef(
|
|
|
2335
2335
|
}
|
|
2336
2336
|
)
|
|
2337
2337
|
);
|
|
2338
|
-
|
|
2338
|
+
MoonUIBreadcrumbLinkPro.displayName = "BreadcrumbLinkPro";
|
|
2339
2339
|
var MoonUIBreadcrumbPagePro = t.forwardRef(
|
|
2340
2340
|
({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2341
2341
|
"span",
|
|
@@ -2349,7 +2349,7 @@ var MoonUIBreadcrumbPagePro = t.forwardRef(
|
|
|
2349
2349
|
}
|
|
2350
2350
|
)
|
|
2351
2351
|
);
|
|
2352
|
-
|
|
2352
|
+
MoonUIBreadcrumbPagePro.displayName = "BreadcrumbPagePro";
|
|
2353
2353
|
var moonUIButtonProVariants = cva(
|
|
2354
2354
|
[
|
|
2355
2355
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap",
|
|
@@ -2533,7 +2533,7 @@ var MoonUIButtonPro = t.forwardRef(
|
|
|
2533
2533
|
);
|
|
2534
2534
|
}
|
|
2535
2535
|
);
|
|
2536
|
-
|
|
2536
|
+
MoonUIButtonPro.displayName = "MoonUIButtonPro";
|
|
2537
2537
|
cva("", {
|
|
2538
2538
|
variants: {
|
|
2539
2539
|
hover: {
|
|
@@ -2729,7 +2729,7 @@ var MoonUICardPro = t.forwardRef(
|
|
|
2729
2729
|
);
|
|
2730
2730
|
}
|
|
2731
2731
|
);
|
|
2732
|
-
|
|
2732
|
+
MoonUICardPro.displayName = "MoonUICardPro";
|
|
2733
2733
|
var MoonUICardHeaderPro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2734
2734
|
"div",
|
|
2735
2735
|
{
|
|
@@ -2738,7 +2738,7 @@ var MoonUICardHeaderPro = t.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
2738
2738
|
...props
|
|
2739
2739
|
}
|
|
2740
2740
|
));
|
|
2741
|
-
|
|
2741
|
+
MoonUICardHeaderPro.displayName = "MoonUICardHeaderPro";
|
|
2742
2742
|
var MoonUICardTitlePro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2743
2743
|
"h3",
|
|
2744
2744
|
{
|
|
@@ -2747,7 +2747,7 @@ var MoonUICardTitlePro = t.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
2747
2747
|
...props
|
|
2748
2748
|
}
|
|
2749
2749
|
));
|
|
2750
|
-
|
|
2750
|
+
MoonUICardTitlePro.displayName = "MoonUICardTitlePro";
|
|
2751
2751
|
var MoonUICardDescriptionPro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2752
2752
|
"p",
|
|
2753
2753
|
{
|
|
@@ -2756,9 +2756,9 @@ var MoonUICardDescriptionPro = t.forwardRef(({ className, ...props }, ref) => /*
|
|
|
2756
2756
|
...props
|
|
2757
2757
|
}
|
|
2758
2758
|
));
|
|
2759
|
-
|
|
2759
|
+
MoonUICardDescriptionPro.displayName = "MoonUICardDescriptionPro";
|
|
2760
2760
|
var MoonUICardContentPro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("pt-0", className), ...props }));
|
|
2761
|
-
|
|
2761
|
+
MoonUICardContentPro.displayName = "MoonUICardContentPro";
|
|
2762
2762
|
var MoonUICardFooterPro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2763
2763
|
"div",
|
|
2764
2764
|
{
|
|
@@ -2767,7 +2767,7 @@ var MoonUICardFooterPro = t.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
2767
2767
|
...props
|
|
2768
2768
|
}
|
|
2769
2769
|
));
|
|
2770
|
-
|
|
2770
|
+
MoonUICardFooterPro.displayName = "MoonUICardFooterPro";
|
|
2771
2771
|
var moonUICheckboxVariantsPro = cva(
|
|
2772
2772
|
"peer shrink-0 border focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:text-primary-foreground",
|
|
2773
2773
|
{
|
|
@@ -4167,7 +4167,7 @@ var MoonUIDialogHeaderPro = ({
|
|
|
4167
4167
|
...props
|
|
4168
4168
|
}
|
|
4169
4169
|
);
|
|
4170
|
-
|
|
4170
|
+
MoonUIDialogHeaderPro.displayName = "MoonUIDialogHeaderPro";
|
|
4171
4171
|
var MoonUIDialogFooterPro = ({
|
|
4172
4172
|
className,
|
|
4173
4173
|
...props
|
|
@@ -4181,7 +4181,7 @@ var MoonUIDialogFooterPro = ({
|
|
|
4181
4181
|
...props
|
|
4182
4182
|
}
|
|
4183
4183
|
);
|
|
4184
|
-
|
|
4184
|
+
MoonUIDialogFooterPro.displayName = "MoonUIDialogFooterPro";
|
|
4185
4185
|
var MoonUIDialogTitlePro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
4186
4186
|
DialogPrimitive.Title,
|
|
4187
4187
|
{
|
|
@@ -4612,7 +4612,7 @@ var MoonUIInputPro = t.forwardRef(
|
|
|
4612
4612
|
] });
|
|
4613
4613
|
}
|
|
4614
4614
|
);
|
|
4615
|
-
|
|
4615
|
+
MoonUIInputPro.displayName = "MoonUIInputPro";
|
|
4616
4616
|
var moonUILabelVariantsPro = cva(
|
|
4617
4617
|
"text-sm font-medium leading-none text-gray-900 dark:text-gray-200 peer-disabled:cursor-not-allowed peer-disabled:opacity-70 dark:peer-disabled:opacity-60 transition-colors duration-200"
|
|
4618
4618
|
);
|
|
@@ -5011,7 +5011,7 @@ var MoonUIRadioGroupPro = t.forwardRef(
|
|
|
5011
5011
|
) });
|
|
5012
5012
|
}
|
|
5013
5013
|
);
|
|
5014
|
-
|
|
5014
|
+
MoonUIRadioGroupPro.displayName = "RadioGroupPro";
|
|
5015
5015
|
var MoonUIRadioGroupItemPro = t.forwardRef(({ className, variant, size, indicator, id, value, disabled, ...props }, ref) => {
|
|
5016
5016
|
const radioGroup = t.useContext(MoonUIRadioGroupContextPro);
|
|
5017
5017
|
const generatedId = t.useId();
|
|
@@ -5061,7 +5061,7 @@ var MoonUIRadioGroupItemPro = t.forwardRef(({ className, variant, size, indicato
|
|
|
5061
5061
|
)
|
|
5062
5062
|
] });
|
|
5063
5063
|
});
|
|
5064
|
-
|
|
5064
|
+
MoonUIRadioGroupItemPro.displayName = "RadioGroupItemPro";
|
|
5065
5065
|
var MoonUIRadioLabelPro = t.forwardRef(
|
|
5066
5066
|
({ className, htmlFor, children, disabled = false, ...props }, ref) => {
|
|
5067
5067
|
return /* @__PURE__ */ jsx(
|
|
@@ -5080,7 +5080,7 @@ var MoonUIRadioLabelPro = t.forwardRef(
|
|
|
5080
5080
|
);
|
|
5081
5081
|
}
|
|
5082
5082
|
);
|
|
5083
|
-
|
|
5083
|
+
MoonUIRadioLabelPro.displayName = "RadioLabelPro";
|
|
5084
5084
|
var MoonUIRadioItemWithLabelPro = t.forwardRef(({
|
|
5085
5085
|
id,
|
|
5086
5086
|
label,
|
|
@@ -5102,9 +5102,9 @@ var MoonUIRadioItemWithLabelPro = t.forwardRef(({
|
|
|
5102
5102
|
)
|
|
5103
5103
|
] });
|
|
5104
5104
|
});
|
|
5105
|
-
|
|
5105
|
+
MoonUIRadioItemWithLabelPro.displayName = "RadioItemWithLabelPro";
|
|
5106
5106
|
var MoonUISelectPro = SelectPrimitive.Root;
|
|
5107
|
-
|
|
5107
|
+
MoonUISelectPro.displayName = "MoonUISelectPro";
|
|
5108
5108
|
var MoonUISelectGroupPro = SelectPrimitive.Group;
|
|
5109
5109
|
var MoonUISelectValuePro = SelectPrimitive.Value;
|
|
5110
5110
|
var MoonUISelectTriggerPro = t.forwardRef(({ className, children, variant = "standard", size = "md", error, success, loading, leftIcon, rightIcon, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
@@ -5149,7 +5149,7 @@ var MoonUISelectTriggerPro = t.forwardRef(({ className, children, variant = "sta
|
|
|
5149
5149
|
}
|
|
5150
5150
|
));
|
|
5151
5151
|
MoonUISelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
5152
|
-
var
|
|
5152
|
+
var MoonUISelectScrollUpButtonPro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
5153
5153
|
SelectPrimitive.ScrollUpButton,
|
|
5154
5154
|
{
|
|
5155
5155
|
ref,
|
|
@@ -5161,8 +5161,8 @@ var MoonUISelectScrollUpButton = t.forwardRef(({ className, ...props }, ref) =>
|
|
|
5161
5161
|
children: /* @__PURE__ */ jsx(ChevronUp, { className: "h-4 w-4" })
|
|
5162
5162
|
}
|
|
5163
5163
|
));
|
|
5164
|
-
|
|
5165
|
-
var
|
|
5164
|
+
MoonUISelectScrollUpButtonPro.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
5165
|
+
var MoonUISelectScrollDownButtonPro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
5166
5166
|
SelectPrimitive.ScrollDownButton,
|
|
5167
5167
|
{
|
|
5168
5168
|
ref,
|
|
@@ -5174,7 +5174,7 @@ var MoonUISelectScrollDownButton = t.forwardRef(({ className, ...props }, ref) =
|
|
|
5174
5174
|
children: /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" })
|
|
5175
5175
|
}
|
|
5176
5176
|
));
|
|
5177
|
-
|
|
5177
|
+
MoonUISelectScrollDownButtonPro.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
5178
5178
|
var MoonUISelectContentPro = t.forwardRef(({ className, children, position = "item-aligned", ...props }, ref) => /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
|
|
5179
5179
|
SelectPrimitive.Content,
|
|
5180
5180
|
{
|
|
@@ -5247,7 +5247,7 @@ var MoonUISelectItemPro = t.forwardRef(({ className, children, variant = "defaul
|
|
|
5247
5247
|
]
|
|
5248
5248
|
}
|
|
5249
5249
|
));
|
|
5250
|
-
|
|
5250
|
+
MoonUISelectItemPro.displayName = SelectPrimitive.Item.displayName;
|
|
5251
5251
|
var MoonUISelectSeparatorPro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
5252
5252
|
SelectPrimitive.Separator,
|
|
5253
5253
|
{
|
|
@@ -5623,7 +5623,7 @@ var MoonUISliderPro = t.forwardRef(({
|
|
|
5623
5623
|
)
|
|
5624
5624
|
] });
|
|
5625
5625
|
});
|
|
5626
|
-
|
|
5626
|
+
MoonUISliderPro.displayName = "MoonUISliderPro";
|
|
5627
5627
|
var MoonUISwitchPro = t.forwardRef(({ className, size = "md", variant = "primary", loading, leftIcon, rightIcon, description, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "inline-flex items-center gap-2", children: [
|
|
5628
5628
|
leftIcon && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: leftIcon }),
|
|
5629
5629
|
/* @__PURE__ */ jsxs(
|
|
@@ -5738,9 +5738,9 @@ var MoonUITablePro = t.forwardRef(({
|
|
|
5738
5738
|
)
|
|
5739
5739
|
] });
|
|
5740
5740
|
});
|
|
5741
|
-
|
|
5741
|
+
MoonUITablePro.displayName = "TablePro";
|
|
5742
5742
|
var MoonUITableHeaderPro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
|
|
5743
|
-
|
|
5743
|
+
MoonUITableHeaderPro.displayName = "TableHeaderPro";
|
|
5744
5744
|
var MoonUITableBodyPro = t.forwardRef(({ className, emptyContent, emptyMessage = "No data available", children, ...props }, ref) => {
|
|
5745
5745
|
t.Children.count(children) > 0;
|
|
5746
5746
|
return /* @__PURE__ */ jsx(
|
|
@@ -5753,7 +5753,7 @@ var MoonUITableBodyPro = t.forwardRef(({ className, emptyContent, emptyMessage =
|
|
|
5753
5753
|
}
|
|
5754
5754
|
);
|
|
5755
5755
|
});
|
|
5756
|
-
|
|
5756
|
+
MoonUITableBodyPro.displayName = "TableBodyPro";
|
|
5757
5757
|
var MoonUITableFooterPro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
5758
5758
|
"tfoot",
|
|
5759
5759
|
{
|
|
@@ -5762,7 +5762,7 @@ var MoonUITableFooterPro = t.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
5762
5762
|
...props
|
|
5763
5763
|
}
|
|
5764
5764
|
));
|
|
5765
|
-
|
|
5765
|
+
MoonUITableFooterPro.displayName = "TableFooterPro";
|
|
5766
5766
|
var MoonUITableRowPro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
5767
5767
|
"tr",
|
|
5768
5768
|
{
|
|
@@ -5774,7 +5774,7 @@ var MoonUITableRowPro = t.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
5774
5774
|
...props
|
|
5775
5775
|
}
|
|
5776
5776
|
));
|
|
5777
|
-
|
|
5777
|
+
MoonUITableRowPro.displayName = "TableRowPro";
|
|
5778
5778
|
var MoonUITableHeadPro = t.forwardRef(
|
|
5779
5779
|
({ className, sortable, sorted, onSort, children, ...props }, ref) => {
|
|
5780
5780
|
return /* @__PURE__ */ jsx(
|
|
@@ -5796,7 +5796,7 @@ var MoonUITableHeadPro = t.forwardRef(
|
|
|
5796
5796
|
);
|
|
5797
5797
|
}
|
|
5798
5798
|
);
|
|
5799
|
-
|
|
5799
|
+
MoonUITableHeadPro.displayName = "TableHeadPro";
|
|
5800
5800
|
var MoonUITableCellPro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
5801
5801
|
"td",
|
|
5802
5802
|
{
|
|
@@ -5805,7 +5805,7 @@ var MoonUITableCellPro = t.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
5805
5805
|
...props
|
|
5806
5806
|
}
|
|
5807
5807
|
));
|
|
5808
|
-
|
|
5808
|
+
MoonUITableCellPro.displayName = "TableCellPro";
|
|
5809
5809
|
var MoonUITableCaptionPro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
5810
5810
|
"caption",
|
|
5811
5811
|
{
|
|
@@ -5814,7 +5814,7 @@ var MoonUITableCaptionPro = t.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
5814
5814
|
...props
|
|
5815
5815
|
}
|
|
5816
5816
|
));
|
|
5817
|
-
|
|
5817
|
+
MoonUITableCaptionPro.displayName = "TableCaptionPro";
|
|
5818
5818
|
var MoonUITabsPro = t.forwardRef(({ vertical = false, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
5819
5819
|
TabsPrimitive.Root,
|
|
5820
5820
|
{
|
|
@@ -5950,7 +5950,7 @@ var MoonUITextareaPro = t__default.forwardRef(
|
|
|
5950
5950
|
);
|
|
5951
5951
|
}
|
|
5952
5952
|
);
|
|
5953
|
-
|
|
5953
|
+
MoonUITextareaPro.displayName = "MoonUITextareaPro";
|
|
5954
5954
|
var MoonUIToastViewport = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
5955
5955
|
ToastPrimitives.Viewport,
|
|
5956
5956
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.14",
|
|
4
4
|
"description": "Premium React components for MoonUI - Advanced UI library with 50+ pro components including performance, interactive, and gesture components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.mjs",
|
|
@@ -101,7 +101,7 @@ const MoonUIAlertPro = React.forwardRef<HTMLDivElement, AlertProps>(
|
|
|
101
101
|
);
|
|
102
102
|
}
|
|
103
103
|
);
|
|
104
|
-
|
|
104
|
+
MoonUIAlertPro.displayName = "AlertPro";
|
|
105
105
|
|
|
106
106
|
const MoonUIAlertTitlePro = React.forwardRef<
|
|
107
107
|
HTMLParagraphElement,
|
|
@@ -113,7 +113,7 @@ const MoonUIAlertTitlePro = React.forwardRef<
|
|
|
113
113
|
{...props}
|
|
114
114
|
/>
|
|
115
115
|
));
|
|
116
|
-
|
|
116
|
+
MoonUIAlertTitlePro.displayName = "AlertTitlePro";
|
|
117
117
|
|
|
118
118
|
const MoonUIAlertDescriptionPro = React.forwardRef<
|
|
119
119
|
HTMLParagraphElement,
|
|
@@ -125,7 +125,7 @@ const MoonUIAlertDescriptionPro = React.forwardRef<
|
|
|
125
125
|
{...props}
|
|
126
126
|
/>
|
|
127
127
|
));
|
|
128
|
-
|
|
128
|
+
MoonUIAlertDescriptionPro.displayName = "AlertDescriptionPro";
|
|
129
129
|
|
|
130
130
|
|
|
131
131
|
// Internal aliases for Pro component usage
|
|
@@ -64,7 +64,7 @@ const MoonUIBreadcrumbPro = React.forwardRef<HTMLElement, BreadcrumbProps>(
|
|
|
64
64
|
/>
|
|
65
65
|
)
|
|
66
66
|
);
|
|
67
|
-
|
|
67
|
+
MoonUIBreadcrumbPro.displayName = "BreadcrumbPro";
|
|
68
68
|
|
|
69
69
|
const MoonUIBreadcrumbListPro = React.forwardRef<HTMLOListElement, BreadcrumbListProps>(
|
|
70
70
|
({ className, collapsed, collapsedWidth = 3, ...props }, ref) => {
|
|
@@ -86,7 +86,7 @@ const MoonUIBreadcrumbListPro = React.forwardRef<HTMLOListElement, BreadcrumbLis
|
|
|
86
86
|
{...props}
|
|
87
87
|
>
|
|
88
88
|
{MoonUIfirstItemPro}
|
|
89
|
-
<
|
|
89
|
+
<MoonUIBreadcrumbEllipsisPro />
|
|
90
90
|
{MoonUIlastTwoItemsPro}
|
|
91
91
|
</ol>
|
|
92
92
|
);
|
|
@@ -104,7 +104,7 @@ const MoonUIBreadcrumbListPro = React.forwardRef<HTMLOListElement, BreadcrumbLis
|
|
|
104
104
|
);
|
|
105
105
|
}
|
|
106
106
|
);
|
|
107
|
-
|
|
107
|
+
MoonUIBreadcrumbListPro.displayName = "BreadcrumbListPro";
|
|
108
108
|
|
|
109
109
|
const MoonUIBreadcrumbItemPro = React.forwardRef<HTMLLIElement, BreadcrumbItemProps>(
|
|
110
110
|
({ className, isCurrent, href, asChild = false, ...props }, ref) => {
|
|
@@ -133,7 +133,7 @@ const MoonUIBreadcrumbItemPro = React.forwardRef<HTMLLIElement, BreadcrumbItemPr
|
|
|
133
133
|
);
|
|
134
134
|
}
|
|
135
135
|
);
|
|
136
|
-
|
|
136
|
+
MoonUIBreadcrumbItemPro.displayName = "BreadcrumbItemPro";
|
|
137
137
|
|
|
138
138
|
const MoonUIBreadcrumbSeparatorPro = ({
|
|
139
139
|
children,
|
|
@@ -149,7 +149,7 @@ const MoonUIBreadcrumbSeparatorPro = ({
|
|
|
149
149
|
{children || <ChevronRight className="h-3.5 w-3.5" />}
|
|
150
150
|
</span>
|
|
151
151
|
);
|
|
152
|
-
|
|
152
|
+
MoonUIBreadcrumbSeparatorPro.displayName = "BreadcrumbSeparatorPro";
|
|
153
153
|
|
|
154
154
|
const MoonUIBreadcrumbEllipsisPro = ({
|
|
155
155
|
className,
|
|
@@ -165,7 +165,7 @@ const MoonUIBreadcrumbEllipsisPro = ({
|
|
|
165
165
|
<span className="sr-only">More pages</span>
|
|
166
166
|
</span>
|
|
167
167
|
);
|
|
168
|
-
|
|
168
|
+
MoonUIBreadcrumbEllipsisPro.displayName = "BreadcrumbEllipsisPro";
|
|
169
169
|
|
|
170
170
|
const MoonUIBreadcrumbLinkPro = React.forwardRef<HTMLAnchorElement, React.AnchorHTMLAttributes<HTMLAnchorElement>>(
|
|
171
171
|
({ className, href, ...props }, ref) => (
|
|
@@ -180,7 +180,7 @@ const MoonUIBreadcrumbLinkPro = React.forwardRef<HTMLAnchorElement, React.Anchor
|
|
|
180
180
|
/>
|
|
181
181
|
)
|
|
182
182
|
);
|
|
183
|
-
|
|
183
|
+
MoonUIBreadcrumbLinkPro.displayName = "BreadcrumbLinkPro";
|
|
184
184
|
|
|
185
185
|
const MoonUIBreadcrumbPagePro = React.forwardRef<HTMLSpanElement, React.HTMLAttributes<HTMLSpanElement>>(
|
|
186
186
|
({ className, ...props }, ref) => (
|
|
@@ -194,7 +194,7 @@ const MoonUIBreadcrumbPagePro = React.forwardRef<HTMLSpanElement, React.HTMLAttr
|
|
|
194
194
|
/>
|
|
195
195
|
)
|
|
196
196
|
);
|
|
197
|
-
|
|
197
|
+
MoonUIBreadcrumbPagePro.displayName = "BreadcrumbPagePro";
|
|
198
198
|
|
|
199
199
|
|
|
200
200
|
// Internal aliases for Pro component usage
|
|
@@ -216,7 +216,7 @@ const MoonUIButtonPro = React.forwardRef<HTMLButtonElement, MoonUIButtonProProps
|
|
|
216
216
|
}
|
|
217
217
|
);
|
|
218
218
|
|
|
219
|
-
|
|
219
|
+
MoonUIButtonPro.displayName = "MoonUIButtonPro";
|
|
220
220
|
|
|
221
221
|
export { MoonUIButtonPro, moonUIButtonProVariants };
|
|
222
222
|
|
|
@@ -80,7 +80,7 @@ const MoonUICardPro = React.forwardRef<HTMLDivElement, MoonUICardProProps>(
|
|
|
80
80
|
);
|
|
81
81
|
}
|
|
82
82
|
);
|
|
83
|
-
|
|
83
|
+
MoonUICardPro.displayName = "MoonUICardPro";
|
|
84
84
|
|
|
85
85
|
const MoonUICardHeaderPro = React.forwardRef<
|
|
86
86
|
HTMLDivElement,
|
|
@@ -92,7 +92,7 @@ const MoonUICardHeaderPro = React.forwardRef<
|
|
|
92
92
|
{...props}
|
|
93
93
|
/>
|
|
94
94
|
));
|
|
95
|
-
|
|
95
|
+
MoonUICardHeaderPro.displayName = "MoonUICardHeaderPro";
|
|
96
96
|
|
|
97
97
|
const MoonUICardTitlePro = React.forwardRef<
|
|
98
98
|
HTMLHeadingElement,
|
|
@@ -104,7 +104,7 @@ const MoonUICardTitlePro = React.forwardRef<
|
|
|
104
104
|
{...props}
|
|
105
105
|
/>
|
|
106
106
|
));
|
|
107
|
-
|
|
107
|
+
MoonUICardTitlePro.displayName = "MoonUICardTitlePro";
|
|
108
108
|
|
|
109
109
|
const MoonUICardDescriptionPro = React.forwardRef<
|
|
110
110
|
HTMLParagraphElement,
|
|
@@ -116,7 +116,7 @@ const MoonUICardDescriptionPro = React.forwardRef<
|
|
|
116
116
|
{...props}
|
|
117
117
|
/>
|
|
118
118
|
));
|
|
119
|
-
|
|
119
|
+
MoonUICardDescriptionPro.displayName = "MoonUICardDescriptionPro";
|
|
120
120
|
|
|
121
121
|
const MoonUICardContentPro = React.forwardRef<
|
|
122
122
|
HTMLDivElement,
|
|
@@ -124,7 +124,7 @@ const MoonUICardContentPro = React.forwardRef<
|
|
|
124
124
|
>(({ className, ...props }, ref) => (
|
|
125
125
|
<div ref={ref} className={cn("pt-0", className)} {...props} />
|
|
126
126
|
));
|
|
127
|
-
|
|
127
|
+
MoonUICardContentPro.displayName = "MoonUICardContentPro";
|
|
128
128
|
|
|
129
129
|
const MoonUICardFooterPro = React.forwardRef<
|
|
130
130
|
HTMLDivElement,
|
|
@@ -136,7 +136,7 @@ const MoonUICardFooterPro = React.forwardRef<
|
|
|
136
136
|
{...props}
|
|
137
137
|
/>
|
|
138
138
|
));
|
|
139
|
-
|
|
139
|
+
MoonUICardFooterPro.displayName = "MoonUICardFooterPro";
|
|
140
140
|
|
|
141
141
|
export { MoonUICardPro, MoonUICardHeaderPro, MoonUICardFooterPro, MoonUICardTitlePro, MoonUICardDescriptionPro, MoonUICardContentPro };
|
|
142
142
|
|
|
@@ -257,7 +257,7 @@ const MoonUIDialogHeaderPro = ({
|
|
|
257
257
|
{...props}
|
|
258
258
|
/>
|
|
259
259
|
);
|
|
260
|
-
|
|
260
|
+
MoonUIDialogHeaderPro.displayName = "MoonUIDialogHeaderPro";
|
|
261
261
|
|
|
262
262
|
const MoonUIDialogFooterPro = ({
|
|
263
263
|
className,
|
|
@@ -271,7 +271,7 @@ const MoonUIDialogFooterPro = ({
|
|
|
271
271
|
{...props}
|
|
272
272
|
/>
|
|
273
273
|
);
|
|
274
|
-
|
|
274
|
+
MoonUIDialogFooterPro.displayName = "MoonUIDialogFooterPro";
|
|
275
275
|
|
|
276
276
|
const MoonUIDialogTitlePro = React.forwardRef<
|
|
277
277
|
React.ElementRef<typeof DialogPrimitive.Title>,
|
|
@@ -76,7 +76,7 @@ const MoonUIRadioGroupPro = React.forwardRef<HTMLDivElement, RadioGroupProps>(
|
|
|
76
76
|
);
|
|
77
77
|
}
|
|
78
78
|
);
|
|
79
|
-
|
|
79
|
+
MoonUIRadioGroupPro.displayName = "RadioGroupPro";
|
|
80
80
|
|
|
81
81
|
export interface RadioGroupItemProps
|
|
82
82
|
extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'>,
|
|
@@ -155,7 +155,7 @@ const MoonUIRadioGroupItemPro = React.forwardRef<
|
|
|
155
155
|
</div>
|
|
156
156
|
);
|
|
157
157
|
});
|
|
158
|
-
|
|
158
|
+
MoonUIRadioGroupItemPro.displayName = "RadioGroupItemPro";
|
|
159
159
|
|
|
160
160
|
// Radio Label Component
|
|
161
161
|
interface RadioLabelProps extends React.HTMLAttributes<HTMLLabelElement> {
|
|
@@ -191,7 +191,7 @@ const MoonUIRadioLabelPro = React.forwardRef<HTMLLabelElement, RadioLabelProps>(
|
|
|
191
191
|
);
|
|
192
192
|
}
|
|
193
193
|
);
|
|
194
|
-
|
|
194
|
+
MoonUIRadioLabelPro.displayName = "RadioLabelPro";
|
|
195
195
|
|
|
196
196
|
// Radio Item and Label combination
|
|
197
197
|
interface RadioItemWithLabelProps extends RadioGroupItemProps {
|
|
@@ -238,7 +238,7 @@ const MoonUIRadioItemWithLabelPro = React.forwardRef<
|
|
|
238
238
|
</div>
|
|
239
239
|
);
|
|
240
240
|
});
|
|
241
|
-
|
|
241
|
+
MoonUIRadioItemWithLabelPro.displayName = "RadioItemWithLabelPro";
|
|
242
242
|
|
|
243
243
|
|
|
244
244
|
// Internal aliases for Pro component usage
|
|
@@ -15,7 +15,7 @@ import { cn } from "../../lib/utils"
|
|
|
15
15
|
|
|
16
16
|
// Directly re-exporting the Root component
|
|
17
17
|
const MoonUISelectPro = SelectPrimitive.Root
|
|
18
|
-
|
|
18
|
+
MoonUISelectPro.displayName = "MoonUISelectPro"
|
|
19
19
|
|
|
20
20
|
const MoonUISelectGroupPro = SelectPrimitive.Group
|
|
21
21
|
|
|
@@ -102,7 +102,7 @@ MoonUISelectTrigger.displayName = SelectPrimitive.Trigger.displayName
|
|
|
102
102
|
/**
|
|
103
103
|
* Scroll Up Button Component
|
|
104
104
|
*/
|
|
105
|
-
const
|
|
105
|
+
const MoonUISelectScrollUpButtonPro = React.forwardRef<
|
|
106
106
|
React.ElementRef<typeof SelectPrimitive.ScrollUpButton>,
|
|
107
107
|
React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollUpButton>
|
|
108
108
|
>(({ className, ...props }, ref) => (
|
|
@@ -117,12 +117,12 @@ const MoonUISelectScrollUpButton = React.forwardRef<
|
|
|
117
117
|
<ChevronUp className="h-4 w-4" />
|
|
118
118
|
</SelectPrimitive.ScrollUpButton>
|
|
119
119
|
))
|
|
120
|
-
|
|
120
|
+
MoonUISelectScrollUpButtonPro.displayName = SelectPrimitive.ScrollUpButton.displayName
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
123
|
* Scroll Down Button Component
|
|
124
124
|
*/
|
|
125
|
-
const
|
|
125
|
+
const MoonUISelectScrollDownButtonPro = React.forwardRef<
|
|
126
126
|
React.ElementRef<typeof SelectPrimitive.ScrollDownButton>,
|
|
127
127
|
React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollDownButton>
|
|
128
128
|
>(({ className, ...props }, ref) => (
|
|
@@ -137,7 +137,7 @@ const MoonUISelectScrollDownButton = React.forwardRef<
|
|
|
137
137
|
<ChevronDown className="h-4 w-4" />
|
|
138
138
|
</SelectPrimitive.ScrollDownButton>
|
|
139
139
|
))
|
|
140
|
-
|
|
140
|
+
MoonUISelectScrollDownButtonPro.displayName =
|
|
141
141
|
SelectPrimitive.ScrollDownButton.displayName
|
|
142
142
|
|
|
143
143
|
const MoonUISelectContentPro = React.forwardRef<
|
|
@@ -245,7 +245,7 @@ const MoonUISelectItemPro = React.forwardRef<
|
|
|
245
245
|
)}
|
|
246
246
|
</SelectPrimitive.Item>
|
|
247
247
|
))
|
|
248
|
-
|
|
248
|
+
MoonUISelectItemPro.displayName = SelectPrimitive.Item.displayName
|
|
249
249
|
|
|
250
250
|
const MoonUISelectSeparatorPro = React.forwardRef<
|
|
251
251
|
React.ElementRef<typeof SelectPrimitive.Separator>,
|
|
@@ -267,8 +267,8 @@ export { MoonUISelectPro,
|
|
|
267
267
|
MoonUISelectLabelPro,
|
|
268
268
|
MoonUISelectItemPro,
|
|
269
269
|
MoonUISelectSeparatorPro,
|
|
270
|
-
|
|
271
|
-
|
|
270
|
+
MoonUISelectScrollUpButtonPro as SelectScrollUpButton,
|
|
271
|
+
MoonUISelectScrollDownButtonPro as SelectScrollDownButton,
|
|
272
272
|
};
|
|
273
273
|
|
|
274
274
|
// Backward compatibility exports
|
|
@@ -121,7 +121,7 @@ const MoonUITablePro = React.forwardRef<
|
|
|
121
121
|
</div>
|
|
122
122
|
);
|
|
123
123
|
});
|
|
124
|
-
|
|
124
|
+
MoonUITablePro.displayName = "TablePro";
|
|
125
125
|
|
|
126
126
|
const MoonUITableHeaderPro = React.forwardRef<
|
|
127
127
|
HTMLTableSectionElement,
|
|
@@ -129,7 +129,7 @@ const MoonUITableHeaderPro = React.forwardRef<
|
|
|
129
129
|
>(({ className, ...props }, ref) => (
|
|
130
130
|
<thead ref={ref} className={cn("[&_tr]:border-b", className)} {...props} />
|
|
131
131
|
));
|
|
132
|
-
|
|
132
|
+
MoonUITableHeaderPro.displayName = "TableHeaderPro";
|
|
133
133
|
|
|
134
134
|
interface TableBodyProps extends React.HTMLAttributes<HTMLTableSectionElement> {
|
|
135
135
|
/** Veri yoksa gösterilecek boş durum içeriği */
|
|
@@ -169,7 +169,7 @@ const MoonUITableBodyPro = React.forwardRef<
|
|
|
169
169
|
</tbody>
|
|
170
170
|
)
|
|
171
171
|
});
|
|
172
|
-
|
|
172
|
+
MoonUITableBodyPro.displayName = "TableBodyPro";
|
|
173
173
|
|
|
174
174
|
const MoonUITableFooterPro = React.forwardRef<
|
|
175
175
|
HTMLTableSectionElement,
|
|
@@ -181,7 +181,7 @@ const MoonUITableFooterPro = React.forwardRef<
|
|
|
181
181
|
{...props}
|
|
182
182
|
/>
|
|
183
183
|
));
|
|
184
|
-
|
|
184
|
+
MoonUITableFooterPro.displayName = "TableFooterPro";
|
|
185
185
|
|
|
186
186
|
const MoonUITableRowPro = React.forwardRef<
|
|
187
187
|
HTMLTableRowElement,
|
|
@@ -196,7 +196,7 @@ const MoonUITableRowPro = React.forwardRef<
|
|
|
196
196
|
{...props}
|
|
197
197
|
/>
|
|
198
198
|
));
|
|
199
|
-
|
|
199
|
+
MoonUITableRowPro.displayName = "TableRowPro";
|
|
200
200
|
|
|
201
201
|
interface TableHeadProps extends React.ThHTMLAttributes<HTMLTableCellElement> {
|
|
202
202
|
/** Bu sütun için sıralama durumu */
|
|
@@ -282,7 +282,7 @@ const MoonUITableHeadPro = React.forwardRef<HTMLTableCellElement, TableHeadProps
|
|
|
282
282
|
);
|
|
283
283
|
}
|
|
284
284
|
);
|
|
285
|
-
|
|
285
|
+
MoonUITableHeadPro.displayName = "TableHeadPro";
|
|
286
286
|
|
|
287
287
|
const MoonUITableCellPro = React.forwardRef<
|
|
288
288
|
HTMLTableCellElement,
|
|
@@ -294,7 +294,7 @@ const MoonUITableCellPro = React.forwardRef<
|
|
|
294
294
|
{...props}
|
|
295
295
|
/>
|
|
296
296
|
));
|
|
297
|
-
|
|
297
|
+
MoonUITableCellPro.displayName = "TableCellPro";
|
|
298
298
|
|
|
299
299
|
const MoonUITableCaptionPro = React.forwardRef<
|
|
300
300
|
HTMLTableCaptionElement,
|
|
@@ -306,7 +306,7 @@ const MoonUITableCaptionPro = React.forwardRef<
|
|
|
306
306
|
{...props}
|
|
307
307
|
/>
|
|
308
308
|
));
|
|
309
|
-
|
|
309
|
+
MoonUITableCaptionPro.displayName = "TableCaptionPro";
|
|
310
310
|
|
|
311
311
|
|
|
312
312
|
// Internal aliases for Pro component usage
|