rockin 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -0
- package/dist/chunk-5LE4X3CW.js +201 -0
- package/dist/chunk-ATPUW3SQ.js +250 -0
- package/dist/chunk-BDQJCK4S.js +69 -0
- package/dist/chunk-TDCUCL6G.js +292 -0
- package/dist/chunk-ZPSM44TK.js +8054 -0
- package/dist/gravity.d.ts +2 -0
- package/dist/gravity.js +2 -0
- package/dist/hooks/index.d.ts +53 -0
- package/dist/hooks/index.js +19 -0
- package/dist/icon/index.d.ts +30 -0
- package/dist/icon/index.js +10 -0
- package/dist/index.d.ts +44 -0
- package/dist/index.js +657 -0
- package/dist/lib/index.d.ts +200 -0
- package/dist/lib/index.js +48 -0
- package/dist/loader.css +93 -0
- package/dist/lucide.d.ts +1 -0
- package/dist/lucide.js +2 -0
- package/dist/styles.css +749 -0
- package/dist/ui/index.d.ts +887 -0
- package/dist/ui/index.js +581 -0
- package/dist/utils/index.d.ts +103 -0
- package/dist/utils/index.js +71 -0
- package/dist/utils/parms-client.d.ts +61 -0
- package/dist/utils/parms-client.js +12 -0
- package/package.json +128 -0
package/dist/gravity.js
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export { NuqsAdapter } from 'nuqs/adapters/next/app';
|
|
2
|
+
|
|
3
|
+
declare function useMediaQuery(query: string): boolean;
|
|
4
|
+
|
|
5
|
+
declare function useMounted(): {
|
|
6
|
+
mounted: boolean;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
declare function useNative(): boolean | undefined;
|
|
10
|
+
|
|
11
|
+
declare function searchFocus(): boolean;
|
|
12
|
+
declare function useSearchParams(): {
|
|
13
|
+
cart: boolean;
|
|
14
|
+
setCart: (value: boolean) => void;
|
|
15
|
+
openCart: () => void;
|
|
16
|
+
closeCart: () => void;
|
|
17
|
+
toggleCart: () => void;
|
|
18
|
+
notification: boolean;
|
|
19
|
+
setNotification: (value: boolean) => void;
|
|
20
|
+
openNotification: () => void;
|
|
21
|
+
closeNotification: () => void;
|
|
22
|
+
toggleNotification: () => void;
|
|
23
|
+
setQuery: (value: string) => void;
|
|
24
|
+
setCategory: (value: string) => void;
|
|
25
|
+
setProductStatus: (value: "active" | "draft" | "archived") => void;
|
|
26
|
+
setUser: (value: string) => void;
|
|
27
|
+
setPage: (value: number) => void;
|
|
28
|
+
setUserTransaction: (value: string) => void;
|
|
29
|
+
setTransactionDetail: (value: string) => void;
|
|
30
|
+
commitQuery: () => void;
|
|
31
|
+
clearQuery: () => void;
|
|
32
|
+
clearCategory: () => void;
|
|
33
|
+
clearProductStatus: () => void;
|
|
34
|
+
clearUser: () => void;
|
|
35
|
+
clearTransactionDetail: () => void;
|
|
36
|
+
clearUserTransaction: () => void;
|
|
37
|
+
clearPage: () => void;
|
|
38
|
+
clearAll: () => void;
|
|
39
|
+
isQueryPending: boolean;
|
|
40
|
+
isCategoryPending: boolean;
|
|
41
|
+
isUserPending: boolean;
|
|
42
|
+
setTab: (value: string) => void;
|
|
43
|
+
tab: string;
|
|
44
|
+
query: string;
|
|
45
|
+
category: string;
|
|
46
|
+
productStatus: NonNullable<"active" | "draft" | "archived" | null>;
|
|
47
|
+
user: string;
|
|
48
|
+
transaction: string;
|
|
49
|
+
page: number;
|
|
50
|
+
transactionPage: number;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export { searchFocus, useMediaQuery, useMounted, useNative, useSearchParams };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
NuqsAdapter,
|
|
4
|
+
searchFocus,
|
|
5
|
+
useMediaQuery,
|
|
6
|
+
useMounted,
|
|
7
|
+
useNative,
|
|
8
|
+
useSearchParams
|
|
9
|
+
} from "../chunk-TDCUCL6G.js";
|
|
10
|
+
import "../chunk-BDQJCK4S.js";
|
|
11
|
+
import "../chunk-ATPUW3SQ.js";
|
|
12
|
+
export {
|
|
13
|
+
NuqsAdapter,
|
|
14
|
+
searchFocus,
|
|
15
|
+
useMediaQuery,
|
|
16
|
+
useMounted,
|
|
17
|
+
useNative,
|
|
18
|
+
useSearchParams
|
|
19
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import React__default, { HTMLAttributes } from 'react';
|
|
3
|
+
|
|
4
|
+
interface BellIconHandle {
|
|
5
|
+
startAnimation: () => void;
|
|
6
|
+
stopAnimation: () => void;
|
|
7
|
+
}
|
|
8
|
+
interface BellIconProps extends Omit<HTMLAttributes<HTMLDivElement>, "color" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd" | "onAnimationIteration"> {
|
|
9
|
+
size?: number;
|
|
10
|
+
duration?: number;
|
|
11
|
+
isAnimated?: boolean;
|
|
12
|
+
color?: string;
|
|
13
|
+
}
|
|
14
|
+
declare const BellIcon: React.ForwardRefExoticComponent<BellIconProps & React.RefAttributes<BellIconHandle>>;
|
|
15
|
+
|
|
16
|
+
type IconSwapProps = {
|
|
17
|
+
active: boolean;
|
|
18
|
+
first: React.ReactNode;
|
|
19
|
+
second: React.ReactNode;
|
|
20
|
+
className?: string;
|
|
21
|
+
};
|
|
22
|
+
declare function IconSwap({ active, first, second, className }: IconSwapProps): React.JSX.Element;
|
|
23
|
+
|
|
24
|
+
interface LoaderProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
25
|
+
size?: number;
|
|
26
|
+
color?: string;
|
|
27
|
+
}
|
|
28
|
+
declare const Loader: React__default.ForwardRefExoticComponent<LoaderProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
29
|
+
|
|
30
|
+
export { BellIcon, type BellIconHandle, IconSwap, Loader, type LoaderProps };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AnimatedDiv, AnimatedTAGProps, Apple, Autocomplete, AutocompleteClear, AutocompleteCollection, AutocompleteEmpty, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteInput, AutocompleteItem, AutocompleteList, AutocompletePopup, AutocompleteRow, AutocompleteSeparator, AutocompleteStatus, AutocompleteTrigger, AutocompleteValue, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, BlogCardAnimation, Bottom, Bubble, BubbleContent, BubbleGroup, BubbleReactions, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CustomRendererProps, DEFAULT_I18N, DEFAULT_OPERATORS, DashedSeparator, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Dock, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerSwipeHandle, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EASE_DRAWER, EASE_IN_OUT, EASE_OUT, EASE_OUT_CSS, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FadeContainer, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Filter, FilterFieldConfig, FilterFieldGroup, FilterFieldsConfig, FilterGroup, FilterI18nConfig, FilterOperator, FilterOption, FilterOptionListRenderProps, Filters, FiltersContent, Image, ImageProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, JellyAction, JellyBlob, JellyEmpty, JellyEmptyProps, JellyGroup, JellyLink, JellyMascot, JellyMascotConfig, JellyMini, JellySize, Kbd, KbdGroup, Label, ListItemVariant, Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, NativeAppBridge, OTPInput, OTPInputProps, OTPStatus, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, QuantityInput, RadioGroup, RadioGroupItem, SPRING_LAYOUT, SPRING_MOUSE, SPRING_PANEL, SPRING_PRESS, SPRING_SWAP, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, ShimmerSkeleton, ShimmerSkeletonProps, Skeleton, SkeletonAvatar, SkeletonButton, ShimmerSkeletonProps as SkeletonProps, SkeletonRounded, SkeletonText, SkeletonVariant, Sortable, SortableContent, SortableItem, SortableItemHandle, SortableOverlay, SortableProps, Switch, Textarea, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Top, activityItemAnimation, badgeVariants, buttonGroupVariants, buttonVariants, createFilter, createFilterGroup, fromLeftChildren, fromLeftVariant, fromRightVariant, fromTopVariant, getSkeletonVariantDuration, hamFastFadeContainer, headingFromLeft, kanbanOrderCardAnimation, kanbanOrderCardLayoutTransition, kanbanOrderCardReducedMotionAnimation, mobileNavItemSideways, opacityVariant, popUp, popUpFromBottomForText, resolveSkeletonA11yProps, searchBarSlideAnimation, skeletonRoundedClasses, skeletonVariantDefaultDuration, svgVariant, useAutocompleteFilter, useCarousel, useComboboxAnchor, useJellyMood } from './ui/index.js';
|
|
2
|
+
import * as react$1 from '@ariakit/react';
|
|
3
|
+
export { react$1 as Ariakit };
|
|
4
|
+
export { BellIcon, BellIconHandle, IconSwap, Loader, LoaderProps } from './icon/index.js';
|
|
5
|
+
export { searchFocus, useMediaQuery, useMounted, useNative, useSearchParams } from './hooks/index.js';
|
|
6
|
+
export { NativeSharePayload, NativeSharedFile, NativeUpdateInfo, NativeUpdateState, getNativeAppPlugin, getNativeAppSettingsPlugin, getNativeBrowserPlugin, getNativeCameraPlugin, getNativeImagePickerPlugin, getNativeInAppUpdatePlugin, getNativePaymentPlugin, getNativePlatform, getNativeShareFilePlugin, getNativeSharePlugin, getNativeShareTargetPlugin, getNativeStatusBarPlugin, getNativeThemePlugin, isNativeApp, nativeSharedFileToFile, openExternalUrl, openNativeAppSettings, openUpiPaymentUrl, pickNativeChooserImageFiles, pickNativeImageFiles, saveNativeShareImage, shareNativeOrWeb } from './lib/index.js';
|
|
7
|
+
export { cn } from 'cn';
|
|
8
|
+
export { default as NumberFlow } from '@number-flow/react';
|
|
9
|
+
export * from 'goey-toast';
|
|
10
|
+
export * from 'motion/react';
|
|
11
|
+
export * from 'next-themes';
|
|
12
|
+
export { Autocomplete as AutocompletePrimitive } from '@base-ui/react/autocomplete';
|
|
13
|
+
export { BlobSpeech, BlobSpeechProps, JellyBlobEyeStyle, JellyBlobMascot, JellyBlobMascotDemo, JellyBlobMascotProps, JellyBlobMood } from 'feral-blob';
|
|
14
|
+
export { NuqsAdapter } from 'nuqs/adapters/next/app';
|
|
15
|
+
export { REGEXP_ONLY_DIGITS } from 'input-otp';
|
|
16
|
+
export { useCommandState } from 'cmdk';
|
|
17
|
+
export { useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility } from '@shadcn/react/message-scroller';
|
|
18
|
+
import '@base-ui/react/accordion';
|
|
19
|
+
import 'react';
|
|
20
|
+
import '@base-ui/react/alert-dialog';
|
|
21
|
+
import 'class-variance-authority/types';
|
|
22
|
+
import '@base-ui/react/button';
|
|
23
|
+
import 'class-variance-authority';
|
|
24
|
+
import '@base-ui/react/avatar';
|
|
25
|
+
import '@base-ui/react/use-render';
|
|
26
|
+
import '@base-ui/react/separator';
|
|
27
|
+
import 'embla-carousel-react';
|
|
28
|
+
import 'recharts';
|
|
29
|
+
import '@base-ui/react/checkbox';
|
|
30
|
+
import '@base-ui/react';
|
|
31
|
+
import '@base-ui/react/dialog';
|
|
32
|
+
import 'lucide-react';
|
|
33
|
+
import '@base-ui/react/drawer';
|
|
34
|
+
import '@base-ui/react/menu';
|
|
35
|
+
import 'next/image';
|
|
36
|
+
import '@base-ui/react/popover';
|
|
37
|
+
import '@base-ui/react/radio';
|
|
38
|
+
import '@base-ui/react/radio-group';
|
|
39
|
+
import '@base-ui/react/scroll-area';
|
|
40
|
+
import '@base-ui/react/select';
|
|
41
|
+
import '@dnd-kit/core';
|
|
42
|
+
import '@dnd-kit/sortable';
|
|
43
|
+
import '@base-ui/react/switch';
|
|
44
|
+
import '@base-ui/react/tooltip';
|