@yamada-ui/react 2.2.1-dev-20260428095646 → 2.2.1-dev-20260428101442
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/cjs/components/qr-code/use-qr-code.cjs +3 -4
- package/dist/cjs/components/qr-code/use-qr-code.cjs.map +1 -1
- package/dist/esm/components/qr-code/use-qr-code.js +3 -4
- package/dist/esm/components/qr-code/use-qr-code.js.map +1 -1
- package/dist/types/components/accordion/accordion.d.ts +2 -2
- package/dist/types/components/accordion/accordion.style.d.ts +1 -1
- package/dist/types/components/accordion/use-accordion.d.ts +11 -11
- package/dist/types/components/action-bar/action-bar.d.ts +2 -2
- package/dist/types/components/airy/airy.d.ts +2 -2
- package/dist/types/components/alert/alert.d.ts +2 -2
- package/dist/types/components/alert/alert.style.d.ts +1 -1
- package/dist/types/components/alpha-slider/alpha-slider.d.ts +2 -2
- package/dist/types/components/aspect-ratio/aspect-ratio.d.ts +2 -2
- package/dist/types/components/autocomplete/autocomplete.d.ts +2 -2
- package/dist/types/components/autocomplete/autocomplete.style.d.ts +1 -1
- package/dist/types/components/autocomplete/use-autocomplete.d.ts +5 -5
- package/dist/types/components/avatar/avatar.d.ts +5 -5
- package/dist/types/components/avatar/use-avatar-group.d.ts +2 -2
- package/dist/types/components/badge/badge.d.ts +2 -2
- package/dist/types/components/bleed/bleed.d.ts +2 -2
- package/dist/types/components/blockquote/blockquote.d.ts +2 -2
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +2 -2
- package/dist/types/components/breadcrumb/breadcrumb.style.d.ts +1 -1
- package/dist/types/components/breadcrumb/use-breadcrumb.d.ts +2 -2
- package/dist/types/components/button/button.d.ts +2 -2
- package/dist/types/components/button/icon-button.d.ts +2 -2
- package/dist/types/components/calendar/calendar.d.ts +2 -2
- package/dist/types/components/calendar/calendar.style.d.ts +2 -2
- package/dist/types/components/calendar/use-calendar.d.ts +8 -8
- package/dist/types/components/card/card.d.ts +2 -2
- package/dist/types/components/carousel/carousel.d.ts +2 -2
- package/dist/types/components/carousel/carousel.style.d.ts +2 -2
- package/dist/types/components/carousel/use-carousel.d.ts +3 -3
- package/dist/types/components/center/center.d.ts +2 -2
- package/dist/types/components/chart/cartesian-chart.style.d.ts +1 -1
- package/dist/types/components/chart/chart.d.ts +5 -5
- package/dist/types/components/chart/chart.style.d.ts +2 -2
- package/dist/types/components/chart/line-chart.d.ts +2 -2
- package/dist/types/components/chart/pie-chart.d.ts +2 -2
- package/dist/types/components/chart/polar-chart.style.d.ts +1 -1
- package/dist/types/components/chart/use-chart.d.ts +2 -2
- package/dist/types/components/checkbox/checkbox.d.ts +4 -4
- package/dist/types/components/checkbox/use-checkbox-group.d.ts +2 -2
- package/dist/types/components/checkbox-card/checkbox-card.d.ts +5 -5
- package/dist/types/components/checkbox-card/checkbox-card.style.d.ts +1 -1
- package/dist/types/components/circle-progress/circle-progress.d.ts +2 -2
- package/dist/types/components/close-button/close-button.d.ts +2 -2
- package/dist/types/components/code/code.d.ts +2 -2
- package/dist/types/components/collapse/collapse.d.ts +2 -2
- package/dist/types/components/color-picker/color-picker.d.ts +2 -2
- package/dist/types/components/color-picker/color-picker.style.d.ts +1 -1
- package/dist/types/components/color-picker/use-color-picker.d.ts +2 -2
- package/dist/types/components/color-selector/color-selector.d.ts +2 -2
- package/dist/types/components/color-selector/color-selector.style.d.ts +2 -2
- package/dist/types/components/color-selector/use-color-selector.d.ts +3 -3
- package/dist/types/components/color-swatch/color-swatch.d.ts +2 -2
- package/dist/types/components/container/container.d.ts +2 -2
- package/dist/types/components/data-list/data-list.d.ts +2 -2
- package/dist/types/components/data-list/data-list.style.d.ts +1 -1
- package/dist/types/components/date-picker/date-picker.d.ts +2 -2
- package/dist/types/components/date-picker/date-picker.style.d.ts +1 -1
- package/dist/types/components/date-picker/use-date-picker.d.ts +4 -4
- package/dist/types/components/drawer/drawer.d.ts +2 -2
- package/dist/types/components/dropzone/dropzone.d.ts +5 -5
- package/dist/types/components/dropzone/dropzone.style.d.ts +1 -1
- package/dist/types/components/editable/editable.d.ts +4 -4
- package/dist/types/components/editable/use-editable.d.ts +2 -2
- package/dist/types/components/em/em.d.ts +2 -2
- package/dist/types/components/empty-state/empty-state.d.ts +2 -2
- package/dist/types/components/empty-state/empty-state.style.d.ts +2 -2
- package/dist/types/components/fade/fade.d.ts +2 -2
- package/dist/types/components/field/field.d.ts +3 -3
- package/dist/types/components/field/use-field-props.d.ts +8 -8
- package/dist/types/components/fieldset/fieldset.d.ts +3 -3
- package/dist/types/components/file-button/file-button.d.ts +2 -2
- package/dist/types/components/file-button/use-file-button.d.ts +18 -18
- package/dist/types/components/file-input/file-input.d.ts +2 -2
- package/dist/types/components/file-input/use-file-input.d.ts +17 -17
- package/dist/types/components/flex/flex.d.ts +2 -2
- package/dist/types/components/flip/flip.d.ts +4 -4
- package/dist/types/components/float/float.d.ts +2 -2
- package/dist/types/components/form/form.d.ts +3 -3
- package/dist/types/components/form/form.style.d.ts +1 -1
- package/dist/types/components/format/format-byte.d.ts +4 -4
- package/dist/types/components/format/format-date-time.d.ts +4 -4
- package/dist/types/components/format/format-number.d.ts +2 -2
- package/dist/types/components/grid/grid-item.d.ts +2 -2
- package/dist/types/components/grid/grid.d.ts +2 -2
- package/dist/types/components/group/group.d.ts +2 -2
- package/dist/types/components/group/use-group.d.ts +2 -2
- package/dist/types/components/heading/heading.d.ts +2 -2
- package/dist/types/components/hue-slider/hue-slider.d.ts +3 -3
- package/dist/types/components/icon/icon.d.ts +5 -5
- package/dist/types/components/image/image.d.ts +2 -2
- package/dist/types/components/indicator/indicator.d.ts +4 -4
- package/dist/types/components/infinite-scroll-area/infinite-scroll-area.d.ts +2 -2
- package/dist/types/components/input/input-addon.d.ts +2 -2
- package/dist/types/components/input/input-element.d.ts +2 -2
- package/dist/types/components/input/input.d.ts +2 -2
- package/dist/types/components/kbd/kbd.d.ts +2 -2
- package/dist/types/components/link/link.d.ts +2 -2
- package/dist/types/components/link-box/link-box.d.ts +2 -2
- package/dist/types/components/list/list.d.ts +2 -2
- package/dist/types/components/loading/loading-provider.d.ts +2 -2
- package/dist/types/components/loading/loading.d.ts +3 -3
- package/dist/types/components/mark/mark.d.ts +2 -2
- package/dist/types/components/menu/menu.d.ts +2 -2
- package/dist/types/components/menu/menu.style.d.ts +2 -2
- package/dist/types/components/menu/use-menu.d.ts +11 -11
- package/dist/types/components/modal/modal.d.ts +2 -2
- package/dist/types/components/native-accordion/native-accordion.d.ts +2 -2
- package/dist/types/components/native-accordion/native-accordion.style.d.ts +2 -2
- package/dist/types/components/native-accordion/use-native-accordion.d.ts +2 -2
- package/dist/types/components/native-popover/native-popover.d.ts +2 -2
- package/dist/types/components/native-select/native-select.d.ts +2 -2
- package/dist/types/components/native-table/native-table.d.ts +4 -4
- package/dist/types/components/number-input/number-input.d.ts +2 -2
- package/dist/types/components/number-input/number-input.style.d.ts +1 -1
- package/dist/types/components/pagination/pagination.d.ts +2 -2
- package/dist/types/components/pagination/use-pagination.d.ts +2 -2
- package/dist/types/components/password-input/password-input.d.ts +2 -2
- package/dist/types/components/password-input/strength-meter.d.ts +2 -2
- package/dist/types/components/password-input/use-password-input.d.ts +2 -2
- package/dist/types/components/pin-input/pin-input.d.ts +2 -2
- package/dist/types/components/pin-input/use-pin-input.d.ts +7 -7
- package/dist/types/components/popover/popover.d.ts +2 -2
- package/dist/types/components/progress/progress.d.ts +4 -4
- package/dist/types/components/progress/use-progress.d.ts +706 -706
- package/dist/types/components/qr-code/qr-code.d.ts +2 -2
- package/dist/types/components/radio/radio.d.ts +4 -4
- package/dist/types/components/radio/use-radio-group.d.ts +2 -2
- package/dist/types/components/radio-card/radio-card.d.ts +5 -5
- package/dist/types/components/radio-card/radio-card.style.d.ts +1 -1
- package/dist/types/components/rating/rating.style.d.ts +2 -2
- package/dist/types/components/rating/use-rating.d.ts +11 -11
- package/dist/types/components/reorder/reorder.d.ts +2 -2
- package/dist/types/components/reorder/reorder.style.d.ts +1 -1
- package/dist/types/components/reorder/use-reorder.d.ts +4 -4
- package/dist/types/components/resizable/resizable.d.ts +2 -2
- package/dist/types/components/resizable/resizable.style.d.ts +2 -2
- package/dist/types/components/resizable/use-resizable.d.ts +2 -2
- package/dist/types/components/ripple/ripple.d.ts +2 -2
- package/dist/types/components/ripple/use-ripple.d.ts +2 -2
- package/dist/types/components/rotate/rotate.d.ts +2 -2
- package/dist/types/components/saturation-slider/saturation-slider.d.ts +2 -2
- package/dist/types/components/saturation-slider/use-saturation-slider.d.ts +2 -2
- package/dist/types/components/scroll-area/scroll-area.d.ts +2 -2
- package/dist/types/components/segmented-control/segmented-control.d.ts +2 -2
- package/dist/types/components/segmented-control/segmented-control.style.d.ts +2 -2
- package/dist/types/components/segmented-control/use-segmented-control.d.ts +9 -9
- package/dist/types/components/select/select.d.ts +2 -2
- package/dist/types/components/select/select.style.d.ts +1 -1
- package/dist/types/components/select/use-select.d.ts +4 -4
- package/dist/types/components/separator/separator.d.ts +2 -2
- package/dist/types/components/sidebar/sidebar.d.ts +2 -2
- package/dist/types/components/sidebar/use-sidebar.d.ts +9 -9
- package/dist/types/components/simple-grid/simple-grid.d.ts +2 -2
- package/dist/types/components/skeleton/skeleton.d.ts +2 -2
- package/dist/types/components/slide/slide.d.ts +2 -2
- package/dist/types/components/slide-fade/slide-fade.d.ts +2 -2
- package/dist/types/components/slider/slider.d.ts +2 -2
- package/dist/types/components/slider/use-slider.d.ts +2 -2
- package/dist/types/components/stack/h-stack.d.ts +2 -2
- package/dist/types/components/stack/stack.d.ts +2 -2
- package/dist/types/components/stack/v-stack.d.ts +2 -2
- package/dist/types/components/stack/z-stack.d.ts +2 -2
- package/dist/types/components/stat/stat.d.ts +2 -2
- package/dist/types/components/stat/stat.style.d.ts +2 -2
- package/dist/types/components/status/status.d.ts +2 -2
- package/dist/types/components/steps/steps.d.ts +2 -2
- package/dist/types/components/steps/steps.style.d.ts +1 -1
- package/dist/types/components/steps/use-steps.d.ts +10 -10
- package/dist/types/components/switch/switch.d.ts +2 -2
- package/dist/types/components/table/table.d.ts +2 -2
- package/dist/types/components/tabs/tabs.d.ts +2 -2
- package/dist/types/components/tabs/tabs.style.d.ts +1 -1
- package/dist/types/components/tabs/use-tabs.d.ts +16 -16
- package/dist/types/components/tag/tag.d.ts +2 -2
- package/dist/types/components/text/text.d.ts +2 -2
- package/dist/types/components/textarea/textarea.d.ts +2 -2
- package/dist/types/components/textarea/use-autosize.d.ts +2 -2
- package/dist/types/components/timeline/timeline.d.ts +5 -5
- package/dist/types/components/timeline/timeline.style.d.ts +1 -1
- package/dist/types/components/toggle/toggle.d.ts +5 -5
- package/dist/types/components/toggle/use-toggle-group.d.ts +2 -2
- package/dist/types/components/toggle/use-toggle.d.ts +2 -2
- package/dist/types/components/tooltip/tooltip.d.ts +2 -2
- package/dist/types/components/tree/tree.d.ts +2 -2
- package/dist/types/components/tree/tree.style.d.ts +1 -1
- package/dist/types/components/tree/use-tree.d.ts +237 -237
- package/dist/types/components/visually-hidden/visually-hidden.d.ts +2 -2
- package/dist/types/components/wrap/wrap.d.ts +2 -2
- package/dist/types/core/components/create-component.d.ts +7 -7
- package/dist/types/core/system/color-mode-provider.d.ts +2 -2
- package/dist/types/core/system/storage-script.d.ts +3 -3
- package/dist/types/core/system/styled.d.ts +2 -2
- package/dist/types/core/system/system-provider.d.ts +2 -2
- package/dist/types/hooks/use-breakpoint/use-breakpoint-state.d.ts +2 -2
- package/dist/types/hooks/use-clickable/index.d.ts +9 -9
- package/dist/types/hooks/use-clipboard/index.d.ts +2 -2
- package/dist/types/hooks/use-combobox/index.d.ts +12 -12
- package/dist/types/hooks/use-counter/index.d.ts +2 -2
- package/dist/types/hooks/use-descendants/index.d.ts +2 -2
- package/dist/types/hooks/use-field-sizing/index.d.ts +2 -2
- package/dist/types/hooks/use-hover/index.d.ts +2 -2
- package/dist/types/hooks/use-popper/index.d.ts +2 -2
- package/dist/types/hooks/use-resize-observer/index.d.ts +3 -3
- package/dist/types/providers/i18n-provider/i18n-provider.d.ts +3 -3
- package/dist/types/providers/ui-provider/ui-provider.d.ts +2 -2
- package/dist/types/utils/children.d.ts +2 -2
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@ import { Component, HTMLStyledProps } from "../../core/components/index.types.js
|
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import { TagStyle } from "./tag.style.js";
|
|
5
5
|
import "../../index.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react446 from "react";
|
|
7
7
|
import { MouseEventHandler, ReactNode } from "react";
|
|
8
8
|
|
|
9
9
|
//#region src/components/tag/tag.d.ts
|
|
@@ -39,7 +39,7 @@ interface TagProps extends HTMLStyledProps<"span">, ThemeProps<TagStyle> {
|
|
|
39
39
|
*/
|
|
40
40
|
onClose?: MouseEventHandler<HTMLElement>;
|
|
41
41
|
}
|
|
42
|
-
declare const TagPropsContext:
|
|
42
|
+
declare const TagPropsContext: react446.Context<Partial<TagProps> | undefined>, useTagPropsContext: () => Partial<TagProps> | undefined;
|
|
43
43
|
/**
|
|
44
44
|
* `Tag` is a component used to categorize or organize items using keywords that describe them.
|
|
45
45
|
*
|
|
@@ -4,7 +4,7 @@ import { Component, HTMLStyledProps } from "../../core/components/index.types.js
|
|
|
4
4
|
import "../../core/index.js";
|
|
5
5
|
import { TextStyle } from "./text.style.js";
|
|
6
6
|
import "../../index.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as react441 from "react";
|
|
8
8
|
|
|
9
9
|
//#region src/components/text/text.d.ts
|
|
10
10
|
interface TextProps extends HTMLStyledProps<"p">, ThemeProps<TextStyle> {
|
|
@@ -21,7 +21,7 @@ interface TextProps extends HTMLStyledProps<"p">, ThemeProps<TextStyle> {
|
|
|
21
21
|
*/
|
|
22
22
|
decoration?: CSSProps["textDecoration"];
|
|
23
23
|
}
|
|
24
|
-
declare const TextPropsContext:
|
|
24
|
+
declare const TextPropsContext: react441.Context<Partial<TextProps> | undefined>, useTextPropsContext: () => Partial<TextProps> | undefined;
|
|
25
25
|
/**
|
|
26
26
|
* `Text` is a component that represents a paragraph of text. By default, it renders a `p` element.
|
|
27
27
|
*
|
|
@@ -6,11 +6,11 @@ import { UseInputBorderProps } from "../input/use-input-border.js";
|
|
|
6
6
|
import { TextareaStyle } from "./textarea.style.js";
|
|
7
7
|
import { UseTextareaProps } from "./use-textarea.js";
|
|
8
8
|
import "../../index.js";
|
|
9
|
-
import * as
|
|
9
|
+
import * as react439 from "react";
|
|
10
10
|
|
|
11
11
|
//#region src/components/textarea/textarea.d.ts
|
|
12
12
|
interface TextareaProps extends HTMLStyledProps<"textarea">, ThemeProps<TextareaStyle>, UseInputBorderProps, FieldProps, UseTextareaProps {}
|
|
13
|
-
declare const TextareaPropsContext:
|
|
13
|
+
declare const TextareaPropsContext: react439.Context<Partial<TextareaProps> | undefined>, useTextareaPropsContext: () => Partial<TextareaProps> | undefined;
|
|
14
14
|
/**
|
|
15
15
|
* `Textarea` is a component used to obtain multi-line text input.
|
|
16
16
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropGetter } from "../../core/components/index.types.js";
|
|
2
2
|
import "../../core/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react440 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/textarea/use-autosize.d.ts
|
|
6
6
|
interface UseAutosizeProps {
|
|
@@ -28,7 +28,7 @@ declare const useAutosize: ({
|
|
|
28
28
|
maxRows,
|
|
29
29
|
minRows
|
|
30
30
|
}?: UseAutosizeProps) => {
|
|
31
|
-
ref:
|
|
31
|
+
ref: react440.RefObject<HTMLTextAreaElement | null>;
|
|
32
32
|
getTextareaProps: PropGetter<"textarea", undefined, undefined>;
|
|
33
33
|
onResizeTextarea: () => void;
|
|
34
34
|
};
|
|
@@ -4,8 +4,8 @@ import { Component, HTMLStyledProps } from "../../core/components/index.types.js
|
|
|
4
4
|
import "../../core/index.js";
|
|
5
5
|
import { TimelineStyle } from "./timeline.style.js";
|
|
6
6
|
import "../../index.js";
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
7
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
8
|
+
import * as react292 from "react";
|
|
9
9
|
import { ReactNode } from "react";
|
|
10
10
|
|
|
11
11
|
//#region src/components/timeline/timeline.d.ts
|
|
@@ -59,7 +59,7 @@ interface TimelineRootProps extends HTMLStyledProps<"ul">, ThemeProps<TimelineSt
|
|
|
59
59
|
*/
|
|
60
60
|
separatorWidth?: CSSProps["width"];
|
|
61
61
|
}
|
|
62
|
-
declare const TimelinePropsContext:
|
|
62
|
+
declare const TimelinePropsContext: react292.Context<Partial<TimelineRootProps> | undefined>, useTimelinePropsContext: () => Partial<TimelineRootProps> | undefined;
|
|
63
63
|
/**
|
|
64
64
|
* `Timeline` is a component that is used to display a list of events in chronological order.
|
|
65
65
|
*
|
|
@@ -71,7 +71,7 @@ declare const TimelineRoot: Component<({
|
|
|
71
71
|
index,
|
|
72
72
|
items,
|
|
73
73
|
...rest
|
|
74
|
-
}: WithoutThemeProps<TimelineRootProps, ComponentSlotStyle<"title" | "content" | "
|
|
74
|
+
}: WithoutThemeProps<TimelineRootProps, ComponentSlotStyle<"title" | "content" | "root" | "description" | "item" | "indicator" | "connector", {
|
|
75
75
|
align: {
|
|
76
76
|
center: {
|
|
77
77
|
content: {
|
|
@@ -241,7 +241,7 @@ declare const TimelineRoot: Component<({
|
|
|
241
241
|
};
|
|
242
242
|
};
|
|
243
243
|
plain: {};
|
|
244
|
-
}>, "variant">) =>
|
|
244
|
+
}>, "variant">) => react_jsx_runtime6.JSX.Element, TimelineRootProps>;
|
|
245
245
|
interface TimelineItemProps extends HTMLStyledProps<"li"> {
|
|
246
246
|
/**
|
|
247
247
|
* The index of the timeline item.
|
|
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.types.js";
|
|
|
2
2
|
import "../../index.js";
|
|
3
3
|
|
|
4
4
|
//#region src/components/timeline/timeline.style.d.ts
|
|
5
|
-
declare const timelineStyle: ComponentSlotStyle<"title" | "content" | "
|
|
5
|
+
declare const timelineStyle: ComponentSlotStyle<"title" | "content" | "root" | "description" | "item" | "indicator" | "connector", {
|
|
6
6
|
/**
|
|
7
7
|
* The alignment of the timeline.
|
|
8
8
|
*
|
|
@@ -8,13 +8,13 @@ import { IconButtonProps } from "../button/icon-button.js";
|
|
|
8
8
|
import { ToggleStyle } from "./toggle.style.js";
|
|
9
9
|
import { UseToggleProps } from "./use-toggle.js";
|
|
10
10
|
import "../../index.js";
|
|
11
|
-
import * as
|
|
11
|
+
import * as react434 from "react";
|
|
12
12
|
import { ReactElement } from "react";
|
|
13
|
-
import * as
|
|
13
|
+
import * as _yamada_ui_utils15 from "@yamada-ui/utils";
|
|
14
14
|
|
|
15
15
|
//#region src/components/toggle/toggle.d.ts
|
|
16
16
|
interface ToggleProps<Y extends string = string> extends Omit<WithoutThemeProps<IconButtonProps, ToggleStyle>, "aria-label" | "onChange" | "ref" | "value">, UseToggleProps<Y>, Pick<UseInputBorderProps, "errorBorderColor">, ThemeProps<ToggleStyle> {}
|
|
17
|
-
declare const component: <H extends "fragment" | As = "div", R extends
|
|
17
|
+
declare const component: <H extends "fragment" | As = "div", R extends _yamada_ui_utils15.Dict = _yamada_ui_utils15.Dict<any>>(el: H | react434.FC<R>, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"group" | "root", {
|
|
18
18
|
fullRounded: {
|
|
19
19
|
true: {
|
|
20
20
|
root: {
|
|
@@ -173,7 +173,7 @@ declare const component: <H extends "fragment" | As = "div", R extends _yamada_u
|
|
|
173
173
|
name,
|
|
174
174
|
className,
|
|
175
175
|
...options
|
|
176
|
-
}?: ComponentOptions) => (initialProps?: InitialProps<R>, ...superProps: SuperProps<R>[]) => H extends "fragment" ?
|
|
176
|
+
}?: ComponentOptions) => (initialProps?: InitialProps<R>, ...superProps: SuperProps<R>[]) => H extends "fragment" ? react434.FunctionComponent<R> : Component<Exclude<H, "fragment">, R>, TogglePropsContext: react434.Context<Partial<ToggleProps<string>> | undefined>, useTogglePropsContext: () => Partial<ToggleProps<string>> | undefined, useRootComponentProps: <Y extends _yamada_ui_utils15.Dict = {}, R extends keyof Y = keyof Y>(props: Y, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"group" | "root", {
|
|
177
177
|
fullRounded: {
|
|
178
178
|
true: {
|
|
179
179
|
root: {
|
|
@@ -332,7 +332,7 @@ declare const component: <H extends "fragment" | As = "div", R extends _yamada_u
|
|
|
332
332
|
className,
|
|
333
333
|
withContext,
|
|
334
334
|
transferProps
|
|
335
|
-
}?: UseComponentPropsOptions<R>) => [CSSSlotObject,
|
|
335
|
+
}?: UseComponentPropsOptions<R>) => [CSSSlotObject, _yamada_ui_utils15.Merge<WithoutThemeProps<Y, ComponentSlotStyle<"group" | "root", {
|
|
336
336
|
fullRounded: {
|
|
337
337
|
true: {
|
|
338
338
|
root: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLProps, PropGetter } from "../../core/components/index.types.js";
|
|
2
2
|
import "../../core/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react433 from "react";
|
|
4
4
|
import { RefObject } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toggle/use-toggle-group.d.ts
|
|
@@ -11,7 +11,7 @@ interface ToggleGroupContext {
|
|
|
11
11
|
value?: string | string[];
|
|
12
12
|
onChange?: <Y extends string = string>(value: undefined | Y) => void;
|
|
13
13
|
}
|
|
14
|
-
declare const ToggleGroupContext:
|
|
14
|
+
declare const ToggleGroupContext: react433.Context<ToggleGroupContext | undefined>, useToggleGroupContext: () => ToggleGroupContext | undefined;
|
|
15
15
|
interface UseToggleGroupProps<Y extends string | string[] = string> extends Omit<HTMLProps, "defaultValue" | "onChange" | "value"> {
|
|
16
16
|
/**
|
|
17
17
|
* The initial value of the toggle button group.
|
|
@@ -2,7 +2,7 @@ import { Merge } from "../../utils/index.js";
|
|
|
2
2
|
import { HTMLProps, HTMLRefAttributes, PropGetter } from "../../core/components/index.types.js";
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import { FieldProps } from "../field/field.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react437 from "react";
|
|
6
6
|
|
|
7
7
|
//#region src/components/toggle/use-toggle.d.ts
|
|
8
8
|
interface UseToggleProps<Y extends string = string> extends FieldProps, HTMLRefAttributes<"input">, Omit<HTMLProps<"button">, "onChange" | "ref" | "value"> {
|
|
@@ -33,7 +33,7 @@ interface UseToggleProps<Y extends string = string> extends FieldProps, HTMLRefA
|
|
|
33
33
|
}
|
|
34
34
|
declare const useToggle: <Y extends string = string>(props?: UseToggleProps<Y>) => {
|
|
35
35
|
checked: boolean;
|
|
36
|
-
setChecked:
|
|
36
|
+
setChecked: react437.Dispatch<react437.SetStateAction<boolean>>;
|
|
37
37
|
getButtonProps: PropGetter<"button", undefined, Merge<HTMLProps<"button">, {
|
|
38
38
|
"aria-label": string;
|
|
39
39
|
}>>;
|
|
@@ -5,7 +5,7 @@ import { PortalProps } from "../portal/portal.js";
|
|
|
5
5
|
import { UsePopupAnimationProps } from "../popover/popover.js";
|
|
6
6
|
import { TooltipStyle } from "./tooltip.style.js";
|
|
7
7
|
import { UseTooltipProps } from "./use-tooltip.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as react109 from "react";
|
|
9
9
|
import { FC, PropsWithChildren, ReactNode } from "react";
|
|
10
10
|
|
|
11
11
|
//#region src/components/tooltip/tooltip.d.ts
|
|
@@ -29,7 +29,7 @@ interface TooltipProps extends UseTooltipProps, PropsWithChildren, UsePopupAnima
|
|
|
29
29
|
*/
|
|
30
30
|
portalProps?: Omit<PortalProps, "children">;
|
|
31
31
|
}
|
|
32
|
-
declare const TooltipPropsContext:
|
|
32
|
+
declare const TooltipPropsContext: react109.Context<Partial<TooltipProps> | undefined>, useTooltipPropsContext: () => Partial<TooltipProps> | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* `Tooltip` is a component that displays short information, such as supplementary details for an element.
|
|
35
35
|
*
|
|
@@ -8,7 +8,7 @@ import { CollapseProps } from "../collapse/collapse.js";
|
|
|
8
8
|
import { TreeStyle } from "./tree.style.js";
|
|
9
9
|
import { UseTreeItemProps, UseTreeProps } from "./use-tree.js";
|
|
10
10
|
import "../../index.js";
|
|
11
|
-
import * as
|
|
11
|
+
import * as react293 from "react";
|
|
12
12
|
import { ReactElement, ReactNode } from "react";
|
|
13
13
|
|
|
14
14
|
//#region src/components/tree/tree.d.ts
|
|
@@ -44,7 +44,7 @@ interface TreeRootProps<Multiple extends boolean = false> extends HTMLStyledProp
|
|
|
44
44
|
*/
|
|
45
45
|
itemProps?: Omit<TreeItemProps, "children" | "label" | "open" | "query" | "value">;
|
|
46
46
|
}
|
|
47
|
-
declare const TreePropsContext:
|
|
47
|
+
declare const TreePropsContext: react293.Context<Partial<TreeRootProps<false>> | undefined>, useTreePropsContext: () => Partial<TreeRootProps<false>> | undefined;
|
|
48
48
|
/**
|
|
49
49
|
* `Tree` is a component used to display hierarchical data structures in an expandable tree format.
|
|
50
50
|
*
|
|
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.types.js";
|
|
|
2
2
|
import "../../index.js";
|
|
3
3
|
|
|
4
4
|
//#region src/components/tree/tree.style.d.ts
|
|
5
|
-
declare const treeStyle: ComponentSlotStyle<"label" | "
|
|
5
|
+
declare const treeStyle: ComponentSlotStyle<"label" | "checkbox" | "group" | "end" | "start" | "element" | "root" | "item" | "indicator", {
|
|
6
6
|
/**
|
|
7
7
|
* The shape of the component
|
|
8
8
|
*
|