@yamada-ui/react 2.1.2-dev-20260304221545 → 2.1.2-dev-20260305230416
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/icon/icons/ellipse-icon.cjs +17 -0
- package/dist/cjs/components/icon/icons/ellipse-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/index.cjs +3 -0
- package/dist/cjs/components/icon/icons/index.cjs.map +1 -1
- package/dist/cjs/components/icon/index.cjs +2 -0
- package/dist/cjs/index.cjs +3 -0
- package/dist/esm/components/icon/icons/ellipse-icon.js +16 -0
- package/dist/esm/components/icon/icons/ellipse-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/index.js +3 -1
- package/dist/esm/components/icon/icons/index.js.map +1 -1
- package/dist/esm/components/icon/index.js +2 -1
- package/dist/esm/index.js +3 -1
- package/dist/types/components/accordion/accordion.d.ts +2 -4
- package/dist/types/components/accordion/use-accordion.d.ts +11 -11
- package/dist/types/components/airy/airy.d.ts +2 -3
- package/dist/types/components/alert/alert.d.ts +2 -5
- package/dist/types/components/alpha-slider/alpha-slider.d.ts +2 -3
- package/dist/types/components/aspect-ratio/aspect-ratio.d.ts +2 -2
- package/dist/types/components/autocomplete/autocomplete.d.ts +2 -4
- package/dist/types/components/autocomplete/autocomplete.style.d.ts +1 -1
- package/dist/types/components/autocomplete/use-autocomplete.d.ts +5 -7
- package/dist/types/components/avatar/avatar.d.ts +3 -3
- 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/use-breadcrumb.d.ts +2 -2
- package/dist/types/components/button/button-group.d.ts +0 -1
- package/dist/types/components/button/button.d.ts +2 -3
- package/dist/types/components/button/icon-button.d.ts +2 -2
- package/dist/types/components/calendar/calendar.d.ts +2 -3
- package/dist/types/components/calendar/calendar.style.d.ts +2 -2
- package/dist/types/components/calendar/use-calendar.d.ts +8 -9
- package/dist/types/components/card/card.d.ts +2 -2
- package/dist/types/components/carousel/carousel.d.ts +2 -3
- 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/area-chart.d.ts +2 -2
- package/dist/types/components/chart/bar-chart.d.ts +2 -2
- package/dist/types/components/chart/chart.d.ts +5 -5
- package/dist/types/components/chart/composed-chart.d.ts +2 -2
- package/dist/types/components/chart/donut-chart.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/radar-chart.d.ts +2 -2
- package/dist/types/components/chart/radial-chart.d.ts +2 -2
- package/dist/types/components/chart/use-chart.d.ts +2 -2
- package/dist/types/components/checkbox/checkbox-group.d.ts +0 -2
- package/dist/types/components/checkbox/checkbox.d.ts +4 -5
- package/dist/types/components/checkbox/use-checkbox-group.d.ts +2 -3
- package/dist/types/components/checkbox/use-checkbox.d.ts +0 -1
- package/dist/types/components/checkbox-card/checkbox-card-group.d.ts +0 -3
- package/dist/types/components/checkbox-card/checkbox-card.d.ts +4 -6
- package/dist/types/components/circle-progress/circle-progress.d.ts +2 -3
- package/dist/types/components/close-button/close-button.d.ts +2 -3
- package/dist/types/components/code/code.d.ts +2 -2
- package/dist/types/components/collapse/collapse.d.ts +2 -3
- package/dist/types/components/color-picker/color-picker.d.ts +2 -6
- package/dist/types/components/color-picker/use-color-picker.d.ts +2 -5
- package/dist/types/components/color-selector/color-selector.d.ts +2 -6
- package/dist/types/components/color-selector/use-color-selector.d.ts +3 -5
- 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/date-picker/date-picker.d.ts +2 -5
- package/dist/types/components/date-picker/use-date-picker.d.ts +4 -7
- package/dist/types/components/drawer/drawer.d.ts +2 -5
- package/dist/types/components/drawer/use-drawer.d.ts +0 -2
- package/dist/types/components/dropzone/dropzone.d.ts +4 -7
- package/dist/types/components/dropzone/use-dropzone.d.ts +0 -1
- package/dist/types/components/editable/editable.d.ts +4 -5
- package/dist/types/components/editable/use-editable.d.ts +2 -3
- 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/fade/fade.d.ts +2 -3
- package/dist/types/components/fade-scale/fade-scale.d.ts +0 -1
- package/dist/types/components/field/field.d.ts +3 -3
- package/dist/types/components/field/use-field-props.d.ts +4 -4
- package/dist/types/components/fieldset/fieldset.d.ts +3 -4
- package/dist/types/components/file-button/file-button.d.ts +2 -4
- package/dist/types/components/file-button/use-file-button.d.ts +3 -5
- package/dist/types/components/file-input/file-input.d.ts +2 -4
- package/dist/types/components/file-input/use-file-input.d.ts +17 -18
- package/dist/types/components/flex/flex.d.ts +2 -2
- package/dist/types/components/flip/flip.d.ts +4 -5
- package/dist/types/components/float/float.d.ts +2 -2
- package/dist/types/components/form/form.d.ts +3 -4
- 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/format/use-format-byte.d.ts +0 -1
- package/dist/types/components/format/use-format-date-time.d.ts +0 -1
- package/dist/types/components/format/use-format-number.d.ts +0 -1
- 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 -3
- 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/highlight/highlight.d.ts +0 -2
- package/dist/types/components/hue-slider/hue-slider.d.ts +3 -4
- package/dist/types/components/icon/icon.d.ts +5 -5
- package/dist/types/components/icon/icons/ellipse-icon.d.ts +15 -0
- package/dist/types/components/icon/icons/index.d.ts +3 -2
- package/dist/types/components/icon/icons/index.types.d.ts +1 -1
- package/dist/types/components/icon/index.d.ts +2 -1
- package/dist/types/components/image/image.d.ts +2 -2
- package/dist/types/components/indicator/indicator.d.ts +4 -5
- 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-group.d.ts +0 -2
- package/dist/types/components/input/input.d.ts +2 -3
- 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 -4
- package/dist/types/components/loading/use-loading-component.d.ts +0 -1
- package/dist/types/components/mark/mark.d.ts +2 -2
- package/dist/types/components/menu/menu.d.ts +2 -3
- package/dist/types/components/menu/use-menu.d.ts +11 -11
- package/dist/types/components/modal/modal.d.ts +2 -6
- package/dist/types/components/native-accordion/native-accordion.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 -4
- package/dist/types/components/native-select/use-native-select.d.ts +0 -1
- package/dist/types/components/native-table/native-table.d.ts +4 -4
- package/dist/types/components/notice/use-notice.d.ts +0 -3
- package/dist/types/components/number-input/number-input.d.ts +2 -3
- package/dist/types/components/number-input/use-number-input.d.ts +0 -1
- package/dist/types/components/pagination/pagination.d.ts +2 -3
- package/dist/types/components/pagination/use-pagination.d.ts +2 -2
- package/dist/types/components/password-input/password-input.d.ts +2 -3
- package/dist/types/components/password-input/strength-meter.d.ts +2 -2
- package/dist/types/components/password-input/use-password-input.d.ts +2 -3
- package/dist/types/components/picture/picture.d.ts +0 -1
- package/dist/types/components/pin-input/pin-input.d.ts +2 -4
- package/dist/types/components/pin-input/use-pin-input.d.ts +7 -8
- package/dist/types/components/popover/popover.d.ts +2 -3
- 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-group.d.ts +0 -2
- package/dist/types/components/radio/radio.d.ts +4 -5
- package/dist/types/components/radio/use-radio-group.d.ts +2 -3
- package/dist/types/components/radio/use-radio.d.ts +0 -1
- package/dist/types/components/radio-card/radio-card-group.d.ts +0 -3
- package/dist/types/components/radio-card/radio-card.d.ts +4 -6
- package/dist/types/components/rating/use-rating.d.ts +7 -8
- package/dist/types/components/reorder/reorder.d.ts +2 -3
- package/dist/types/components/reorder/reorder.style.d.ts +1 -1
- package/dist/types/components/reorder/use-reorder.d.ts +3 -3
- 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 -3
- package/dist/types/components/ripple/use-ripple.d.ts +2 -2
- package/dist/types/components/rotate/rotate.d.ts +2 -3
- package/dist/types/components/saturation-slider/saturation-slider.d.ts +2 -2
- package/dist/types/components/saturation-slider/use-saturation-slider.d.ts +2 -3
- package/dist/types/components/scroll-area/scroll-area.d.ts +2 -2
- package/dist/types/components/segmented-control/segmented-control.d.ts +2 -3
- package/dist/types/components/segmented-control/use-segmented-control.d.ts +9 -10
- package/dist/types/components/select/select.d.ts +2 -4
- package/dist/types/components/select/use-select.d.ts +4 -6
- package/dist/types/components/separator/separator.d.ts +2 -2
- package/dist/types/components/simple-grid/simple-grid.d.ts +2 -3
- package/dist/types/components/skeleton/skeleton.d.ts +2 -2
- package/dist/types/components/slide/slide.d.ts +2 -3
- package/dist/types/components/slide-fade/slide-fade.d.ts +2 -3
- package/dist/types/components/slider/slider.d.ts +2 -2
- package/dist/types/components/slider/use-slider.d.ts +2 -3
- package/dist/types/components/snacks/snacks.d.ts +0 -2
- package/dist/types/components/snacks/use-snacks.d.ts +0 -1
- 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/status/status.d.ts +2 -2
- package/dist/types/components/steps/steps.d.ts +2 -2
- 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/switch/use-switch.d.ts +0 -1
- package/dist/types/components/table/table.d.ts +2 -4
- package/dist/types/components/tabs/tabs.d.ts +2 -2
- 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 -4
- 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 +2 -2
- package/dist/types/components/tip/tip.d.ts +0 -2
- package/dist/types/components/toggle/toggle-group.d.ts +1 -1
- package/dist/types/components/toggle/toggle.d.ts +5 -7
- package/dist/types/components/toggle/use-toggle-group.d.ts +2 -2
- package/dist/types/components/toggle/use-toggle.d.ts +2 -3
- package/dist/types/components/tooltip/tooltip.d.ts +2 -4
- package/dist/types/components/visually-hidden/visually-hidden.d.ts +2 -2
- package/dist/types/components/wrap/wrap.d.ts +2 -3
- package/dist/types/core/components/create-component.d.ts +9 -7
- package/dist/types/core/components/index.types.d.ts +1 -0
- package/dist/types/core/components/use-component-style.d.ts +2 -0
- package/dist/types/core/components/utils.d.ts +1 -0
- package/dist/types/core/constant.d.ts +1 -0
- package/dist/types/core/css/calc.d.ts +1 -0
- package/dist/types/core/css/config.d.ts +1 -0
- package/dist/types/core/css/css.d.ts +1 -0
- package/dist/types/core/css/index.types.d.ts +1 -0
- package/dist/types/core/css/styles.d.ts +1 -0
- package/dist/types/core/css/token.d.ts +1 -0
- package/dist/types/core/css/use-css.d.ts +1 -0
- package/dist/types/core/css/utils.d.ts +2 -0
- package/dist/types/core/generated-theme-tokens.types.d.ts +1 -0
- package/dist/types/core/index.d.ts +2 -0
- package/dist/types/core/system/color-mode-provider.d.ts +2 -2
- package/dist/types/core/system/config.d.ts +1 -0
- package/dist/types/core/system/factory.d.ts +1 -0
- package/dist/types/core/system/index.types.d.ts +1 -0
- package/dist/types/core/system/storage-script.d.ts +3 -3
- package/dist/types/core/system/styled.d.ts +3 -2
- package/dist/types/core/system/system-provider.d.ts +2 -2
- package/dist/types/core/system/var.d.ts +2 -0
- package/dist/types/hooks/use-async-callback/index.d.ts +0 -1
- 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 -13
- 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/index.d.ts +3 -105
- package/dist/types/providers/i18n-provider/i18n-provider.d.ts +3 -3
- package/dist/types/providers/ui-provider/ui-provider.d.ts +0 -1
- package/dist/types/utils/children.d.ts +2 -2
- package/package.json +4 -4
|
@@ -4,7 +4,7 @@ import "../../core/index.js";
|
|
|
4
4
|
import { QrCodeStyle } from "./qr-code.style.js";
|
|
5
5
|
import { UseQrCodeProps } from "./use-qr-code.js";
|
|
6
6
|
import "../../index.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as react887 from "react";
|
|
8
8
|
|
|
9
9
|
//#region src/components/qr-code/qr-code.d.ts
|
|
10
10
|
interface QrCodeRootProps extends Omit<HTMLStyledProps, "border" | "invert">, ThemeProps<QrCodeStyle>, UseQrCodeProps {
|
|
@@ -17,7 +17,7 @@ interface QrCodeRootProps extends Omit<HTMLStyledProps, "border" | "invert">, Th
|
|
|
17
17
|
*/
|
|
18
18
|
patternProps?: QrCodePatternProps;
|
|
19
19
|
}
|
|
20
|
-
declare const QrCodePropsContext:
|
|
20
|
+
declare const QrCodePropsContext: react887.Context<Partial<QrCodeRootProps> | undefined>, useQrCodePropsContext: () => Partial<QrCodeRootProps> | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* `QrCode` is a component that displays a QR code.
|
|
23
23
|
*
|
|
@@ -3,8 +3,6 @@ import { GenericsComponent } from "../../core/components/index.types.js";
|
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import { UseInputBorderProps } from "../input/use-input-border.js";
|
|
5
5
|
import { GroupProps } from "../group/group.js";
|
|
6
|
-
import "../group/index.js";
|
|
7
|
-
import "../input/index.js";
|
|
8
6
|
import { RadioStyle } from "./radio.style.js";
|
|
9
7
|
import { Radio, RadioProps } from "./radio.js";
|
|
10
8
|
import { UseRadioGroupProps } from "./use-radio-group.js";
|
|
@@ -5,13 +5,12 @@ import { As, Component, GenericsComponent, HTMLStyledProps } from "../../core/co
|
|
|
5
5
|
import { ComponentOptions, ComponentSlot, ComponentSlotName, InitialProps, SuperProps, UseComponentPropsOptions } from "../../core/components/create-component.js";
|
|
6
6
|
import "../../core/index.js";
|
|
7
7
|
import { UseInputBorderProps } from "../input/use-input-border.js";
|
|
8
|
-
import "../input/index.js";
|
|
9
8
|
import { RadioStyle } from "./radio.style.js";
|
|
10
9
|
import { UseRadioProps } from "./use-radio.js";
|
|
11
10
|
import "../../index.js";
|
|
12
|
-
import * as
|
|
11
|
+
import * as react897 from "react";
|
|
13
12
|
import { ReactElement } from "react";
|
|
14
|
-
import * as
|
|
13
|
+
import * as _yamada_ui_utils15 from "@yamada-ui/utils";
|
|
15
14
|
|
|
16
15
|
//#region src/components/radio/radio.d.ts
|
|
17
16
|
interface RadioProps<Y extends string = string> extends Merge<HTMLStyledProps<"label">, UseRadioProps<Y>>, ThemeProps<RadioStyle>, UseInputBorderProps {
|
|
@@ -32,7 +31,7 @@ interface RadioProps<Y extends string = string> extends Merge<HTMLStyledProps<"l
|
|
|
32
31
|
*/
|
|
33
32
|
rootProps?: HTMLStyledProps<"label">;
|
|
34
33
|
}
|
|
35
|
-
declare const component: <H extends
|
|
34
|
+
declare const component: <H extends "fragment" | As = "div", R extends _yamada_ui_utils15.Dict = _yamada_ui_utils15.Dict<any>>(el: H | react897.FC<R>, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"label" | "group" | "root" | "indicator", {
|
|
36
35
|
shape: {
|
|
37
36
|
circle: {
|
|
38
37
|
indicator: {
|
|
@@ -138,7 +137,7 @@ declare const component: <H extends As | "fragment" = "div", R extends _yamada_u
|
|
|
138
137
|
name,
|
|
139
138
|
className,
|
|
140
139
|
...options
|
|
141
|
-
}?: ComponentOptions) => (initialProps?: InitialProps<R>, ...superProps: SuperProps<R>[]) => H extends "fragment" ?
|
|
140
|
+
}?: ComponentOptions) => (initialProps?: InitialProps<R>, ...superProps: SuperProps<R>[]) => H extends "fragment" ? react897.FunctionComponent<R> : Component<Exclude<H, "fragment">, R>, RadioPropsContext: react897.Context<Partial<RadioProps<string>> | undefined>, useRadioPropsContext: () => Partial<RadioProps<string>> | undefined, useRootComponentProps: <Y extends _yamada_ui_utils15.Dict = _yamada_ui_utils15.Dict<any>, R extends keyof Y = keyof Y>(props: Y, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"label" | "group" | "root" | "indicator", {
|
|
142
141
|
shape: {
|
|
143
142
|
circle: {
|
|
144
143
|
indicator: {
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { HTMLProps, PropGetter } from "../../core/components/index.types.js";
|
|
2
2
|
import "../../core/index.js";
|
|
3
3
|
import { FieldProps } from "../field/field.js";
|
|
4
|
-
import "
|
|
5
|
-
import * as react1027 from "react";
|
|
4
|
+
import * as react900 from "react";
|
|
6
5
|
import { ChangeEvent } from "react";
|
|
7
6
|
|
|
8
7
|
//#region src/components/radio/use-radio-group.d.ts
|
|
9
8
|
interface RadioGroupContext extends Omit<UseRadioGroupReturn, "getRootProps"> {}
|
|
10
|
-
declare const RadioGroupContext:
|
|
9
|
+
declare const RadioGroupContext: react900.Context<RadioGroupContext | undefined>, useRadioGroupContext: () => RadioGroupContext | undefined;
|
|
11
10
|
interface UseRadioGroupProps<Y extends string = string> extends Omit<HTMLProps, "defaultValue" | "onChange" | "value">, FieldProps {
|
|
12
11
|
/**
|
|
13
12
|
* The initial value of the radio group.
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { HTMLProps, HTMLRefAttributes, PropGetter } from "../../core/components/index.types.js";
|
|
2
2
|
import "../../core/index.js";
|
|
3
3
|
import { FieldProps } from "../field/field.js";
|
|
4
|
-
import "../field/index.js";
|
|
5
4
|
import { ChangeEvent, ChangeEventHandler, FocusEventHandler } from "react";
|
|
6
5
|
|
|
7
6
|
//#region src/components/radio/use-radio.d.ts
|
|
@@ -3,10 +3,7 @@ import { GenericsComponent } from "../../core/components/index.types.js";
|
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import { UseInputBorderProps } from "../input/use-input-border.js";
|
|
5
5
|
import { GroupProps } from "../group/group.js";
|
|
6
|
-
import "../group/index.js";
|
|
7
|
-
import "../input/index.js";
|
|
8
6
|
import { UseRadioGroupProps } from "../radio/use-radio-group.js";
|
|
9
|
-
import "../radio/index.js";
|
|
10
7
|
import { RadioCardStyle } from "./radio-card.style.js";
|
|
11
8
|
import { RadioCardRoot, RadioCardRootProps } from "./radio-card.js";
|
|
12
9
|
import { ReactElement } from "react";
|
|
@@ -5,14 +5,12 @@ import { As, Component, GenericsComponent, HTMLStyledProps } from "../../core/co
|
|
|
5
5
|
import { ComponentOptions, ComponentSlot, ComponentSlotName, InitialProps, SuperProps, UseComponentPropsOptions } from "../../core/components/create-component.js";
|
|
6
6
|
import "../../core/index.js";
|
|
7
7
|
import { UseInputBorderProps } from "../input/use-input-border.js";
|
|
8
|
-
import "../input/index.js";
|
|
9
8
|
import { UseRadioProps } from "../radio/use-radio.js";
|
|
10
|
-
import "../radio/index.js";
|
|
11
9
|
import { RadioCardStyle } from "./radio-card.style.js";
|
|
12
10
|
import "../../index.js";
|
|
13
|
-
import * as
|
|
11
|
+
import * as react930 from "react";
|
|
14
12
|
import { ReactElement, ReactNode } from "react";
|
|
15
|
-
import * as
|
|
13
|
+
import * as _yamada_ui_utils24 from "@yamada-ui/utils";
|
|
16
14
|
|
|
17
15
|
//#region src/components/radio-card/radio-card.d.ts
|
|
18
16
|
interface RadioCardRootProps<Y extends string = string> extends Merge<HTMLStyledProps<"label">, UseRadioProps<Y>>, ThemeProps<RadioCardStyle>, UseInputBorderProps {
|
|
@@ -59,7 +57,7 @@ interface RadioCardRootProps<Y extends string = string> extends Merge<HTMLStyled
|
|
|
59
57
|
*/
|
|
60
58
|
rootProps?: HTMLStyledProps<"label">;
|
|
61
59
|
}
|
|
62
|
-
declare const component: <H extends
|
|
60
|
+
declare const component: <H extends "fragment" | As = "div", R extends _yamada_ui_utils24.Dict = _yamada_ui_utils24.Dict<any>>(el: H | react930.FC<R>, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"group" | "root" | "description" | "indicator" | "addon", {
|
|
63
61
|
justify: {
|
|
64
62
|
end: {
|
|
65
63
|
addon: {
|
|
@@ -236,7 +234,7 @@ declare const component: <H extends As | "fragment" = "div", R extends _yamada_u
|
|
|
236
234
|
name,
|
|
237
235
|
className,
|
|
238
236
|
...options
|
|
239
|
-
}?: ComponentOptions) => (initialProps?: InitialProps<R>, ...superProps: SuperProps<R>[]) => H extends "fragment" ?
|
|
237
|
+
}?: ComponentOptions) => (initialProps?: InitialProps<R>, ...superProps: SuperProps<R>[]) => H extends "fragment" ? react930.FunctionComponent<R> : Component<Exclude<H, "fragment">, R>, RadioCardPropsContext: react930.Context<Partial<RadioCardRootProps<string>> | undefined>, useRadioCardPropsContext: () => Partial<RadioCardRootProps<string>> | undefined, useRootComponentProps: <Y extends _yamada_ui_utils24.Dict = _yamada_ui_utils24.Dict<any>, R extends keyof Y = keyof Y>(props: Y, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"group" | "root" | "description" | "indicator" | "addon", {
|
|
240
238
|
justify: {
|
|
241
239
|
end: {
|
|
242
240
|
addon: {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { HTMLProps, PropGetter } from "../../core/components/index.types.js";
|
|
2
2
|
import "../../core/index.js";
|
|
3
3
|
import { FieldProps } from "../field/field.js";
|
|
4
|
-
import "
|
|
5
|
-
import * as react1011 from "react";
|
|
4
|
+
import * as react888 from "react";
|
|
6
5
|
|
|
7
6
|
//#region src/components/rating/use-rating.d.ts
|
|
8
7
|
interface RatingContext extends Omit<UseRatingReturn, "getRootProps"> {}
|
|
9
|
-
declare const RatingContext:
|
|
8
|
+
declare const RatingContext: react888.Context<RatingContext>, useRatingContext: () => RatingContext;
|
|
10
9
|
interface UseRatingProps extends FieldProps, Omit<HTMLProps, "color" | "defaultValue" | "onChange"> {
|
|
11
10
|
/**
|
|
12
11
|
* Number of controls that should be rendered.
|
|
@@ -65,12 +64,12 @@ declare const useRating: (props?: UseRatingProps) => {
|
|
|
65
64
|
highlightSelectedOnly: boolean;
|
|
66
65
|
hoveredValue: number;
|
|
67
66
|
interactive: boolean;
|
|
68
|
-
outsideRef:
|
|
67
|
+
outsideRef: react888.RefObject<boolean>;
|
|
69
68
|
readOnly: boolean | undefined;
|
|
70
69
|
required: boolean | undefined;
|
|
71
70
|
roundedValue: number;
|
|
72
|
-
setHoveredValue:
|
|
73
|
-
setValue:
|
|
71
|
+
setHoveredValue: react888.Dispatch<react888.SetStateAction<number>>;
|
|
72
|
+
setValue: react888.Dispatch<react888.SetStateAction<number>>;
|
|
74
73
|
value: number;
|
|
75
74
|
ariaProps: {
|
|
76
75
|
"aria-describedby": any;
|
|
@@ -86,8 +85,8 @@ declare const useRating: (props?: UseRatingProps) => {
|
|
|
86
85
|
"data-required": string | undefined;
|
|
87
86
|
};
|
|
88
87
|
eventProps: {
|
|
89
|
-
onBlur: (ev:
|
|
90
|
-
onFocus: (ev:
|
|
88
|
+
onBlur: (ev: react888.FocusEvent<HTMLDivElement, Element>) => void;
|
|
89
|
+
onFocus: (ev: react888.FocusEvent<HTMLDivElement, Element>) => void;
|
|
91
90
|
};
|
|
92
91
|
getRootProps: PropGetter<"div", undefined, undefined>;
|
|
93
92
|
};
|
|
@@ -3,11 +3,10 @@ import { ThemeProps } from "../../core/system/index.types.js";
|
|
|
3
3
|
import { Component, GenericsComponent, HTMLStyledProps } from "../../core/components/index.types.js";
|
|
4
4
|
import "../../core/index.js";
|
|
5
5
|
import { HTMLMotionProps } from "../motion/index.types.js";
|
|
6
|
-
import "../motion/index.js";
|
|
7
6
|
import { ReorderStyle } from "./reorder.style.js";
|
|
8
7
|
import { UseReorderItemProps, UseReorderProps } from "./use-reorder.js";
|
|
9
8
|
import "../../index.js";
|
|
10
|
-
import * as
|
|
9
|
+
import * as react886 from "react";
|
|
11
10
|
import { PropsWithChildren, ReactElement } from "react";
|
|
12
11
|
|
|
13
12
|
//#region src/components/reorder/reorder.d.ts
|
|
@@ -19,7 +18,7 @@ interface ReorderRootProps<Y = string> extends Merge<HTMLMotionProps<"ul">, Omit
|
|
|
19
18
|
*/
|
|
20
19
|
items?: ReorderItem<Y>[];
|
|
21
20
|
}
|
|
22
|
-
declare const ReorderPropsContext:
|
|
21
|
+
declare const ReorderPropsContext: react886.Context<Partial<ReorderRootProps<string>> | undefined>, useReorderPropsContext: () => Partial<ReorderRootProps<string>> | undefined;
|
|
23
22
|
/**
|
|
24
23
|
* `Reorder` is a component that allows you to change the order of items using drag and drop.
|
|
25
24
|
*
|
|
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.types.js";
|
|
|
2
2
|
import "../../index.js";
|
|
3
3
|
|
|
4
4
|
//#region src/components/reorder/reorder.style.d.ts
|
|
5
|
-
declare const reorderStyle: ComponentSlotStyle<"root" | "
|
|
5
|
+
declare const reorderStyle: ComponentSlotStyle<"root" | "trigger" | "item", {
|
|
6
6
|
/**
|
|
7
7
|
* The orientation of the reorder.
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@ import { Merge } from "../../utils/index.js";
|
|
|
2
2
|
import { Orientation } from "../../core/system/index.types.js";
|
|
3
3
|
import { PropGetter } from "../../core/components/index.types.js";
|
|
4
4
|
import "../../core/index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react884 from "react";
|
|
6
6
|
import { PropsWithChildren, ReactElement, ReactNode } from "react";
|
|
7
7
|
import { HTMLMotionProps, Reorder } from "motion/react";
|
|
8
8
|
|
|
@@ -10,11 +10,11 @@ import { HTMLMotionProps, Reorder } from "motion/react";
|
|
|
10
10
|
type ReorderGroupProps<Y = string> = Merge<HTMLMotionProps<"ul">, Pick<Parameters<typeof Reorder.Group<Y>>[0], "axis" | "onReorder" | "values">>;
|
|
11
11
|
type ReorderItemProps<Y = string> = Merge<HTMLMotionProps<"li">, Partial<Pick<Parameters<typeof Reorder.Item<Y>>[0], "layout" | "value">>>;
|
|
12
12
|
interface ReorderContext extends Pick<UseReorderProps, "orientation"> {}
|
|
13
|
-
declare const ReorderContext:
|
|
13
|
+
declare const ReorderContext: react884.Context<ReorderContext>, useReorderContext: () => ReorderContext;
|
|
14
14
|
interface ReorderItemContext {
|
|
15
15
|
getTriggerProps: PropGetter;
|
|
16
16
|
}
|
|
17
|
-
declare const ReorderItemContext:
|
|
17
|
+
declare const ReorderItemContext: react884.Context<ReorderItemContext>, useReorderItemContext: () => ReorderItemContext;
|
|
18
18
|
interface UseReorderProps<Y = string> extends Partial<Omit<ReorderGroupProps<Y>, "children" | "onChange" | "values">>, PropsWithChildren {
|
|
19
19
|
/**
|
|
20
20
|
* The component to be used for the item.
|
|
@@ -4,7 +4,7 @@ import "../../core/index.js";
|
|
|
4
4
|
import { ResizableStyle } from "./resizable.style.js";
|
|
5
5
|
import { UseResizableItemProps, UseResizableProps, UseResizableTriggerProps } from "./use-resizable.js";
|
|
6
6
|
import "../../index.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as react883 from "react";
|
|
8
8
|
import { ReactElement } from "react";
|
|
9
9
|
|
|
10
10
|
//#region src/components/resizable/resizable.d.ts
|
|
@@ -14,7 +14,7 @@ import { ReactElement } from "react";
|
|
|
14
14
|
* @see https://yamada-ui.com/docs/components/resizable
|
|
15
15
|
*/
|
|
16
16
|
interface ResizableRootProps extends HTMLStyledProps, ThemeProps<ResizableStyle>, Omit<UseResizableProps, "orientation"> {}
|
|
17
|
-
declare const ResizablePropsContext:
|
|
17
|
+
declare const ResizablePropsContext: react883.Context<Partial<ResizableRootProps> | undefined>, useResizablePropsContext: () => Partial<ResizableRootProps> | undefined;
|
|
18
18
|
declare const ResizableRoot: Component<"div", ResizableRootProps>;
|
|
19
19
|
interface ResizableItemProps extends HTMLStyledPropsWithoutAs, UseResizableItemProps {}
|
|
20
20
|
declare const ResizableItem: Component<"div", ResizableItemProps>;
|
|
@@ -3,7 +3,7 @@ import { CSSModifierObject, CSSSlotObject } from "../../core/css/index.types.js"
|
|
|
3
3
|
import "../../index.js";
|
|
4
4
|
|
|
5
5
|
//#region src/components/resizable/resizable.style.d.ts
|
|
6
|
-
declare const resizableStyle: ComponentSlotStyle<"icon" | "root" | "
|
|
6
|
+
declare const resizableStyle: ComponentSlotStyle<"icon" | "root" | "trigger" | "item", {
|
|
7
7
|
/**
|
|
8
8
|
* The orientation of the resizable.
|
|
9
9
|
*
|
|
@@ -21,7 +21,7 @@ declare const resizableStyle: ComponentSlotStyle<"icon" | "root" | "item" | "tri
|
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
}, CSSModifierObject<CSSSlotObject<"icon" | "root" | "
|
|
24
|
+
}, CSSModifierObject<CSSSlotObject<"icon" | "root" | "trigger" | "item">>, {
|
|
25
25
|
border: {
|
|
26
26
|
icon: {
|
|
27
27
|
bg: "colorScheme.muted";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { HTMLProps, PropGetter } from "../../core/components/index.types.js";
|
|
2
2
|
import "../../core/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react882 from "react";
|
|
4
4
|
import { RefObject } from "react";
|
|
5
5
|
import { GroupImperativeHandle, GroupProps, LayoutStorage, PanelImperativeHandle, PanelProps, SeparatorProps, useDefaultLayout as useResizableLayout } from "react-resizable-panels";
|
|
6
6
|
|
|
7
7
|
//#region src/components/resizable/use-resizable.d.ts
|
|
8
8
|
interface ResizableContext extends Omit<UseResizableReturn, "getRootProps"> {}
|
|
9
|
-
declare const ResizableContext:
|
|
9
|
+
declare const ResizableContext: react882.Context<ResizableContext>, useResizableContext: () => ResizableContext;
|
|
10
10
|
interface ResizableStorage extends LayoutStorage {}
|
|
11
11
|
interface ResizableRootControl extends GroupImperativeHandle {}
|
|
12
12
|
interface ResizableItemControl extends PanelImperativeHandle {}
|
|
@@ -2,11 +2,10 @@ import { ThemeProps } from "../../core/system/index.types.js";
|
|
|
2
2
|
import { Component } from "../../core/components/index.types.js";
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import { HTMLMotionProps } from "../motion/index.types.js";
|
|
5
|
-
import "../motion/index.js";
|
|
6
5
|
import { RippleStyle } from "./ripple.style.js";
|
|
7
6
|
import { RippleOptions } from "./use-ripple.js";
|
|
8
7
|
import "../../index.js";
|
|
9
|
-
import * as
|
|
8
|
+
import * as react929 from "react";
|
|
10
9
|
import { Key } from "react";
|
|
11
10
|
|
|
12
11
|
//#region src/components/ripple/ripple.d.ts
|
|
@@ -26,7 +25,7 @@ interface RippleProps extends HTMLMotionProps<"span">, ThemeProps<RippleStyle> {
|
|
|
26
25
|
*/
|
|
27
26
|
disabled?: boolean;
|
|
28
27
|
}
|
|
29
|
-
declare const RipplePropsContext:
|
|
28
|
+
declare const RipplePropsContext: react929.Context<Partial<RippleProps> | undefined>, useRipplePropsContext: () => Partial<RippleProps> | undefined;
|
|
30
29
|
/**
|
|
31
30
|
* `Ripple` is a component that adds a ripple effect to elements, allowing users to recognize when they have clicked.
|
|
32
31
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react928 from "react";
|
|
2
2
|
import { Key, MouseEventHandler } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ripple/use-ripple.d.ts
|
|
@@ -18,7 +18,7 @@ declare const useRipple: <Y = HTMLElement>({
|
|
|
18
18
|
}?: UseRippleProps<Y>) => {
|
|
19
19
|
ripples: RippleOptions[];
|
|
20
20
|
onClear: (key: Key) => void;
|
|
21
|
-
onClick: (ev:
|
|
21
|
+
onClick: (ev: react928.MouseEvent<Y, MouseEvent>) => void;
|
|
22
22
|
};
|
|
23
23
|
type UseRippleReturn = ReturnType<typeof useRipple>;
|
|
24
24
|
//#endregion
|
|
@@ -2,10 +2,9 @@ import { KeyframeIdent, ThemeProps } from "../../core/system/index.types.js";
|
|
|
2
2
|
import { Component } from "../../core/components/index.types.js";
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import { HTMLMotionProps } from "../motion/index.types.js";
|
|
5
|
-
import "../motion/index.js";
|
|
6
5
|
import { RotateStyle } from "./rotate.style.js";
|
|
7
6
|
import "../../index.js";
|
|
8
|
-
import * as
|
|
7
|
+
import * as react878 from "react";
|
|
9
8
|
import { ReactNode } from "react";
|
|
10
9
|
|
|
11
10
|
//#region src/components/rotate/rotate.d.ts
|
|
@@ -63,7 +62,7 @@ interface RotateProps extends Omit<HTMLMotionProps<"button">, "onChange" | "rota
|
|
|
63
62
|
*/
|
|
64
63
|
onChange?: (value: KeyframeIdent) => void;
|
|
65
64
|
}
|
|
66
|
-
declare const RotatePropsContext:
|
|
65
|
+
declare const RotatePropsContext: react878.Context<Partial<RotateProps> | undefined>, useRotatePropsContext: () => Partial<RotateProps> | undefined;
|
|
67
66
|
/**
|
|
68
67
|
* `Rotate` is an animation component that alternately rotates two elements as they switch.
|
|
69
68
|
*
|
|
@@ -5,7 +5,7 @@ import "../../core/index.js";
|
|
|
5
5
|
import { SaturationSliderStyle } from "./saturation-slider.style.js";
|
|
6
6
|
import { UseSaturationSliderProps } from "./use-saturation-slider.js";
|
|
7
7
|
import "../../index.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as react35 from "react";
|
|
9
9
|
|
|
10
10
|
//#region src/components/saturation-slider/saturation-slider.d.ts
|
|
11
11
|
interface SaturationSliderRootProps extends Merge<HTMLStyledProps, UseSaturationSliderProps>, ThemeProps<SaturationSliderStyle> {
|
|
@@ -22,7 +22,7 @@ interface SaturationSliderRootProps extends Merge<HTMLStyledProps, UseSaturation
|
|
|
22
22
|
*/
|
|
23
23
|
trackProps?: SaturationSliderTrackProps;
|
|
24
24
|
}
|
|
25
|
-
declare const SaturationSliderPropsContext:
|
|
25
|
+
declare const SaturationSliderPropsContext: react35.Context<Partial<SaturationSliderRootProps> | undefined>, useSaturationSliderPropsContext: () => Partial<SaturationSliderRootProps> | undefined;
|
|
26
26
|
/**
|
|
27
27
|
* `SaturationSlider` is a component used to allow the user to select a color saturation.
|
|
28
28
|
*
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { HTMLProps, HTMLRefAttributes, PropGetter } from "../../core/components/index.types.js";
|
|
2
2
|
import "../../core/index.js";
|
|
3
3
|
import { FieldProps } from "../field/field.js";
|
|
4
|
-
import "
|
|
5
|
-
import * as react1001 from "react";
|
|
4
|
+
import * as react33 from "react";
|
|
6
5
|
|
|
7
6
|
//#region src/components/saturation-slider/use-saturation-slider.d.ts
|
|
8
7
|
interface UseSaturationSliderProps extends Omit<HTMLProps, "defaultValue" | "onChange" | "ref">, HTMLRefAttributes<"input">, FieldProps {
|
|
@@ -52,7 +51,7 @@ interface UseSaturationSliderProps extends Omit<HTMLProps, "defaultValue" | "onC
|
|
|
52
51
|
onChangeStart?: (value: [number, number, number]) => void;
|
|
53
52
|
}
|
|
54
53
|
declare const useSaturationSlider: (props?: UseSaturationSliderProps) => {
|
|
55
|
-
setValue:
|
|
54
|
+
setValue: react33.Dispatch<react33.SetStateAction<[number, number, number]>>;
|
|
56
55
|
value: [number, number, number];
|
|
57
56
|
getInputProps: PropGetter<"input", undefined, undefined>;
|
|
58
57
|
getRootProps: PropGetter<"div", undefined, undefined>;
|
|
@@ -4,11 +4,11 @@ import "../../core/index.js";
|
|
|
4
4
|
import { ScrollAreaStyle } from "./scroll-area.style.js";
|
|
5
5
|
import { UseScrollAreaProps } from "./use-scroll-area.js";
|
|
6
6
|
import "../../index.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as react36 from "react";
|
|
8
8
|
|
|
9
9
|
//#region src/components/scroll-area/scroll-area.d.ts
|
|
10
10
|
interface ScrollAreaProps extends HTMLStyledProps, ThemeProps<ScrollAreaStyle>, UseScrollAreaProps {}
|
|
11
|
-
declare const ScrollAreaPropsContext:
|
|
11
|
+
declare const ScrollAreaPropsContext: react36.Context<Partial<ScrollAreaProps> | undefined>, useScrollAreaPropsContext: () => Partial<ScrollAreaProps> | undefined;
|
|
12
12
|
/**
|
|
13
13
|
* `ScrollArea` is a component that displays a customized scrollbar.
|
|
14
14
|
*
|
|
@@ -2,10 +2,9 @@ import { ThemeProps } from "../../core/system/index.types.js";
|
|
|
2
2
|
import { GenericsComponent, HTMLStyledProps } from "../../core/components/index.types.js";
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import { HTMLMotionProps } from "../motion/index.types.js";
|
|
5
|
-
import "../motion/index.js";
|
|
6
5
|
import { SegmentedControlStyle } from "./segmented-control.style.js";
|
|
7
6
|
import { UseSegmentedControlItemProps, UseSegmentedControlProps } from "./use-segmented-control.js";
|
|
8
|
-
import * as
|
|
7
|
+
import * as react880 from "react";
|
|
9
8
|
import { ReactElement, ReactNode } from "react";
|
|
10
9
|
|
|
11
10
|
//#region src/components/segmented-control/segmented-control.d.ts
|
|
@@ -28,7 +27,7 @@ interface SegmentedControlRootProps<Y extends string = string> extends Omit<HTML
|
|
|
28
27
|
*/
|
|
29
28
|
itemProps?: SegmentedControlItemProps;
|
|
30
29
|
}
|
|
31
|
-
declare const SegmentedControlPropsContext:
|
|
30
|
+
declare const SegmentedControlPropsContext: react880.Context<Partial<SegmentedControlRootProps<string>> | undefined>, useSegmentedControlPropsContext: () => Partial<SegmentedControlRootProps<string>> | undefined;
|
|
32
31
|
/**
|
|
33
32
|
* `SegmentedControl` is a component used for allowing users to select one option from multiple choices.
|
|
34
33
|
*
|
|
@@ -2,15 +2,14 @@ import { Orientation } from "../../core/system/index.types.js";
|
|
|
2
2
|
import { HTMLProps, PropGetter } from "../../core/components/index.types.js";
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import { FieldProps } from "../field/field.js";
|
|
5
|
-
import "../field/index.js";
|
|
6
5
|
import { Descendant } from "../../hooks/use-descendants/index.js";
|
|
7
6
|
import "../../index.js";
|
|
8
|
-
import * as
|
|
7
|
+
import * as react868 from "react";
|
|
9
8
|
|
|
10
9
|
//#region src/components/segmented-control/use-segmented-control.d.ts
|
|
11
10
|
interface SegmentedControlContext extends Omit<UseSegmentedControlReturn, "descendants" | "getRootProps"> {}
|
|
12
|
-
declare const SegmentedControlContext:
|
|
13
|
-
declare const SegmentedControlDescendantsContext:
|
|
11
|
+
declare const SegmentedControlContext: react868.Context<SegmentedControlContext>, useSegmentedControlContext: () => SegmentedControlContext;
|
|
12
|
+
declare const SegmentedControlDescendantsContext: react868.Context<{
|
|
14
13
|
active: (target?: HTMLInputElement | Descendant<HTMLInputElement, {}> | null | undefined, options?: FocusOptions) => void;
|
|
15
14
|
count: () => number;
|
|
16
15
|
destroy: () => void;
|
|
@@ -29,7 +28,7 @@ declare const SegmentedControlDescendantsContext: react990.Context<{
|
|
|
29
28
|
prevValue: (indexOrNode: number | HTMLInputElement | Descendant<HTMLInputElement, {}> | null, loop?: boolean) => Descendant<HTMLInputElement, {}> | undefined;
|
|
30
29
|
register: (props?: {
|
|
31
30
|
disabled?: boolean | ((node: HTMLInputElement) => boolean) | undefined;
|
|
32
|
-
} | undefined) =>
|
|
31
|
+
} | undefined) => react868.RefCallback<HTMLInputElement>;
|
|
33
32
|
unregister: (node?: HTMLInputElement | null | undefined) => void;
|
|
34
33
|
value: (indexOrNode: number | HTMLInputElement | null) => Descendant<HTMLInputElement, {}> | undefined;
|
|
35
34
|
values: () => Descendant<HTMLInputElement, {}>[];
|
|
@@ -55,12 +54,12 @@ declare const SegmentedControlDescendantsContext: react990.Context<{
|
|
|
55
54
|
prevValue: (indexOrNode: number | HTMLInputElement | Descendant<HTMLInputElement, {}> | null, loop?: boolean) => Descendant<HTMLInputElement, {}> | undefined;
|
|
56
55
|
register: (props?: {
|
|
57
56
|
disabled?: boolean | ((node: HTMLInputElement) => boolean) | undefined;
|
|
58
|
-
} | undefined) =>
|
|
57
|
+
} | undefined) => react868.RefCallback<HTMLInputElement>;
|
|
59
58
|
unregister: (node?: HTMLInputElement | null | undefined) => void;
|
|
60
59
|
value: (indexOrNode: number | HTMLInputElement | null) => Descendant<HTMLInputElement, {}> | undefined;
|
|
61
60
|
values: () => Descendant<HTMLInputElement, {}>[];
|
|
62
61
|
};
|
|
63
|
-
register:
|
|
62
|
+
register: react868.RefCallback<HTMLInputElement>;
|
|
64
63
|
}, useSegmentedControlDescendants: () => {
|
|
65
64
|
active: (target?: HTMLInputElement | Descendant<HTMLInputElement, {}> | null | undefined, options?: FocusOptions) => void;
|
|
66
65
|
count: () => number;
|
|
@@ -80,7 +79,7 @@ declare const SegmentedControlDescendantsContext: react990.Context<{
|
|
|
80
79
|
prevValue: (indexOrNode: number | HTMLInputElement | Descendant<HTMLInputElement, {}> | null, loop?: boolean) => Descendant<HTMLInputElement, {}> | undefined;
|
|
81
80
|
register: (props?: {
|
|
82
81
|
disabled?: boolean | ((node: HTMLInputElement) => boolean) | undefined;
|
|
83
|
-
} | undefined) =>
|
|
82
|
+
} | undefined) => react868.RefCallback<HTMLInputElement>;
|
|
84
83
|
unregister: (node?: HTMLInputElement | null | undefined) => void;
|
|
85
84
|
value: (indexOrNode: number | HTMLInputElement | null) => Descendant<HTMLInputElement, {}> | undefined;
|
|
86
85
|
values: () => Descendant<HTMLInputElement, {}>[];
|
|
@@ -153,7 +152,7 @@ declare const useSegmentedControl: <Y extends string = string>({
|
|
|
153
152
|
prevValue: (indexOrNode: number | HTMLInputElement | Descendant<HTMLInputElement, {}> | null, loop?: boolean) => Descendant<HTMLInputElement, {}> | undefined;
|
|
154
153
|
register: (props?: {
|
|
155
154
|
disabled?: boolean | ((node: HTMLInputElement) => boolean) | undefined;
|
|
156
|
-
} | undefined) =>
|
|
155
|
+
} | undefined) => react868.RefCallback<HTMLInputElement>;
|
|
157
156
|
unregister: (node?: HTMLInputElement | null | undefined) => void;
|
|
158
157
|
value: (indexOrNode: number | HTMLInputElement | null) => Descendant<HTMLInputElement, {}> | undefined;
|
|
159
158
|
values: () => Descendant<HTMLInputElement, {}>[];
|
|
@@ -161,7 +160,7 @@ declare const useSegmentedControl: <Y extends string = string>({
|
|
|
161
160
|
disabled: boolean | undefined;
|
|
162
161
|
orientation: Orientation;
|
|
163
162
|
readOnly: boolean | undefined;
|
|
164
|
-
setValue:
|
|
163
|
+
setValue: react868.Dispatch<react868.SetStateAction<Y>>;
|
|
165
164
|
value: Y;
|
|
166
165
|
getRootProps: PropGetter<"div", undefined, undefined>;
|
|
167
166
|
};
|
|
@@ -2,16 +2,14 @@ import { ThemeProps } from "../../core/system/index.types.js";
|
|
|
2
2
|
import { Component, GenericsComponent, HTMLStyledProps } from "../../core/components/index.types.js";
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import { PopoverContentProps, PopupAnimationProps } from "../popover/popover.js";
|
|
5
|
-
import "../popover/index.js";
|
|
6
5
|
import { UseComboboxGroupProps } from "../../hooks/use-combobox/index.js";
|
|
7
6
|
import { UseInputBorderProps } from "../input/use-input-border.js";
|
|
8
7
|
import { InputElementProps } from "../input/input-element.js";
|
|
9
8
|
import { InputGroupRootProps } from "../input/input-group.js";
|
|
10
|
-
import "../input/index.js";
|
|
11
9
|
import { SelectStyle } from "./select.style.js";
|
|
12
10
|
import { UseSelectOptionProps, UseSelectProps } from "./use-select.js";
|
|
13
11
|
import "../../index.js";
|
|
14
|
-
import * as
|
|
12
|
+
import * as react1047 from "react";
|
|
15
13
|
import { ReactElement, ReactNode } from "react";
|
|
16
14
|
|
|
17
15
|
//#region src/components/select/select.d.ts
|
|
@@ -59,7 +57,7 @@ interface SelectRootProps<Multiple extends boolean = false> extends Omit<HTMLSty
|
|
|
59
57
|
*/
|
|
60
58
|
rootProps?: InputGroupRootProps;
|
|
61
59
|
}
|
|
62
|
-
declare const SelectPropsContext:
|
|
60
|
+
declare const SelectPropsContext: react1047.Context<Partial<SelectRootProps<false>> | undefined>, useSelectPropsContext: () => Partial<SelectRootProps<false>> | undefined;
|
|
63
61
|
/**
|
|
64
62
|
* `Select` is a component used for allowing a user to choose one option from a list.
|
|
65
63
|
*
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { HTMLProps, PropGetter } from "../../core/components/index.types.js";
|
|
2
2
|
import "../../core/index.js";
|
|
3
3
|
import { FieldProps } from "../field/field.js";
|
|
4
|
-
import "../field/index.js";
|
|
5
4
|
import { Descendant, DescendantProps } from "../../hooks/use-descendants/index.js";
|
|
6
5
|
import { UsePopoverProps } from "../popover/use-popover.js";
|
|
7
|
-
import "../popover/index.js";
|
|
8
6
|
import { ComboboxDescendant, ComboboxDescendantProps, ComboboxItem, ComboboxItemWithValue, UseComboboxItemProps, UseComboboxProps } from "../../hooks/use-combobox/index.js";
|
|
9
7
|
import "../../index.js";
|
|
10
|
-
import * as
|
|
8
|
+
import * as react1043 from "react";
|
|
11
9
|
import { ReactNode } from "react";
|
|
12
10
|
|
|
13
11
|
//#region src/components/select/use-select.d.ts
|
|
@@ -21,7 +19,7 @@ interface SelectItemRender {
|
|
|
21
19
|
(props: SelectRenderProps): ReactNode;
|
|
22
20
|
}
|
|
23
21
|
interface SelectContext extends Pick<UseSelectReturn, "max" | "value"> {}
|
|
24
|
-
declare const SelectContext:
|
|
22
|
+
declare const SelectContext: react1043.Context<SelectContext>, useSelectContext: () => SelectContext;
|
|
25
23
|
interface UseSelectProps<Multiple extends boolean = false> extends Omit<HTMLProps, "defaultValue" | "onChange" | "value">, Omit<UseComboboxProps, "defaultValue" | "initialFocusValue" | "onChange" | "value">, FieldProps {
|
|
26
24
|
/**
|
|
27
25
|
* The initial value of the select.
|
|
@@ -104,7 +102,7 @@ declare const useSelect: <Multiple extends boolean = false>(props?: UseSelectPro
|
|
|
104
102
|
lastValue: () => Descendant<HTMLDivElement, ComboboxDescendantProps> | undefined;
|
|
105
103
|
nextValue: (indexOrNode: number | HTMLDivElement | Descendant<HTMLDivElement, ComboboxDescendantProps> | null, loop?: boolean) => Descendant<HTMLDivElement, ComboboxDescendantProps> | undefined;
|
|
106
104
|
prevValue: (indexOrNode: number | HTMLDivElement | Descendant<HTMLDivElement, ComboboxDescendantProps> | null, loop?: boolean) => Descendant<HTMLDivElement, ComboboxDescendantProps> | undefined;
|
|
107
|
-
register: (props?: DescendantProps<HTMLDivElement, ComboboxDescendantProps> | undefined) =>
|
|
105
|
+
register: (props?: DescendantProps<HTMLDivElement, ComboboxDescendantProps> | undefined) => react1043.RefCallback<HTMLDivElement>;
|
|
108
106
|
unregister: (node?: HTMLDivElement | null | undefined) => void;
|
|
109
107
|
value: (indexOrNode: number | HTMLDivElement | null) => Descendant<HTMLDivElement, ComboboxDescendantProps> | undefined;
|
|
110
108
|
values: () => Descendant<HTMLDivElement, ComboboxDescendantProps>[];
|
|
@@ -115,7 +113,7 @@ declare const useSelect: <Multiple extends boolean = false>(props?: UseSelectPro
|
|
|
115
113
|
max: number | undefined;
|
|
116
114
|
open: boolean;
|
|
117
115
|
placeholder: string | undefined;
|
|
118
|
-
setValue:
|
|
116
|
+
setValue: react1043.Dispatch<react1043.SetStateAction<Multiple extends true ? string[] : string>>;
|
|
119
117
|
value: Multiple extends true ? string[] : string;
|
|
120
118
|
valueMap: {
|
|
121
119
|
[key: string]: ComboboxItemWithValue;
|
|
@@ -3,11 +3,11 @@ import { Component, HTMLStyledProps } from "../../core/components/index.types.js
|
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import { SeparatorStyle } from "./separator.style.js";
|
|
5
5
|
import "../../index.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react881 from "react";
|
|
7
7
|
|
|
8
8
|
//#region src/components/separator/separator.d.ts
|
|
9
9
|
interface SeparatorProps extends HTMLStyledProps<"hr">, ThemeProps<SeparatorStyle> {}
|
|
10
|
-
declare const SeparatorPropsContext:
|
|
10
|
+
declare const SeparatorPropsContext: react881.Context<Partial<SeparatorProps> | undefined>, useSeparatorPropsContext: () => Partial<SeparatorProps> | undefined;
|
|
11
11
|
/**
|
|
12
12
|
* `Separator` is a component that represents a division between elements.
|
|
13
13
|
*
|
|
@@ -3,10 +3,9 @@ import { CSSProps, StyleValue } from "../../core/css/index.types.js";
|
|
|
3
3
|
import { Component } from "../../core/components/index.types.js";
|
|
4
4
|
import "../../core/index.js";
|
|
5
5
|
import { GridProps } from "../grid/grid.js";
|
|
6
|
-
import "../grid/index.js";
|
|
7
6
|
import { SimpleGridStyle } from "./simple-grid.style.js";
|
|
8
7
|
import "../../index.js";
|
|
9
|
-
import * as
|
|
8
|
+
import * as react877 from "react";
|
|
10
9
|
|
|
11
10
|
//#region src/components/simple-grid/simple-grid.d.ts
|
|
12
11
|
interface SimpleGridProps extends Omit<WithoutThemeProps<GridProps, SimpleGridStyle>, "columns">, ThemeProps<SimpleGridStyle> {
|
|
@@ -20,7 +19,7 @@ interface SimpleGridProps extends Omit<WithoutThemeProps<GridProps, SimpleGridSt
|
|
|
20
19
|
*/
|
|
21
20
|
minChildWidth?: CSSProps["minWidth"];
|
|
22
21
|
}
|
|
23
|
-
declare const SimpleGridPropsContext:
|
|
22
|
+
declare const SimpleGridPropsContext: react877.Context<Partial<SimpleGridProps> | undefined>, useSimpleGridPropsContext: () => Partial<SimpleGridProps> | undefined;
|
|
24
23
|
/**
|
|
25
24
|
* `SimpleGrid` is a component that makes `Grid` simpler and more user-friendly.
|
|
26
25
|
*
|