rupoui 1.3.2 → 1.3.3
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 +13 -13
- package/dist/components/button/Button.d.ts +6 -3
- package/dist/components/button/button.styles.d.ts +176 -162
- package/dist/components/button/button.types.d.ts +14 -14
- package/dist/components/button/index.d.ts +2 -2
- package/dist/components/calendar/Calendar.d.ts +3 -2
- package/dist/components/calendar/calendar.grid.d.ts +5 -2
- package/dist/components/calendar/calendar.navigation.d.ts +1 -1
- package/dist/components/calendar/calendar.selection.d.ts +6 -2
- package/dist/components/calendar/calendar.state.d.ts +1 -1
- package/dist/components/calendar/calendar.styles.d.ts +106 -83
- package/dist/components/calendar/calendar.types.d.ts +39 -39
- package/dist/components/calendar/index.d.ts +3 -3
- package/dist/components/checkbox/Checkbox.d.ts +4 -2
- package/dist/components/checkbox/CheckboxGroup.d.ts +4 -2
- package/dist/components/checkbox/checkbox-group-context.d.ts +12 -12
- package/dist/components/checkbox/checkbox.styles.d.ts +313 -285
- package/dist/components/checkbox/checkbox.types.d.ts +161 -154
- package/dist/components/checkbox/index.d.ts +3 -3
- package/dist/components/checkbox/useCheckbox.d.ts +389 -311
- package/dist/components/checkbox/useCheckboxGroup.d.ts +353 -280
- package/dist/components/chip/Chip.d.ts +4 -2
- package/dist/components/chip/ChipGroup.d.ts +4 -2
- package/dist/components/chip/chip-group-context.d.ts +9 -6
- package/dist/components/chip/chip.styles.d.ts +206 -192
- package/dist/components/chip/chip.types.d.ts +155 -149
- package/dist/components/chip/index.d.ts +5 -5
- package/dist/components/chip/useChip.d.ts +22 -20
- package/dist/components/chip/useChipGroup.d.ts +350 -277
- package/dist/components/datepicker/DatePart.d.ts +16 -14
- package/dist/components/datepicker/DatePicker.d.ts +17 -16
- package/dist/components/datepicker/DatePickerCalendar.d.ts +8 -7
- package/dist/components/datepicker/DatePickerDay.d.ts +11 -9
- package/dist/components/datepicker/DatePickerInput.d.ts +16 -15
- package/dist/components/datepicker/DatePickerPopover.d.ts +7 -6
- package/dist/components/datepicker/SegmentedDatePickerInput.d.ts +9 -8
- package/dist/components/datepicker/datepicker.controller.d.ts +6 -2
- package/dist/components/datepicker/datepicker.input.logic.d.ts +16 -6
- package/dist/components/datepicker/datepicker.input.state.d.ts +1 -1
- package/dist/components/datepicker/datepicker.input.types.d.ts +20 -20
- package/dist/components/datepicker/datepicker.keyboard.d.ts +6 -2
- package/dist/components/datepicker/datepicker.state.d.ts +1 -1
- package/dist/components/datepicker/datepicker.styles.d.ts +118 -95
- package/dist/components/datepicker/datepicker.types.d.ts +52 -52
- package/dist/components/datepicker/index.d.ts +5 -5
- package/dist/components/dropdown/Dropdown.d.ts +3 -2
- package/dist/components/dropdown/DropdownContent.d.ts +3 -2
- package/dist/components/dropdown/DropdownItem.d.ts +3 -2
- package/dist/components/dropdown/DropdownSection.d.ts +3 -2
- package/dist/components/dropdown/DropdownSeparator.d.ts +3 -2
- package/dist/components/dropdown/DropdownTrigger.d.ts +3 -2
- package/dist/components/dropdown/context.d.ts +22 -21
- package/dist/components/dropdown/dropdown.styles.d.ts +180 -166
- package/dist/components/dropdown/dropdown.types.d.ts +97 -85
- package/dist/components/dropdown/index.d.ts +9 -9
- package/dist/components/dropdown/useDropdown.d.ts +15 -15
- package/dist/components/input/Input.d.ts +9 -4
- package/dist/components/input/index.d.ts +2 -2
- package/dist/components/input/input.styles.d.ts +239 -225
- package/dist/components/input/input.types.d.ts +60 -58
- package/dist/components/input-number/InputNumber.d.ts +24 -5
- package/dist/components/input-number/index.d.ts +2 -2
- package/dist/components/input-number/input-number.styles.d.ts +331 -317
- package/dist/components/input-number/input-number.types.d.ts +132 -116
- package/dist/components/input-number/utils.d.ts +11 -3
- package/dist/components/modal/Modal.d.ts +4 -3
- package/dist/components/modal/ModalContent.d.ts +7 -3
- package/dist/components/modal/ModalLayout.d.ts +16 -4
- package/dist/components/modal/ModalTrigger.d.ts +5 -3
- package/dist/components/modal/context.d.ts +8 -8
- package/dist/components/modal/index.d.ts +6 -6
- package/dist/components/modal/modal.styles.d.ts +233 -219
- package/dist/components/modal/modal.types.d.ts +35 -34
- package/dist/components/modal/useModal.d.ts +7 -7
- package/dist/components/pagination/Pagination.d.ts +6 -3
- package/dist/components/pagination/PaginationContent.d.ts +6 -3
- package/dist/components/pagination/PaginationContext.d.ts +54 -54
- package/dist/components/pagination/PaginationEllipsis.d.ts +6 -3
- package/dist/components/pagination/PaginationItem.d.ts +6 -3
- package/dist/components/pagination/PaginationItems.d.ts +2 -2
- package/dist/components/pagination/PaginationNext.d.ts +6 -3
- package/dist/components/pagination/PaginationPrevious.d.ts +6 -3
- package/dist/components/pagination/index.d.ts +18 -9
- package/dist/components/pagination/pagination.styles.d.ts +147 -133
- package/dist/components/pagination/pagination.types.d.ts +125 -121
- package/dist/components/pagination/usePagination.d.ts +25 -20
- package/dist/components/popover/Popover.d.ts +3 -2
- package/dist/components/popover/PopoverContent.d.ts +3 -2
- package/dist/components/popover/PopoverContext.d.ts +103 -83
- package/dist/components/popover/PopoverTrigger.d.ts +3 -2
- package/dist/components/popover/index.d.ts +6 -6
- package/dist/components/popover/popover.styles.d.ts +122 -108
- package/dist/components/popover/popover.types.d.ts +96 -95
- package/dist/components/popover/usePopover.d.ts +52 -42
- package/dist/components/radio/Radio.d.ts +4 -2
- package/dist/components/radio/RadioGroup.d.ts +4 -2
- package/dist/components/radio/index.d.ts +3 -3
- package/dist/components/radio/radio-group-context.d.ts +12 -12
- package/dist/components/radio/radio.styles.d.ts +306 -278
- package/dist/components/radio/radio.types.d.ts +145 -138
- package/dist/components/radio/useRadio.d.ts +391 -311
- package/dist/components/radio/useRadioGroup.d.ts +354 -281
- package/dist/components/ripple/Ripple.d.ts +9 -9
- package/dist/components/select/Select.d.ts +6 -3
- package/dist/components/select/SelectItem.d.ts +15 -4
- package/dist/components/select/index.d.ts +5 -5
- package/dist/components/select/select.styles.d.ts +224 -210
- package/dist/components/select/select.types.d.ts +51 -50
- package/dist/components/select/useSelect.d.ts +16 -16
- package/dist/components/spinner/Spinner.d.ts +9 -3
- package/dist/components/spinner/index.d.ts +2 -2
- package/dist/components/spinner/spinner.styles.d.ts +91 -77
- package/dist/components/spinner/spinner.types.d.ts +4 -4
- package/dist/components/switch/Switch.d.ts +4 -2
- package/dist/components/switch/index.d.ts +2 -2
- package/dist/components/switch/switch.styles.d.ts +147 -133
- package/dist/components/switch/switch.types.d.ts +84 -80
- package/dist/components/switch/useSwitch.d.ts +389 -311
- package/dist/components/tabs/Tab.d.ts +1 -1
- package/dist/components/tabs/Tabs.d.ts +1 -1
- package/dist/components/tabs/index.d.ts +4 -4
- package/dist/components/tabs/tabs.styles.d.ts +341 -327
- package/dist/components/tabs/tabs.types.d.ts +67 -66
- package/dist/components/tabs/useTabs.d.ts +4 -4
- package/dist/components/textarea/Textarea.d.ts +9 -4
- package/dist/components/textarea/index.d.ts +2 -2
- package/dist/components/textarea/textarea.styles.d.ts +276 -262
- package/dist/components/textarea/textarea.types.d.ts +57 -55
- package/dist/components/toast/Toast.d.ts +8 -4
- package/dist/components/toast/ToastProvider.d.ts +8 -4
- package/dist/components/toast/ToastViewport.d.ts +14 -4
- package/dist/components/toast/Toaster.d.ts +4 -2
- package/dist/components/toast/index.d.ts +7 -7
- package/dist/components/toast/toast-store.d.ts +10 -10
- package/dist/components/toast/toast-subcomponents.d.ts +10 -4
- package/dist/components/toast/toast.types.d.ts +18 -18
- package/dist/components/toast/use-toast-internal.d.ts +1 -1
- package/dist/components/toast/utils.d.ts +1 -1
- package/dist/components/tooltip/Tooltip.d.ts +1 -1
- package/dist/components/tooltip/index.d.ts +3 -3
- package/dist/components/tooltip/tooltip.styles.d.ts +187 -173
- package/dist/components/tooltip/tooltip.types.d.ts +85 -72
- package/dist/components/tooltip/useTooltip.d.ts +25 -25
- package/dist/components/tooltip/utils.d.ts +24 -13
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/useDisclosure.d.ts +10 -10
- package/dist/hooks/useFocusTrap.d.ts +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +24 -25
- package/dist/index.js +1697 -1632
- package/dist/motion/focus.d.ts +6 -6
- package/dist/motion/hover.d.ts +8 -8
- package/dist/motion/index.d.ts +5 -5
- package/dist/motion/press.d.ts +7 -7
- package/dist/motion/reveal.d.ts +16 -16
- package/dist/motion/tokens.d.ts +9 -9
- package/dist/provider/RupoUIContext.d.ts +2 -2
- package/dist/provider/RupoUIProvider.d.ts +9 -5
- package/dist/provider/types.d.ts +46 -25
- package/dist/provider/useRupoUI.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/styles/tokens/colors.d.ts +24 -24
- package/dist/styles/tokens/index.d.ts +5 -5
- package/dist/styles/tokens/motion.d.ts +9 -9
- package/dist/styles/tokens/radius.d.ts +6 -6
- package/dist/styles/tokens/spacing.d.ts +11 -11
- package/dist/styles/tokens/typography.d.ts +64 -32
- package/dist/tailwind/index.d.ts +7 -7
- package/dist/tailwind/plugin-utils.d.ts +1 -1
- package/dist/tailwind/theme.d.ts +1 -1
- package/package.json +11 -2
- package/dist/components/toast/ToastDemo.d.ts +0 -1
|
@@ -2,61 +2,61 @@
|
|
|
2
2
|
* Configuration options for the DatePicker.
|
|
3
3
|
*/
|
|
4
4
|
export type DatePickerConfig = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
5
|
+
/** Controlled value of the date picker */
|
|
6
|
+
value?: Date | null;
|
|
7
|
+
/** Default value for uncontrolled usage */
|
|
8
|
+
defaultValue?: Date | null;
|
|
9
|
+
/** Minimum selectable date */
|
|
10
|
+
minDate?: Date;
|
|
11
|
+
/** Maximum selectable date */
|
|
12
|
+
maxDate?: Date;
|
|
13
|
+
/**
|
|
14
|
+
* Day of the week the week starts on.
|
|
15
|
+
* 0 = Sunday, 1 = Monday.
|
|
16
|
+
* @default 0 (Sunday)
|
|
17
|
+
*/
|
|
18
|
+
weekStartsOn?: 0 | 1;
|
|
19
|
+
/** Function to determine if a date is disabled */
|
|
20
|
+
disabledDates?: (date: Date) => boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Whether to close the picker after selecting a date.
|
|
23
|
+
* @default true
|
|
24
|
+
*/
|
|
25
|
+
closeOnSelect?: boolean;
|
|
26
|
+
/** Whether manual text input is allowed */
|
|
27
|
+
allowInput?: boolean;
|
|
28
|
+
/** Expected date format (e.g., 'yyyy-MM-dd') */
|
|
29
|
+
format?: string;
|
|
30
|
+
/** Locale for formatting/parsing */
|
|
31
|
+
locale?: string;
|
|
32
|
+
/** Callback when input is invalid */
|
|
33
|
+
onInvalidInput?: (value: string, reason: string) => void;
|
|
34
|
+
/**
|
|
35
|
+
* Granularity of the date picker.
|
|
36
|
+
* Determines which fields are shown and enforced.
|
|
37
|
+
* @default "date"
|
|
38
|
+
*/
|
|
39
|
+
granularity?: "date" | "minute" | "second";
|
|
40
|
+
/**
|
|
41
|
+
* The input mode to use.
|
|
42
|
+
* "text" - Standard text input (legacy)
|
|
43
|
+
* "segmented" - Segmented numeric inputs
|
|
44
|
+
* @default "text" (unless granularity is time, then defaults to "segmented")
|
|
45
|
+
*/
|
|
46
|
+
inputMode?: "text" | "segmented";
|
|
47
47
|
};
|
|
48
48
|
/**
|
|
49
49
|
* Represents the immutable state of the DatePicker.
|
|
50
50
|
*/
|
|
51
51
|
export type DatePickerState = {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
52
|
+
/** Whether the picker popover is currently open */
|
|
53
|
+
isOpen: boolean;
|
|
54
|
+
/** The currently selected date (if any) */
|
|
55
|
+
selectedDate: Date | null;
|
|
56
|
+
/** The current month being viewed */
|
|
57
|
+
viewDate: Date;
|
|
58
|
+
/** The currently focused date (for keyboard navigation) */
|
|
59
|
+
focusedDate: Date | null;
|
|
60
|
+
/** Whether the grid should auto-focus the focused date on mount/update */
|
|
61
|
+
autoFocus?: boolean;
|
|
62
62
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
1
|
+
export * from "./datepicker.types";
|
|
2
|
+
export * from "./datepicker.state";
|
|
3
|
+
export * from "./datepicker.controller";
|
|
4
|
+
export * from "./datepicker.keyboard";
|
|
5
|
+
export * from "./DatePicker";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { default as React } from
|
|
2
|
-
|
|
1
|
+
import { default as React } from "react";
|
|
2
|
+
|
|
3
|
+
import { DropdownContentProps } from "./dropdown.types";
|
|
3
4
|
|
|
4
5
|
export declare const DropdownContent: React.FC<DropdownContentProps>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { default as React } from
|
|
2
|
-
|
|
1
|
+
import { default as React } from "react";
|
|
2
|
+
|
|
3
|
+
import { DropdownSectionProps } from "./dropdown.types";
|
|
3
4
|
|
|
4
5
|
export declare const DropdownSection: React.FC<DropdownSectionProps>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { default as React } from
|
|
2
|
-
|
|
1
|
+
import { default as React } from "react";
|
|
2
|
+
|
|
3
|
+
import { DropdownSeparatorProps } from "./dropdown.types";
|
|
3
4
|
|
|
4
5
|
export declare const DropdownSeparator: React.FC<DropdownSeparatorProps>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { default as React } from
|
|
2
|
-
|
|
1
|
+
import { default as React } from "react";
|
|
2
|
+
|
|
3
|
+
import { DropdownTriggerProps } from "./dropdown.types";
|
|
3
4
|
|
|
4
5
|
export declare const DropdownTrigger: React.FC<DropdownTriggerProps>;
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
import { RefObject } from
|
|
2
|
-
|
|
1
|
+
import { RefObject } from "react";
|
|
2
|
+
|
|
3
|
+
import { DropdownColor, DropdownRadius, DropdownSize, DropdownVariant } from "./dropdown.types";
|
|
3
4
|
|
|
4
5
|
export interface DropdownContextProps {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
6
|
+
isOpen: boolean;
|
|
7
|
+
toggleOpen: () => void;
|
|
8
|
+
open: () => void;
|
|
9
|
+
close: () => void;
|
|
10
|
+
triggerRef: RefObject<HTMLElement | null>;
|
|
11
|
+
menuRef: RefObject<HTMLElement | null>;
|
|
12
|
+
focusedKey: string | number | null;
|
|
13
|
+
setFocusedKey: (key: string | number | null) => void;
|
|
14
|
+
variant?: DropdownVariant;
|
|
15
|
+
color?: DropdownColor;
|
|
16
|
+
size?: DropdownSize;
|
|
17
|
+
radius?: DropdownRadius;
|
|
18
|
+
handleKeyDown: (e: React.KeyboardEvent) => void;
|
|
19
|
+
closeOnSelect: boolean;
|
|
20
|
+
registerItem: (id: string) => void;
|
|
21
|
+
unregisterItem: (id: string) => void;
|
|
22
|
+
getItemIndex: (id: string) => number;
|
|
23
|
+
handleBlur: (e: React.FocusEvent) => void;
|
|
23
24
|
}
|
|
24
|
-
export declare const DropdownContext: import(
|
|
25
|
+
export declare const DropdownContext: import("react").Context<DropdownContextProps | undefined>;
|
|
25
26
|
export declare const useDropdownContext: () => DropdownContextProps;
|
|
@@ -1,73 +1,75 @@
|
|
|
1
|
-
export declare const dropdown: import(
|
|
1
|
+
export declare const dropdown: import("tailwind-variants").TVReturnType<
|
|
2
|
+
{
|
|
2
3
|
variant: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
solid: {
|
|
5
|
+
item: string;
|
|
6
|
+
};
|
|
7
|
+
bordered: {
|
|
8
|
+
content: string;
|
|
9
|
+
};
|
|
10
|
+
flat: {
|
|
11
|
+
item: string;
|
|
12
|
+
};
|
|
13
|
+
ghost: {
|
|
14
|
+
item: string;
|
|
15
|
+
};
|
|
15
16
|
};
|
|
16
17
|
color: {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
18
|
+
default: {
|
|
19
|
+
item: string;
|
|
20
|
+
};
|
|
21
|
+
primary: {
|
|
22
|
+
item: string;
|
|
23
|
+
};
|
|
24
|
+
secondary: {
|
|
25
|
+
item: string;
|
|
26
|
+
};
|
|
27
|
+
success: {
|
|
28
|
+
item: string;
|
|
29
|
+
};
|
|
30
|
+
warning: {
|
|
31
|
+
item: string;
|
|
32
|
+
};
|
|
33
|
+
danger: {
|
|
34
|
+
item: string;
|
|
35
|
+
};
|
|
35
36
|
};
|
|
36
37
|
size: {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
38
|
+
sm: {
|
|
39
|
+
content: string;
|
|
40
|
+
item: string;
|
|
41
|
+
};
|
|
42
|
+
md: {
|
|
43
|
+
content: string;
|
|
44
|
+
item: string;
|
|
45
|
+
};
|
|
46
|
+
lg: {
|
|
47
|
+
content: string;
|
|
48
|
+
item: string;
|
|
49
|
+
};
|
|
49
50
|
};
|
|
50
51
|
radius: {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
52
|
+
none: {
|
|
53
|
+
content: string;
|
|
54
|
+
};
|
|
55
|
+
sm: {
|
|
56
|
+
content: string;
|
|
57
|
+
};
|
|
58
|
+
md: {
|
|
59
|
+
content: string;
|
|
60
|
+
};
|
|
61
|
+
lg: {
|
|
62
|
+
content: string;
|
|
63
|
+
};
|
|
64
|
+
xl: {
|
|
65
|
+
content: string;
|
|
66
|
+
};
|
|
67
|
+
full: {
|
|
68
|
+
content: string;
|
|
69
|
+
};
|
|
69
70
|
};
|
|
70
|
-
},
|
|
71
|
+
},
|
|
72
|
+
{
|
|
71
73
|
base: string;
|
|
72
74
|
trigger: string;
|
|
73
75
|
content: string[];
|
|
@@ -76,76 +78,79 @@ export declare const dropdown: import('tailwind-variants').TVReturnType<{
|
|
|
76
78
|
section: string;
|
|
77
79
|
heading: string;
|
|
78
80
|
description: string;
|
|
79
|
-
},
|
|
81
|
+
},
|
|
82
|
+
undefined,
|
|
83
|
+
{
|
|
80
84
|
variant: {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
85
|
+
solid: {
|
|
86
|
+
item: string;
|
|
87
|
+
};
|
|
88
|
+
bordered: {
|
|
89
|
+
content: string;
|
|
90
|
+
};
|
|
91
|
+
flat: {
|
|
92
|
+
item: string;
|
|
93
|
+
};
|
|
94
|
+
ghost: {
|
|
95
|
+
item: string;
|
|
96
|
+
};
|
|
93
97
|
};
|
|
94
98
|
color: {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
99
|
+
default: {
|
|
100
|
+
item: string;
|
|
101
|
+
};
|
|
102
|
+
primary: {
|
|
103
|
+
item: string;
|
|
104
|
+
};
|
|
105
|
+
secondary: {
|
|
106
|
+
item: string;
|
|
107
|
+
};
|
|
108
|
+
success: {
|
|
109
|
+
item: string;
|
|
110
|
+
};
|
|
111
|
+
warning: {
|
|
112
|
+
item: string;
|
|
113
|
+
};
|
|
114
|
+
danger: {
|
|
115
|
+
item: string;
|
|
116
|
+
};
|
|
113
117
|
};
|
|
114
118
|
size: {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
119
|
+
sm: {
|
|
120
|
+
content: string;
|
|
121
|
+
item: string;
|
|
122
|
+
};
|
|
123
|
+
md: {
|
|
124
|
+
content: string;
|
|
125
|
+
item: string;
|
|
126
|
+
};
|
|
127
|
+
lg: {
|
|
128
|
+
content: string;
|
|
129
|
+
item: string;
|
|
130
|
+
};
|
|
127
131
|
};
|
|
128
132
|
radius: {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
133
|
+
none: {
|
|
134
|
+
content: string;
|
|
135
|
+
};
|
|
136
|
+
sm: {
|
|
137
|
+
content: string;
|
|
138
|
+
};
|
|
139
|
+
md: {
|
|
140
|
+
content: string;
|
|
141
|
+
};
|
|
142
|
+
lg: {
|
|
143
|
+
content: string;
|
|
144
|
+
};
|
|
145
|
+
xl: {
|
|
146
|
+
content: string;
|
|
147
|
+
};
|
|
148
|
+
full: {
|
|
149
|
+
content: string;
|
|
150
|
+
};
|
|
147
151
|
};
|
|
148
|
-
},
|
|
152
|
+
},
|
|
153
|
+
{
|
|
149
154
|
base: string;
|
|
150
155
|
trigger: string;
|
|
151
156
|
content: string[];
|
|
@@ -154,82 +159,91 @@ export declare const dropdown: import('tailwind-variants').TVReturnType<{
|
|
|
154
159
|
section: string;
|
|
155
160
|
heading: string;
|
|
156
161
|
description: string;
|
|
157
|
-
},
|
|
158
|
-
|
|
162
|
+
},
|
|
163
|
+
import("tailwind-variants").TVReturnType<
|
|
164
|
+
{
|
|
165
|
+
variant: {
|
|
159
166
|
solid: {
|
|
160
|
-
|
|
167
|
+
item: string;
|
|
161
168
|
};
|
|
162
169
|
bordered: {
|
|
163
|
-
|
|
170
|
+
content: string;
|
|
164
171
|
};
|
|
165
172
|
flat: {
|
|
166
|
-
|
|
173
|
+
item: string;
|
|
167
174
|
};
|
|
168
175
|
ghost: {
|
|
169
|
-
|
|
176
|
+
item: string;
|
|
170
177
|
};
|
|
171
|
-
|
|
172
|
-
|
|
178
|
+
};
|
|
179
|
+
color: {
|
|
173
180
|
default: {
|
|
174
|
-
|
|
181
|
+
item: string;
|
|
175
182
|
};
|
|
176
183
|
primary: {
|
|
177
|
-
|
|
184
|
+
item: string;
|
|
178
185
|
};
|
|
179
186
|
secondary: {
|
|
180
|
-
|
|
187
|
+
item: string;
|
|
181
188
|
};
|
|
182
189
|
success: {
|
|
183
|
-
|
|
190
|
+
item: string;
|
|
184
191
|
};
|
|
185
192
|
warning: {
|
|
186
|
-
|
|
193
|
+
item: string;
|
|
187
194
|
};
|
|
188
195
|
danger: {
|
|
189
|
-
|
|
196
|
+
item: string;
|
|
190
197
|
};
|
|
191
|
-
|
|
192
|
-
|
|
198
|
+
};
|
|
199
|
+
size: {
|
|
193
200
|
sm: {
|
|
194
|
-
|
|
195
|
-
|
|
201
|
+
content: string;
|
|
202
|
+
item: string;
|
|
196
203
|
};
|
|
197
204
|
md: {
|
|
198
|
-
|
|
199
|
-
|
|
205
|
+
content: string;
|
|
206
|
+
item: string;
|
|
200
207
|
};
|
|
201
208
|
lg: {
|
|
202
|
-
|
|
203
|
-
|
|
209
|
+
content: string;
|
|
210
|
+
item: string;
|
|
204
211
|
};
|
|
205
|
-
|
|
206
|
-
|
|
212
|
+
};
|
|
213
|
+
radius: {
|
|
207
214
|
none: {
|
|
208
|
-
|
|
215
|
+
content: string;
|
|
209
216
|
};
|
|
210
217
|
sm: {
|
|
211
|
-
|
|
218
|
+
content: string;
|
|
212
219
|
};
|
|
213
220
|
md: {
|
|
214
|
-
|
|
221
|
+
content: string;
|
|
215
222
|
};
|
|
216
223
|
lg: {
|
|
217
|
-
|
|
224
|
+
content: string;
|
|
218
225
|
};
|
|
219
226
|
xl: {
|
|
220
|
-
|
|
227
|
+
content: string;
|
|
221
228
|
};
|
|
222
229
|
full: {
|
|
223
|
-
|
|
224
|
-
};
|
|
225
|
-
|
|
226
|
-
},
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
230
|
+
content: string;
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
base: string;
|
|
236
|
+
trigger: string;
|
|
237
|
+
content: string[];
|
|
238
|
+
item: string[];
|
|
239
|
+
separator: string;
|
|
240
|
+
section: string;
|
|
241
|
+
heading: string;
|
|
242
|
+
description: string;
|
|
243
|
+
},
|
|
244
|
+
undefined,
|
|
245
|
+
unknown,
|
|
246
|
+
unknown,
|
|
247
|
+
undefined
|
|
248
|
+
>
|
|
249
|
+
>;
|