@moontra/moonui-pro 2.2.14 → 2.2.15
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 -39
- package/package.json +1 -1
- package/src/components/ui/avatar.tsx +3 -3
- package/src/components/ui/checkbox.tsx +4 -4
- package/src/components/ui/dialog.tsx +5 -5
- package/src/components/ui/dropdown-menu.tsx +1 -1
- package/src/components/ui/label.tsx +1 -1
- package/src/components/ui/popover.tsx +4 -4
- package/src/components/ui/progress.tsx +1 -1
- package/src/components/ui/select.tsx +1 -1
- package/src/components/ui/separator.tsx +1 -1
- package/src/components/ui/switch.tsx +1 -1
- package/src/components/ui/tabs.tsx +4 -4
- package/src/components/ui/toast.tsx +6 -6
- package/src/components/ui/tooltip.tsx +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1966,7 +1966,7 @@ var MoonUIAvatarPro = t.forwardRef(({ className, size, radius, variant, ...props
|
|
|
1966
1966
|
...props
|
|
1967
1967
|
}
|
|
1968
1968
|
));
|
|
1969
|
-
|
|
1969
|
+
MoonUIAvatarPro.displayName = AvatarPrimitive.Root.displayName;
|
|
1970
1970
|
var MoonUIAvatarImagePro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1971
1971
|
AvatarPrimitive.Image,
|
|
1972
1972
|
{
|
|
@@ -1975,7 +1975,7 @@ var MoonUIAvatarImagePro = t.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
1975
1975
|
...props
|
|
1976
1976
|
}
|
|
1977
1977
|
));
|
|
1978
|
-
|
|
1978
|
+
MoonUIAvatarImagePro.displayName = AvatarPrimitive.Image.displayName;
|
|
1979
1979
|
var MoonUIAvatarFallbackPro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1980
1980
|
AvatarPrimitive.Fallback,
|
|
1981
1981
|
{
|
|
@@ -1987,7 +1987,7 @@ var MoonUIAvatarFallbackPro = t.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1987
1987
|
...props
|
|
1988
1988
|
}
|
|
1989
1989
|
));
|
|
1990
|
-
|
|
1990
|
+
MoonUIAvatarFallbackPro.displayName = AvatarPrimitive.Fallback.displayName;
|
|
1991
1991
|
var MoonUIAvatarGroup = t.forwardRef(
|
|
1992
1992
|
({ className, limit, avatars, overlapOffset = -8, ...props }, ref) => {
|
|
1993
1993
|
const visibleAvatars = limit ? avatars.slice(0, limit) : avatars;
|
|
@@ -2842,8 +2842,8 @@ var MoonUICheckboxPro = t.forwardRef(({
|
|
|
2842
2842
|
}
|
|
2843
2843
|
);
|
|
2844
2844
|
});
|
|
2845
|
-
|
|
2846
|
-
|
|
2845
|
+
MoonUICheckboxPro.displayName = CheckboxPrimitive.Root.displayName;
|
|
2846
|
+
t.forwardRef(
|
|
2847
2847
|
({ className, orientation = "vertical", spacing = "1rem", children, ...props }, ref) => {
|
|
2848
2848
|
return /* @__PURE__ */ jsx(
|
|
2849
2849
|
"div",
|
|
@@ -2862,7 +2862,7 @@ var MoonUICheckboxGroup = t.forwardRef(
|
|
|
2862
2862
|
);
|
|
2863
2863
|
}
|
|
2864
2864
|
);
|
|
2865
|
-
|
|
2865
|
+
MoonUICheckboxGroupPro.displayName = "CheckboxGroup";
|
|
2866
2866
|
var MoonUICheckboxLabel = t.forwardRef(
|
|
2867
2867
|
({ className, htmlFor, children, position = "end", disabled = false, ...props }, ref) => {
|
|
2868
2868
|
return /* @__PURE__ */ jsx(
|
|
@@ -2882,8 +2882,8 @@ var MoonUICheckboxLabel = t.forwardRef(
|
|
|
2882
2882
|
);
|
|
2883
2883
|
}
|
|
2884
2884
|
);
|
|
2885
|
-
|
|
2886
|
-
|
|
2885
|
+
MoonUICheckboxLabelPro.displayName = "CheckboxLabel";
|
|
2886
|
+
t.forwardRef(({
|
|
2887
2887
|
id,
|
|
2888
2888
|
label,
|
|
2889
2889
|
labelPosition = "end",
|
|
@@ -2916,7 +2916,7 @@ var MoonUICheckboxWithLabel = t.forwardRef(({
|
|
|
2916
2916
|
)
|
|
2917
2917
|
] });
|
|
2918
2918
|
});
|
|
2919
|
-
|
|
2919
|
+
MoonUICheckboxWithLabelPro.displayName = "CheckboxWithLabel";
|
|
2920
2920
|
|
|
2921
2921
|
// node_modules/@radix-ui/primitive/dist/index.mjs
|
|
2922
2922
|
function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
|
|
@@ -4018,7 +4018,7 @@ var MoonUIDialogOverlay = t.forwardRef(({ className, variant, animation, ...prop
|
|
|
4018
4018
|
...props
|
|
4019
4019
|
}
|
|
4020
4020
|
));
|
|
4021
|
-
|
|
4021
|
+
MoonUIDialogOverlayPro.displayName = DialogPrimitive.Overlay.displayName;
|
|
4022
4022
|
var dialogContentVariants = cva(
|
|
4023
4023
|
"fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background shadow-lg",
|
|
4024
4024
|
{
|
|
@@ -4153,7 +4153,7 @@ var MoonUIDialogContentPro = t.forwardRef(
|
|
|
4153
4153
|
] });
|
|
4154
4154
|
}
|
|
4155
4155
|
);
|
|
4156
|
-
|
|
4156
|
+
MoonUIDialogContentPro.displayName = DialogPrimitive.Content.displayName;
|
|
4157
4157
|
var MoonUIDialogHeaderPro = ({
|
|
4158
4158
|
className,
|
|
4159
4159
|
...props
|
|
@@ -4193,7 +4193,7 @@ var MoonUIDialogTitlePro = t.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
4193
4193
|
...props
|
|
4194
4194
|
}
|
|
4195
4195
|
));
|
|
4196
|
-
|
|
4196
|
+
MoonUIDialogTitlePro.displayName = DialogPrimitive.Title.displayName;
|
|
4197
4197
|
var MoonUIDialogDescriptionPro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
4198
4198
|
DialogPrimitive.Description,
|
|
4199
4199
|
{
|
|
@@ -4205,8 +4205,8 @@ var MoonUIDialogDescriptionPro = t.forwardRef(({ className, ...props }, ref) =>
|
|
|
4205
4205
|
...props
|
|
4206
4206
|
}
|
|
4207
4207
|
));
|
|
4208
|
-
|
|
4209
|
-
|
|
4208
|
+
MoonUIDialogDescriptionPro.displayName = DialogPrimitive.Description.displayName;
|
|
4209
|
+
t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
4210
4210
|
"form",
|
|
4211
4211
|
{
|
|
4212
4212
|
ref,
|
|
@@ -4214,7 +4214,7 @@ var MoonUIDialogForm = t.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
4214
4214
|
...props
|
|
4215
4215
|
}
|
|
4216
4216
|
));
|
|
4217
|
-
|
|
4217
|
+
MoonUIDialogFormPro.displayName = "DialogForm";
|
|
4218
4218
|
var MoonUIcommandVariantsPro = cva(
|
|
4219
4219
|
"flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
|
|
4220
4220
|
{
|
|
@@ -4362,7 +4362,7 @@ var MoonUIDropdownMenuSubTriggerPro = t.forwardRef(({ className, inset, children
|
|
|
4362
4362
|
]
|
|
4363
4363
|
}
|
|
4364
4364
|
));
|
|
4365
|
-
|
|
4365
|
+
MoonUIDropdownMenuSubTriggerPro.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
|
|
4366
4366
|
var MoonUIDropdownMenuSubContentPro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
4367
4367
|
DropdownMenuPrimitive.SubContent,
|
|
4368
4368
|
{
|
|
@@ -4624,7 +4624,7 @@ var MoonUILabelPro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
4624
4624
|
...props
|
|
4625
4625
|
}
|
|
4626
4626
|
));
|
|
4627
|
-
|
|
4627
|
+
MoonUILabelPro.displayName = LabelPrimitive.Root.displayName;
|
|
4628
4628
|
var MoonUIPaginationPro = ({ className, ...props }) => /* @__PURE__ */ jsx(
|
|
4629
4629
|
"nav",
|
|
4630
4630
|
{
|
|
@@ -4809,7 +4809,10 @@ var MoonUIPopoverContentPro = t.forwardRef(({
|
|
|
4809
4809
|
}
|
|
4810
4810
|
)
|
|
4811
4811
|
] }));
|
|
4812
|
-
|
|
4812
|
+
MoonUIPopoverContentPro.displayName = PopoverPrimitive.Content.displayName;
|
|
4813
|
+
MoonUIPopoverSeparatorPro.displayName = "PopoverSeparator";
|
|
4814
|
+
MoonUIPopoverHeaderPro.displayName = "PopoverHeader";
|
|
4815
|
+
MoonUIPopoverFooterPro.displayName = "PopoverFooter";
|
|
4813
4816
|
function createContextScope2(scopeName, createContextScopeDeps = []) {
|
|
4814
4817
|
let defaultContexts = [];
|
|
4815
4818
|
function createContext32(rootComponentName, defaultContext) {
|
|
@@ -4974,7 +4977,7 @@ var MoonUIProgressPro = t.forwardRef(({ className, value, ...props }, ref) => /*
|
|
|
4974
4977
|
)
|
|
4975
4978
|
}
|
|
4976
4979
|
));
|
|
4977
|
-
|
|
4980
|
+
MoonUIProgressPro.displayName = Root10.displayName;
|
|
4978
4981
|
var MoonUIradioGroupItemVariantsPro = cva(
|
|
4979
4982
|
"aspect-square border focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
4980
4983
|
{
|
|
@@ -5148,7 +5151,7 @@ var MoonUISelectTriggerPro = t.forwardRef(({ className, children, variant = "sta
|
|
|
5148
5151
|
]
|
|
5149
5152
|
}
|
|
5150
5153
|
));
|
|
5151
|
-
|
|
5154
|
+
MoonUISelectTriggerPro.displayName = SelectPrimitive.Trigger.displayName;
|
|
5152
5155
|
var MoonUISelectScrollUpButtonPro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
5153
5156
|
SelectPrimitive.ScrollUpButton,
|
|
5154
5157
|
{
|
|
@@ -5376,7 +5379,7 @@ var MoonUISeparatorPro = t.forwardRef(
|
|
|
5376
5379
|
}
|
|
5377
5380
|
)
|
|
5378
5381
|
);
|
|
5379
|
-
|
|
5382
|
+
MoonUISeparatorPro.displayName = SeparatorPrimitive.Root.displayName;
|
|
5380
5383
|
function MoonUISkeleton({
|
|
5381
5384
|
className,
|
|
5382
5385
|
...props
|
|
@@ -5670,7 +5673,7 @@ var MoonUISwitchPro = t.forwardRef(({ className, size = "md", variant = "primary
|
|
|
5670
5673
|
rightIcon && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: rightIcon }),
|
|
5671
5674
|
description && /* @__PURE__ */ jsx("span", { className: "text-sm text-muted-foreground", children: description })
|
|
5672
5675
|
] }));
|
|
5673
|
-
|
|
5676
|
+
MoonUISwitchPro.displayName = SwitchPrimitives.Root.displayName;
|
|
5674
5677
|
var MoonUItableVariantsPro = cva(
|
|
5675
5678
|
"w-full caption-bottom text-sm",
|
|
5676
5679
|
{
|
|
@@ -5823,7 +5826,7 @@ var MoonUITabsPro = t.forwardRef(({ vertical = false, ...props }, ref) => /* @__
|
|
|
5823
5826
|
...props
|
|
5824
5827
|
}
|
|
5825
5828
|
));
|
|
5826
|
-
|
|
5829
|
+
MoonUITabsPro.displayName = TabsPrimitive.Root.displayName;
|
|
5827
5830
|
var tabsListVariants = cva(
|
|
5828
5831
|
"flex items-center justify-start transition-all duration-200",
|
|
5829
5832
|
{
|
|
@@ -5858,7 +5861,7 @@ var MoonUITabsListPro = t.forwardRef(({ className, variant, orientation, fullWid
|
|
|
5858
5861
|
...props
|
|
5859
5862
|
}
|
|
5860
5863
|
));
|
|
5861
|
-
|
|
5864
|
+
MoonUITabsListPro.displayName = TabsPrimitive.List.displayName;
|
|
5862
5865
|
var tabsTriggerVariants = cva(
|
|
5863
5866
|
"inline-flex items-center justify-center whitespace-nowrap font-medium ring-offset-background transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
|
5864
5867
|
{
|
|
@@ -5921,7 +5924,7 @@ var MoonUITabsTriggerPro = t.forwardRef(({
|
|
|
5921
5924
|
]
|
|
5922
5925
|
}
|
|
5923
5926
|
));
|
|
5924
|
-
|
|
5927
|
+
MoonUITabsTriggerPro.displayName = TabsPrimitive.Trigger.displayName;
|
|
5925
5928
|
var MoonUITabsContentPro = t.forwardRef(({ className, animated = false, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
5926
5929
|
TabsPrimitive.Content,
|
|
5927
5930
|
{
|
|
@@ -5934,7 +5937,7 @@ var MoonUITabsContentPro = t.forwardRef(({ className, animated = false, ...props
|
|
|
5934
5937
|
...props
|
|
5935
5938
|
}
|
|
5936
5939
|
));
|
|
5937
|
-
|
|
5940
|
+
MoonUITabsContentPro.displayName = TabsPrimitive.Content.displayName;
|
|
5938
5941
|
var MoonUITextareaPro = t__default.forwardRef(
|
|
5939
5942
|
({ className, ...props }, ref) => {
|
|
5940
5943
|
return /* @__PURE__ */ jsx(
|
|
@@ -5951,7 +5954,7 @@ var MoonUITextareaPro = t__default.forwardRef(
|
|
|
5951
5954
|
}
|
|
5952
5955
|
);
|
|
5953
5956
|
MoonUITextareaPro.displayName = "MoonUITextareaPro";
|
|
5954
|
-
|
|
5957
|
+
t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
5955
5958
|
ToastPrimitives.Viewport,
|
|
5956
5959
|
{
|
|
5957
5960
|
ref,
|
|
@@ -5962,7 +5965,7 @@ var MoonUIToastViewport = t.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
5962
5965
|
...props
|
|
5963
5966
|
}
|
|
5964
5967
|
));
|
|
5965
|
-
|
|
5968
|
+
MoonUIToastViewportPro.displayName = ToastPrimitives.Viewport.displayName;
|
|
5966
5969
|
var moonUIToastVariantsPro = cva(
|
|
5967
5970
|
"group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-8 shadow-sm transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
|
|
5968
5971
|
{
|
|
@@ -5990,8 +5993,8 @@ var MoonUIToastPro = t.forwardRef(({ className, variant, ...props }, ref) => {
|
|
|
5990
5993
|
}
|
|
5991
5994
|
);
|
|
5992
5995
|
});
|
|
5993
|
-
|
|
5994
|
-
|
|
5996
|
+
MoonUIToastPro.displayName = ToastPrimitives.Root.displayName;
|
|
5997
|
+
t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
5995
5998
|
ToastPrimitives.Action,
|
|
5996
5999
|
{
|
|
5997
6000
|
ref,
|
|
@@ -6002,8 +6005,8 @@ var MoonUIToastAction = t.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
6002
6005
|
...props
|
|
6003
6006
|
}
|
|
6004
6007
|
));
|
|
6005
|
-
|
|
6006
|
-
|
|
6008
|
+
MoonUIToastActionPro.displayName = ToastPrimitives.Action.displayName;
|
|
6009
|
+
t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
6007
6010
|
ToastPrimitives.Close,
|
|
6008
6011
|
{
|
|
6009
6012
|
ref,
|
|
@@ -6016,8 +6019,8 @@ var MoonUIToastClose = t.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
6016
6019
|
children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4" })
|
|
6017
6020
|
}
|
|
6018
6021
|
));
|
|
6019
|
-
|
|
6020
|
-
|
|
6022
|
+
MoonUIToastClosePro.displayName = ToastPrimitives.Close.displayName;
|
|
6023
|
+
t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
6021
6024
|
ToastPrimitives.Title,
|
|
6022
6025
|
{
|
|
6023
6026
|
ref,
|
|
@@ -6025,8 +6028,8 @@ var MoonUIToastTitle = t.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
6025
6028
|
...props
|
|
6026
6029
|
}
|
|
6027
6030
|
));
|
|
6028
|
-
|
|
6029
|
-
|
|
6031
|
+
MoonUIToastTitlePro.displayName = ToastPrimitives.Title.displayName;
|
|
6032
|
+
t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
6030
6033
|
ToastPrimitives.Description,
|
|
6031
6034
|
{
|
|
6032
6035
|
ref,
|
|
@@ -6034,7 +6037,7 @@ var MoonUIToastDescription = t.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
6034
6037
|
...props
|
|
6035
6038
|
}
|
|
6036
6039
|
));
|
|
6037
|
-
|
|
6040
|
+
MoonUIToastDescriptionPro.displayName = ToastPrimitives.Description.displayName;
|
|
6038
6041
|
var TOAST_LIMIT = 5;
|
|
6039
6042
|
var TOAST_REMOVE_DELAY = 1e6;
|
|
6040
6043
|
var toastTimeouts = /* @__PURE__ */ new Map();
|
|
@@ -6289,7 +6292,7 @@ var tooltipVariants = cva(
|
|
|
6289
6292
|
);
|
|
6290
6293
|
var MoonUITooltipPro = TooltipPrimitive.Root;
|
|
6291
6294
|
var MoonUITooltipTriggerPro = TooltipPrimitive.Trigger;
|
|
6292
|
-
|
|
6295
|
+
t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
6293
6296
|
TooltipPrimitive.Arrow,
|
|
6294
6297
|
{
|
|
6295
6298
|
ref,
|
|
@@ -6297,7 +6300,7 @@ var MoonUITooltipArrow = t.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
6297
6300
|
...props
|
|
6298
6301
|
}
|
|
6299
6302
|
));
|
|
6300
|
-
|
|
6303
|
+
MoonUITooltipArrowPro.displayName = TooltipPrimitive.Arrow.displayName;
|
|
6301
6304
|
var MoonUITooltipContentPro = t.forwardRef(({ className, variant, size, showArrow = false, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
6302
6305
|
TooltipPrimitive.Content,
|
|
6303
6306
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.15",
|
|
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",
|
|
@@ -53,7 +53,7 @@ const MoonUIAvatarPro = React.forwardRef<
|
|
|
53
53
|
{...props}
|
|
54
54
|
/>
|
|
55
55
|
));
|
|
56
|
-
|
|
56
|
+
MoonUIAvatarPro.displayName = AvatarPrimitive.Root.displayName;
|
|
57
57
|
|
|
58
58
|
const MoonUIAvatarImagePro = React.forwardRef<
|
|
59
59
|
React.ElementRef<typeof AvatarPrimitive.Image>,
|
|
@@ -65,7 +65,7 @@ const MoonUIAvatarImagePro = React.forwardRef<
|
|
|
65
65
|
{...props}
|
|
66
66
|
/>
|
|
67
67
|
));
|
|
68
|
-
|
|
68
|
+
MoonUIAvatarImagePro.displayName = AvatarPrimitive.Image.displayName;
|
|
69
69
|
|
|
70
70
|
const MoonUIAvatarFallbackPro = React.forwardRef<
|
|
71
71
|
React.ElementRef<typeof AvatarPrimitive.Fallback>,
|
|
@@ -80,7 +80,7 @@ const MoonUIAvatarFallbackPro = React.forwardRef<
|
|
|
80
80
|
{...props}
|
|
81
81
|
/>
|
|
82
82
|
));
|
|
83
|
-
|
|
83
|
+
MoonUIAvatarFallbackPro.displayName = AvatarPrimitive.Fallback.displayName;
|
|
84
84
|
|
|
85
85
|
// Avatar Group Component for displaying multiple avatars
|
|
86
86
|
interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
@@ -114,7 +114,7 @@ const MoonUICheckboxPro = React.forwardRef<
|
|
|
114
114
|
</CheckboxPrimitive.Root>
|
|
115
115
|
);
|
|
116
116
|
});
|
|
117
|
-
|
|
117
|
+
MoonUICheckboxPro.displayName = CheckboxPrimitive.Root.displayName;
|
|
118
118
|
|
|
119
119
|
// CheckboxGroup bileşeni
|
|
120
120
|
interface CheckboxGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
@@ -151,7 +151,7 @@ const MoonUICheckboxGroup = React.forwardRef<HTMLDivElement, CheckboxGroupProps>
|
|
|
151
151
|
);
|
|
152
152
|
}
|
|
153
153
|
);
|
|
154
|
-
|
|
154
|
+
MoonUICheckboxGroupPro.displayName = "CheckboxGroup";
|
|
155
155
|
|
|
156
156
|
// CheckboxLabel bileşeni
|
|
157
157
|
interface CheckboxLabelProps extends React.HTMLAttributes<HTMLLabelElement> {
|
|
@@ -192,7 +192,7 @@ const MoonUICheckboxLabel = React.forwardRef<HTMLLabelElement, CheckboxLabelProp
|
|
|
192
192
|
);
|
|
193
193
|
}
|
|
194
194
|
);
|
|
195
|
-
|
|
195
|
+
MoonUICheckboxLabelPro.displayName = "CheckboxLabel";
|
|
196
196
|
|
|
197
197
|
// Checkbox ve Label içeren bileşen
|
|
198
198
|
interface CheckboxWithLabelProps extends MoonUICheckboxProProps {
|
|
@@ -251,7 +251,7 @@ const MoonUICheckboxWithLabel = React.forwardRef<
|
|
|
251
251
|
</div>
|
|
252
252
|
);
|
|
253
253
|
});
|
|
254
|
-
|
|
254
|
+
MoonUICheckboxWithLabelPro.displayName = "CheckboxWithLabel";
|
|
255
255
|
|
|
256
256
|
export { MoonUICheckboxPro, MoonUICheckboxGroup as CheckboxGroup, MoonUICheckboxLabel as CheckboxLabel, MoonUICheckboxWithLabel as CheckboxWithLabel };
|
|
257
257
|
|
|
@@ -57,7 +57,7 @@ const MoonUIDialogOverlay = React.forwardRef<
|
|
|
57
57
|
{...props}
|
|
58
58
|
/>
|
|
59
59
|
));
|
|
60
|
-
|
|
60
|
+
MoonUIDialogOverlayPro.displayName = DialogPrimitive.Overlay.displayName;
|
|
61
61
|
|
|
62
62
|
const dialogContentVariants = cva(
|
|
63
63
|
"fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background shadow-lg",
|
|
@@ -243,7 +243,7 @@ const MoonUIDialogContentPro = React.forwardRef<
|
|
|
243
243
|
);
|
|
244
244
|
}
|
|
245
245
|
);
|
|
246
|
-
|
|
246
|
+
MoonUIDialogContentPro.displayName = DialogPrimitive.Content.displayName;
|
|
247
247
|
|
|
248
248
|
const MoonUIDialogHeaderPro = ({
|
|
249
249
|
className,
|
|
@@ -286,7 +286,7 @@ const MoonUIDialogTitlePro = React.forwardRef<
|
|
|
286
286
|
{...props}
|
|
287
287
|
/>
|
|
288
288
|
));
|
|
289
|
-
|
|
289
|
+
MoonUIDialogTitlePro.displayName = DialogPrimitive.Title.displayName;
|
|
290
290
|
|
|
291
291
|
const MoonUIDialogDescriptionPro = React.forwardRef<
|
|
292
292
|
React.ElementRef<typeof DialogPrimitive.Description>,
|
|
@@ -301,7 +301,7 @@ const MoonUIDialogDescriptionPro = React.forwardRef<
|
|
|
301
301
|
{...props}
|
|
302
302
|
/>
|
|
303
303
|
));
|
|
304
|
-
|
|
304
|
+
MoonUIDialogDescriptionPro.displayName = DialogPrimitive.Description.displayName;
|
|
305
305
|
|
|
306
306
|
/**
|
|
307
307
|
* Dialog-Form integration for use with form support
|
|
@@ -317,7 +317,7 @@ const MoonUIDialogForm = React.forwardRef<
|
|
|
317
317
|
{...props}
|
|
318
318
|
/>
|
|
319
319
|
));
|
|
320
|
-
|
|
320
|
+
MoonUIDialogFormPro.displayName = "DialogForm";
|
|
321
321
|
|
|
322
322
|
export { MoonUIDialogPro,
|
|
323
323
|
MoonUIDialogTriggerPro,
|
|
@@ -37,7 +37,7 @@ const MoonUIDropdownMenuSubTriggerPro = React.forwardRef<
|
|
|
37
37
|
<ChevronRight className="ml-auto h-4 w-4" />
|
|
38
38
|
</DropdownMenuPrimitive.SubTrigger>
|
|
39
39
|
))
|
|
40
|
-
|
|
40
|
+
MoonUIDropdownMenuSubTriggerPro.displayName =
|
|
41
41
|
DropdownMenuPrimitive.SubTrigger.displayName
|
|
42
42
|
|
|
43
43
|
const MoonUIDropdownMenuSubContentPro = React.forwardRef<
|
|
@@ -130,7 +130,7 @@ const MoonUIPopoverContentPro = React.forwardRef<
|
|
|
130
130
|
/>
|
|
131
131
|
</>
|
|
132
132
|
));
|
|
133
|
-
|
|
133
|
+
MoonUIPopoverContentPro.displayName = PopoverPrimitive.Content.displayName;
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
136
|
* PopoverClose bileşeni
|
|
@@ -146,7 +146,7 @@ const MoonUIPopoverSeparator = ({ className, ...props }: React.HTMLAttributes<HT
|
|
|
146
146
|
{...props}
|
|
147
147
|
/>
|
|
148
148
|
);
|
|
149
|
-
|
|
149
|
+
MoonUIPopoverSeparatorPro.displayName = "PopoverSeparator";
|
|
150
150
|
|
|
151
151
|
/**
|
|
152
152
|
* Popover başlık bileşeni
|
|
@@ -157,7 +157,7 @@ const MoonUIPopoverHeader = ({ className, ...props }: React.HTMLAttributes<HTMLD
|
|
|
157
157
|
{...props}
|
|
158
158
|
/>
|
|
159
159
|
);
|
|
160
|
-
|
|
160
|
+
MoonUIPopoverHeaderPro.displayName = "PopoverHeader";
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
163
|
* Popover footer bileşeni
|
|
@@ -168,7 +168,7 @@ const MoonUIPopoverFooter = ({ className, ...props }: React.HTMLAttributes<HTMLD
|
|
|
168
168
|
{...props}
|
|
169
169
|
/>
|
|
170
170
|
);
|
|
171
|
-
|
|
171
|
+
MoonUIPopoverFooterPro.displayName = "PopoverFooter";
|
|
172
172
|
|
|
173
173
|
export { MoonUIPopoverPro,
|
|
174
174
|
MoonUIPopoverTriggerPro,
|
|
@@ -22,7 +22,7 @@ const MoonUIProgressPro = React.forwardRef<
|
|
|
22
22
|
/>
|
|
23
23
|
</ProgressPrimitive.Root>
|
|
24
24
|
))
|
|
25
|
-
|
|
25
|
+
MoonUIProgressPro.displayName = ProgressPrimitive.Root.displayName
|
|
26
26
|
|
|
27
27
|
export { MoonUIProgressPro };
|
|
28
28
|
|
|
@@ -97,7 +97,7 @@ const MoonUISelectTriggerPro = React.forwardRef<
|
|
|
97
97
|
)}
|
|
98
98
|
</SelectPrimitive.Trigger>
|
|
99
99
|
))
|
|
100
|
-
|
|
100
|
+
MoonUISelectTriggerPro.displayName = SelectPrimitive.Trigger.displayName
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
103
|
* Scroll Up Button Component
|
|
@@ -135,7 +135,7 @@ const MoonUISeparatorPro = React.forwardRef<
|
|
|
135
135
|
/>
|
|
136
136
|
)
|
|
137
137
|
)
|
|
138
|
-
|
|
138
|
+
MoonUISeparatorPro.displayName = SeparatorPrimitive.Root.displayName
|
|
139
139
|
|
|
140
140
|
export { MoonUISeparatorPro, moonUISeparatorVariantsPro };
|
|
141
141
|
|
|
@@ -77,7 +77,7 @@ const MoonUISwitchPro = React.forwardRef<
|
|
|
77
77
|
{description && <span className="text-sm text-muted-foreground">{description}</span>}
|
|
78
78
|
</div>
|
|
79
79
|
))
|
|
80
|
-
|
|
80
|
+
MoonUISwitchPro.displayName = SwitchPrimitives.Root.displayName
|
|
81
81
|
|
|
82
82
|
export { MoonUISwitchPro };
|
|
83
83
|
|
|
@@ -23,7 +23,7 @@ const MoonUITabsPro = React.forwardRef<
|
|
|
23
23
|
/>
|
|
24
24
|
));
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
MoonUITabsPro.displayName = TabsPrimitive.Root.displayName;
|
|
27
27
|
|
|
28
28
|
/* -------------------------------------------------------------------------------------------------
|
|
29
29
|
* TabsList
|
|
@@ -73,7 +73,7 @@ const MoonUITabsListPro = React.forwardRef<
|
|
|
73
73
|
/>
|
|
74
74
|
));
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
MoonUITabsListPro.displayName = TabsPrimitive.List.displayName;
|
|
77
77
|
|
|
78
78
|
/* -------------------------------------------------------------------------------------------------
|
|
79
79
|
* TabsTrigger
|
|
@@ -164,7 +164,7 @@ const MoonUITabsTriggerPro = React.forwardRef<
|
|
|
164
164
|
</TabsPrimitive.Trigger>
|
|
165
165
|
));
|
|
166
166
|
|
|
167
|
-
|
|
167
|
+
MoonUITabsTriggerPro.displayName = TabsPrimitive.Trigger.displayName;
|
|
168
168
|
|
|
169
169
|
/* -------------------------------------------------------------------------------------------------
|
|
170
170
|
* TabsContent
|
|
@@ -190,7 +190,7 @@ const MoonUITabsContentPro = React.forwardRef<
|
|
|
190
190
|
/>
|
|
191
191
|
));
|
|
192
192
|
|
|
193
|
-
|
|
193
|
+
MoonUITabsContentPro.displayName = TabsPrimitive.Content.displayName;
|
|
194
194
|
|
|
195
195
|
export { MoonUITabsPro, MoonUITabsListPro, MoonUITabsTriggerPro, MoonUITabsContentPro };
|
|
196
196
|
|
|
@@ -21,7 +21,7 @@ const MoonUIToastViewport = React.forwardRef<
|
|
|
21
21
|
{...props}
|
|
22
22
|
/>
|
|
23
23
|
));
|
|
24
|
-
|
|
24
|
+
MoonUIToastViewportPro.displayName = ToastPrimitives.Viewport.displayName;
|
|
25
25
|
|
|
26
26
|
const moonUIToastVariantsPro = cva(
|
|
27
27
|
"group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-8 shadow-sm transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
|
|
@@ -62,7 +62,7 @@ const MoonUIToastPro = React.forwardRef<
|
|
|
62
62
|
/>
|
|
63
63
|
);
|
|
64
64
|
});
|
|
65
|
-
|
|
65
|
+
MoonUIToastPro.displayName = ToastPrimitives.Root.displayName;
|
|
66
66
|
|
|
67
67
|
const MoonUIToastAction = React.forwardRef<
|
|
68
68
|
React.ElementRef<typeof ToastPrimitives.Action>,
|
|
@@ -77,7 +77,7 @@ const MoonUIToastAction = React.forwardRef<
|
|
|
77
77
|
{...props}
|
|
78
78
|
/>
|
|
79
79
|
));
|
|
80
|
-
|
|
80
|
+
MoonUIToastActionPro.displayName = ToastPrimitives.Action.displayName;
|
|
81
81
|
|
|
82
82
|
const MoonUIToastClose = React.forwardRef<
|
|
83
83
|
React.ElementRef<typeof ToastPrimitives.Close>,
|
|
@@ -95,7 +95,7 @@ const MoonUIToastClose = React.forwardRef<
|
|
|
95
95
|
<X className="h-4 w-4" />
|
|
96
96
|
</ToastPrimitives.Close>
|
|
97
97
|
));
|
|
98
|
-
|
|
98
|
+
MoonUIToastClosePro.displayName = ToastPrimitives.Close.displayName;
|
|
99
99
|
|
|
100
100
|
const MoonUIToastTitle = React.forwardRef<
|
|
101
101
|
React.ElementRef<typeof ToastPrimitives.Title>,
|
|
@@ -107,7 +107,7 @@ const MoonUIToastTitle = React.forwardRef<
|
|
|
107
107
|
{...props}
|
|
108
108
|
/>
|
|
109
109
|
));
|
|
110
|
-
|
|
110
|
+
MoonUIToastTitlePro.displayName = ToastPrimitives.Title.displayName;
|
|
111
111
|
|
|
112
112
|
const MoonUIToastDescription = React.forwardRef<
|
|
113
113
|
React.ElementRef<typeof ToastPrimitives.Description>,
|
|
@@ -119,7 +119,7 @@ const MoonUIToastDescription = React.forwardRef<
|
|
|
119
119
|
{...props}
|
|
120
120
|
/>
|
|
121
121
|
));
|
|
122
|
-
|
|
122
|
+
MoonUIToastDescriptionPro.displayName = ToastPrimitives.Description.displayName;
|
|
123
123
|
|
|
124
124
|
type ToastData = {
|
|
125
125
|
id: string;
|
|
@@ -47,7 +47,7 @@ const MoonUITooltipArrow = React.forwardRef<
|
|
|
47
47
|
{...props}
|
|
48
48
|
/>
|
|
49
49
|
))
|
|
50
|
-
|
|
50
|
+
MoonUITooltipArrowPro.displayName = TooltipPrimitive.Arrow.displayName
|
|
51
51
|
|
|
52
52
|
export interface MoonUITooltipContentProProps
|
|
53
53
|
extends React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>,
|