rockin 0.0.11 → 0.0.12
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/ui/index.d.ts +47 -1
- package/dist/ui/index.js +279 -0
- package/package.json +1 -1
package/dist/ui/index.d.ts
CHANGED
|
@@ -884,4 +884,50 @@ declare function Tooltip({ ...props }: Tooltip$1.Root.Props): React$1.JSX.Elemen
|
|
|
884
884
|
declare function TooltipTrigger({ ...props }: Tooltip$1.Trigger.Props): React$1.JSX.Element;
|
|
885
885
|
declare function TooltipContent({ className, side, sideOffset, align, alignOffset, children, ...props }: Tooltip$1.Popup.Props & Pick<Tooltip$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): React$1.JSX.Element;
|
|
886
886
|
|
|
887
|
-
|
|
887
|
+
declare const sizeStyles: {
|
|
888
|
+
readonly xs: {
|
|
889
|
+
readonly container: "h-6 p-0.5";
|
|
890
|
+
readonly button: "size-5";
|
|
891
|
+
readonly value: "w-6";
|
|
892
|
+
readonly text: "text-xs";
|
|
893
|
+
readonly icon: "size-3";
|
|
894
|
+
};
|
|
895
|
+
readonly sm: {
|
|
896
|
+
readonly container: "h-7 p-0.5";
|
|
897
|
+
readonly button: "size-6";
|
|
898
|
+
readonly value: "w-7";
|
|
899
|
+
readonly text: "text-sm";
|
|
900
|
+
readonly icon: "size-3.5";
|
|
901
|
+
};
|
|
902
|
+
readonly default: {
|
|
903
|
+
readonly container: "h-8 p-0.5";
|
|
904
|
+
readonly button: "size-7";
|
|
905
|
+
readonly value: "w-9";
|
|
906
|
+
readonly text: "text-sm";
|
|
907
|
+
readonly icon: "size-3.5";
|
|
908
|
+
};
|
|
909
|
+
readonly lg: {
|
|
910
|
+
readonly container: "h-9 p-1";
|
|
911
|
+
readonly button: "size-8";
|
|
912
|
+
readonly value: "w-11";
|
|
913
|
+
readonly text: "text-[15px]";
|
|
914
|
+
readonly icon: "size-4";
|
|
915
|
+
};
|
|
916
|
+
};
|
|
917
|
+
declare function RollingNumber({ value, format, className, }: {
|
|
918
|
+
value: number;
|
|
919
|
+
format?: (value: number) => string;
|
|
920
|
+
className?: string;
|
|
921
|
+
}): React$1.JSX.Element;
|
|
922
|
+
declare function NumberStepper({ label, value, onChange, min, max, step, className, size, }: {
|
|
923
|
+
label: string;
|
|
924
|
+
value: number;
|
|
925
|
+
onChange: (value: number) => void;
|
|
926
|
+
min?: number;
|
|
927
|
+
max?: number;
|
|
928
|
+
step?: number;
|
|
929
|
+
className?: string;
|
|
930
|
+
size?: keyof typeof sizeStyles;
|
|
931
|
+
}): React$1.JSX.Element;
|
|
932
|
+
|
|
933
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AnimatedDiv, type 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, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type 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, type 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, type Filter, type FilterFieldConfig, type FilterFieldGroup, type FilterFieldsConfig, type FilterGroup, type FilterI18nConfig, type FilterOperator, type FilterOption, type FilterOptionListRenderProps, Filters, FiltersContent, Image, type 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, type JellyEmptyProps, JellyGroup, JellyLink, JellyMascot, type JellyMascotConfig, JellyMini, type JellySize, Kbd, KbdGroup, Label, ListItemVariant, Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, NativeAppBridge, NumberStepper, OTPInput, type OTPInputProps, type OTPStatus, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, QuantityInput, RadioGroup, RadioGroupItem, RollingNumber, SPRING_LAYOUT, SPRING_MOUSE, SPRING_PANEL, SPRING_PRESS, SPRING_SWAP, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, ShimmerSkeleton, type SkeletonProps as ShimmerSkeletonProps, Skeleton, SkeletonAvatar, SkeletonButton, type SkeletonProps, type SkeletonRounded, SkeletonText, type SkeletonVariant, Sortable, SortableContent, SortableItem, SortableItemHandle, SortableOverlay, type 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 };
|
package/dist/ui/index.js
CHANGED
|
@@ -7763,6 +7763,283 @@ function Switch({
|
|
|
7763
7763
|
}
|
|
7764
7764
|
);
|
|
7765
7765
|
}
|
|
7766
|
+
|
|
7767
|
+
// src/ui/numberstepper.tsx
|
|
7768
|
+
import { cn as cn47 } from "cn";
|
|
7769
|
+
import { AnimatePresence as AnimatePresence3, motion as motion7, useReducedMotion as useReducedMotion2 } from "motion/react";
|
|
7770
|
+
import { useEffect as useEffect7, useId as useId6, useLayoutEffect as useLayoutEffect3, useRef as useRef5, useState as useState9 } from "react";
|
|
7771
|
+
import { jsx as jsx50, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
7772
|
+
var EASE_OUT2 = [0.23, 1, 0.32, 1];
|
|
7773
|
+
var ROLL = { duration: 0.18, ease: EASE_OUT2 };
|
|
7774
|
+
var SLIDE = { type: "spring", visualDuration: 0.2, bounce: 0 };
|
|
7775
|
+
var HOLD_DELAY = 400;
|
|
7776
|
+
var FIRST_REPEAT = 150;
|
|
7777
|
+
var ACCELERATION = 0.85;
|
|
7778
|
+
var FASTEST = 40;
|
|
7779
|
+
var sizeStyles = {
|
|
7780
|
+
xs: { container: "h-6 p-0.5", button: "size-5", value: "w-6", text: "text-xs", icon: "size-3" },
|
|
7781
|
+
sm: { container: "h-7 p-0.5", button: "size-6", value: "w-7", text: "text-sm", icon: "size-3.5" },
|
|
7782
|
+
default: { container: "h-8 p-0.5", button: "size-7", value: "w-9", text: "text-sm", icon: "size-3.5" },
|
|
7783
|
+
lg: { container: "h-9 p-1", button: "size-8", value: "w-11", text: "text-[15px]", icon: "size-4" }
|
|
7784
|
+
};
|
|
7785
|
+
function useDirection(value) {
|
|
7786
|
+
const [previous, setPrevious] = useState9(value);
|
|
7787
|
+
const [direction, setDirection] = useState9(1);
|
|
7788
|
+
if (value !== previous) {
|
|
7789
|
+
setPrevious(value);
|
|
7790
|
+
setDirection(value > previous ? 1 : -1);
|
|
7791
|
+
}
|
|
7792
|
+
return direction;
|
|
7793
|
+
}
|
|
7794
|
+
function RollingNumber({
|
|
7795
|
+
value,
|
|
7796
|
+
format = String,
|
|
7797
|
+
className
|
|
7798
|
+
}) {
|
|
7799
|
+
const direction = useDirection(value);
|
|
7800
|
+
const chars = [...format(value)];
|
|
7801
|
+
return /* @__PURE__ */ jsx50(
|
|
7802
|
+
"span",
|
|
7803
|
+
{
|
|
7804
|
+
"aria-hidden": true,
|
|
7805
|
+
className: cn47("relative inline-flex tabular-nums", className),
|
|
7806
|
+
children: /* @__PURE__ */ jsx50(AnimatePresence3, { mode: "popLayout", initial: false, custom: direction, children: chars.map((char, i) => {
|
|
7807
|
+
const place = chars.length - i;
|
|
7808
|
+
const digit = /\d/.test(char);
|
|
7809
|
+
return /* @__PURE__ */ jsx50(Place, { digit, children: digit ? /* @__PURE__ */ jsx50(Digit, { char, direction }) : char }, digit ? `d${place}` : `s${place}${char}`);
|
|
7810
|
+
}) })
|
|
7811
|
+
}
|
|
7812
|
+
);
|
|
7813
|
+
}
|
|
7814
|
+
function Place({
|
|
7815
|
+
digit,
|
|
7816
|
+
children
|
|
7817
|
+
}) {
|
|
7818
|
+
const reduceMotion = useReducedMotion2();
|
|
7819
|
+
return /* @__PURE__ */ jsx50(
|
|
7820
|
+
motion7.span,
|
|
7821
|
+
{
|
|
7822
|
+
layout: reduceMotion ? false : "position",
|
|
7823
|
+
initial: { opacity: 0, filter: "blur(4px)" },
|
|
7824
|
+
animate: { opacity: 1, filter: "blur(0px)" },
|
|
7825
|
+
exit: { opacity: 0, filter: "blur(0px)", transition: { duration: 0.1 } },
|
|
7826
|
+
transition: { ...ROLL, layout: SLIDE },
|
|
7827
|
+
className: cn47("inline-grid", digit && "overflow-hidden"),
|
|
7828
|
+
children
|
|
7829
|
+
}
|
|
7830
|
+
);
|
|
7831
|
+
}
|
|
7832
|
+
function Digit({ char, direction }) {
|
|
7833
|
+
const reduceMotion = useReducedMotion2();
|
|
7834
|
+
const offset = (d) => reduceMotion ? "0%" : `${d * 100}%`;
|
|
7835
|
+
return /* @__PURE__ */ jsx50(AnimatePresence3, { initial: false, custom: direction, children: /* @__PURE__ */ jsx50(
|
|
7836
|
+
motion7.span,
|
|
7837
|
+
{
|
|
7838
|
+
custom: direction,
|
|
7839
|
+
variants: {
|
|
7840
|
+
enter: (d) => ({ y: offset(d), opacity: 0 }),
|
|
7841
|
+
center: { y: "0%", opacity: 1 },
|
|
7842
|
+
exit: (d) => ({ y: offset(-d), opacity: 0 })
|
|
7843
|
+
},
|
|
7844
|
+
initial: "enter",
|
|
7845
|
+
animate: "center",
|
|
7846
|
+
exit: "exit",
|
|
7847
|
+
transition: ROLL,
|
|
7848
|
+
className: "col-start-1 row-start-1",
|
|
7849
|
+
children: char
|
|
7850
|
+
},
|
|
7851
|
+
char
|
|
7852
|
+
) });
|
|
7853
|
+
}
|
|
7854
|
+
function NumberStepper({
|
|
7855
|
+
label,
|
|
7856
|
+
value,
|
|
7857
|
+
onChange,
|
|
7858
|
+
min = 0,
|
|
7859
|
+
max = 99,
|
|
7860
|
+
step = 1,
|
|
7861
|
+
className,
|
|
7862
|
+
size = "default"
|
|
7863
|
+
}) {
|
|
7864
|
+
const reduceMotion = useReducedMotion2();
|
|
7865
|
+
const id = useId6();
|
|
7866
|
+
const [draft, setDraft] = useState9(null);
|
|
7867
|
+
const valueRef = useRef5(null);
|
|
7868
|
+
const bumpAnimation = useRef5(void 0);
|
|
7869
|
+
const timer = useRef5(void 0);
|
|
7870
|
+
const latest = useRef5({ value, onChange, min, max });
|
|
7871
|
+
useLayoutEffect3(() => {
|
|
7872
|
+
latest.current = { value, onChange, min, max };
|
|
7873
|
+
});
|
|
7874
|
+
useEffect7(
|
|
7875
|
+
() => () => {
|
|
7876
|
+
clearTimeout(timer.current);
|
|
7877
|
+
bumpAnimation.current?.cancel();
|
|
7878
|
+
},
|
|
7879
|
+
[]
|
|
7880
|
+
);
|
|
7881
|
+
const bump = (direction) => {
|
|
7882
|
+
const el = valueRef.current;
|
|
7883
|
+
if (!el || reduceMotion) return;
|
|
7884
|
+
bumpAnimation.current?.cancel();
|
|
7885
|
+
bumpAnimation.current = el.animate(
|
|
7886
|
+
{ translate: ["0", `${direction * 3}px`, "0"] },
|
|
7887
|
+
{ duration: 200, easing: "cubic-bezier(0.23, 1, 0.32, 1)" }
|
|
7888
|
+
);
|
|
7889
|
+
};
|
|
7890
|
+
const setTo = (target, direction) => {
|
|
7891
|
+
const now = latest.current;
|
|
7892
|
+
const next = Math.min(Math.max(target, now.min), now.max);
|
|
7893
|
+
if (next !== target) bump(direction);
|
|
7894
|
+
if (next === now.value) return false;
|
|
7895
|
+
latest.current = { ...now, value: next };
|
|
7896
|
+
now.onChange(next);
|
|
7897
|
+
return true;
|
|
7898
|
+
};
|
|
7899
|
+
const stepBy = (delta) => setTo(latest.current.value + delta, delta > 0 ? 1 : -1);
|
|
7900
|
+
const stop = () => clearTimeout(timer.current);
|
|
7901
|
+
const hold = (delta) => {
|
|
7902
|
+
stop();
|
|
7903
|
+
if (!stepBy(delta)) return;
|
|
7904
|
+
let interval = FIRST_REPEAT;
|
|
7905
|
+
const repeat = () => {
|
|
7906
|
+
if (!stepBy(delta)) return;
|
|
7907
|
+
interval = Math.max(FASTEST, interval * ACCELERATION);
|
|
7908
|
+
timer.current = setTimeout(repeat, interval);
|
|
7909
|
+
};
|
|
7910
|
+
timer.current = setTimeout(repeat, HOLD_DELAY);
|
|
7911
|
+
};
|
|
7912
|
+
const commitDraft = () => {
|
|
7913
|
+
if (draft === null) return;
|
|
7914
|
+
const parsed = Number.parseInt(draft, 10);
|
|
7915
|
+
setDraft(null);
|
|
7916
|
+
if (Number.isNaN(parsed)) return;
|
|
7917
|
+
setTo(parsed, parsed > value ? 1 : -1);
|
|
7918
|
+
};
|
|
7919
|
+
const button = (delta, atLimit, name, path) => /* @__PURE__ */ jsx50(
|
|
7920
|
+
"button",
|
|
7921
|
+
{
|
|
7922
|
+
type: "button",
|
|
7923
|
+
"aria-label": `${name} ${label.toLowerCase()}`,
|
|
7924
|
+
"aria-controls": id,
|
|
7925
|
+
"aria-disabled": atLimit,
|
|
7926
|
+
tabIndex: -1,
|
|
7927
|
+
onPointerDown: (e) => {
|
|
7928
|
+
if (e.button !== 0) return;
|
|
7929
|
+
e.preventDefault();
|
|
7930
|
+
hold(delta);
|
|
7931
|
+
},
|
|
7932
|
+
onPointerUp: stop,
|
|
7933
|
+
onPointerLeave: stop,
|
|
7934
|
+
onPointerCancel: stop,
|
|
7935
|
+
onContextMenu: (e) => e.preventDefault(),
|
|
7936
|
+
onClick: (e) => {
|
|
7937
|
+
if (e.detail === 0) stepBy(delta);
|
|
7938
|
+
},
|
|
7939
|
+
className: cn47(
|
|
7940
|
+
"flex shrink-0 touch-manipulation items-center justify-center rounded-full text-foreground outline-hidden select-none",
|
|
7941
|
+
styles.button,
|
|
7942
|
+
"transition-[scale,opacity,background-color] duration-150 ease-out hover:bg-foreground/6 active:scale-[0.96] motion-reduce:transition-[opacity,background-color]",
|
|
7943
|
+
atLimit && "opacity-35 hover:bg-transparent"
|
|
7944
|
+
),
|
|
7945
|
+
children: /* @__PURE__ */ jsx50(
|
|
7946
|
+
"svg",
|
|
7947
|
+
{
|
|
7948
|
+
viewBox: "0 0 16 16",
|
|
7949
|
+
"aria-hidden": true,
|
|
7950
|
+
className: styles.icon,
|
|
7951
|
+
fill: "none",
|
|
7952
|
+
stroke: "currentColor",
|
|
7953
|
+
strokeWidth: 1.5,
|
|
7954
|
+
strokeLinecap: "round",
|
|
7955
|
+
children: /* @__PURE__ */ jsx50("path", { d: path })
|
|
7956
|
+
}
|
|
7957
|
+
)
|
|
7958
|
+
}
|
|
7959
|
+
);
|
|
7960
|
+
const editing = draft !== null;
|
|
7961
|
+
const styles = sizeStyles[size];
|
|
7962
|
+
return /* @__PURE__ */ jsxs26(
|
|
7963
|
+
"div",
|
|
7964
|
+
{
|
|
7965
|
+
className: cn47(
|
|
7966
|
+
"shadow-raised inline-flex items-center rounded-full border",
|
|
7967
|
+
styles.container,
|
|
7968
|
+
className
|
|
7969
|
+
),
|
|
7970
|
+
children: [
|
|
7971
|
+
button(-step, value <= min, "Decrease", "M3.5 8h9"),
|
|
7972
|
+
/* @__PURE__ */ jsxs26(
|
|
7973
|
+
"span",
|
|
7974
|
+
{
|
|
7975
|
+
ref: valueRef,
|
|
7976
|
+
className: cn47(
|
|
7977
|
+
"relative grid place-items-center",
|
|
7978
|
+
styles.value
|
|
7979
|
+
),
|
|
7980
|
+
children: [
|
|
7981
|
+
/* @__PURE__ */ jsx50(
|
|
7982
|
+
"input",
|
|
7983
|
+
{
|
|
7984
|
+
id,
|
|
7985
|
+
"data-no-ring": true,
|
|
7986
|
+
role: "spinbutton",
|
|
7987
|
+
"aria-label": label,
|
|
7988
|
+
"aria-valuenow": value,
|
|
7989
|
+
"aria-valuemin": min,
|
|
7990
|
+
"aria-valuemax": max,
|
|
7991
|
+
inputMode: "numeric",
|
|
7992
|
+
autoComplete: "off",
|
|
7993
|
+
value: draft ?? String(value),
|
|
7994
|
+
onChange: (e) => setDraft(e.target.value.replace(/\D/g, "")),
|
|
7995
|
+
onFocus: (e) => e.currentTarget.select(),
|
|
7996
|
+
onBlur: commitDraft,
|
|
7997
|
+
onKeyDown: (e) => {
|
|
7998
|
+
const delta = {
|
|
7999
|
+
ArrowUp: step,
|
|
8000
|
+
ArrowDown: -step,
|
|
8001
|
+
PageUp: step * 10,
|
|
8002
|
+
PageDown: -step * 10
|
|
8003
|
+
};
|
|
8004
|
+
if (e.key in delta) {
|
|
8005
|
+
e.preventDefault();
|
|
8006
|
+
setDraft(null);
|
|
8007
|
+
stepBy(delta[e.key]);
|
|
8008
|
+
} else if (e.key === "Home" || e.key === "End") {
|
|
8009
|
+
e.preventDefault();
|
|
8010
|
+
setDraft(null);
|
|
8011
|
+
setTo(e.key === "Home" ? min : max, e.key === "Home" ? -1 : 1);
|
|
8012
|
+
} else if (e.key === "Enter") {
|
|
8013
|
+
commitDraft();
|
|
8014
|
+
} else if (e.key === "Escape") {
|
|
8015
|
+
setDraft(null);
|
|
8016
|
+
}
|
|
8017
|
+
},
|
|
8018
|
+
className: cn47(
|
|
8019
|
+
"col-start-1 row-start-1 w-full bg-transparent text-center font-medium tabular-nums caret-foreground outline-hidden",
|
|
8020
|
+
styles.text,
|
|
8021
|
+
editing ? "text-foreground" : "text-transparent"
|
|
8022
|
+
)
|
|
8023
|
+
}
|
|
8024
|
+
),
|
|
8025
|
+
!editing && /* @__PURE__ */ jsx50(
|
|
8026
|
+
RollingNumber,
|
|
8027
|
+
{
|
|
8028
|
+
value,
|
|
8029
|
+
className: cn47(
|
|
8030
|
+
"pointer-events-none col-start-1 row-start-1 font-medium text-foreground",
|
|
8031
|
+
styles.text
|
|
8032
|
+
)
|
|
8033
|
+
}
|
|
8034
|
+
)
|
|
8035
|
+
]
|
|
8036
|
+
}
|
|
8037
|
+
),
|
|
8038
|
+
button(step, value >= max, "Increase", "M3.5 8h9M8 3.5v9")
|
|
8039
|
+
]
|
|
8040
|
+
}
|
|
8041
|
+
);
|
|
8042
|
+
}
|
|
7766
8043
|
export {
|
|
7767
8044
|
Accordion,
|
|
7768
8045
|
AccordionContent,
|
|
@@ -7971,6 +8248,7 @@ export {
|
|
|
7971
8248
|
MessageScrollerProvider,
|
|
7972
8249
|
MessageScrollerViewport,
|
|
7973
8250
|
NativeAppBridge,
|
|
8251
|
+
NumberStepper,
|
|
7974
8252
|
OTPInput2 as OTPInput,
|
|
7975
8253
|
Popover,
|
|
7976
8254
|
PopoverContent,
|
|
@@ -7982,6 +8260,7 @@ export {
|
|
|
7982
8260
|
REGEXP_ONLY_DIGITS,
|
|
7983
8261
|
RadioGroup,
|
|
7984
8262
|
RadioGroupItem,
|
|
8263
|
+
RollingNumber,
|
|
7985
8264
|
SPRING_LAYOUT,
|
|
7986
8265
|
SPRING_MOUSE,
|
|
7987
8266
|
SPRING_PANEL,
|