@yamada-ui/react 2.2.1-dev-20260428150301 → 2.2.1-dev-20260428152727
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/calendar/use-calendar.cjs +16 -20
- package/dist/cjs/components/calendar/use-calendar.cjs.map +1 -1
- package/dist/cjs/components/carousel/use-carousel.cjs +9 -8
- package/dist/cjs/components/carousel/use-carousel.cjs.map +1 -1
- package/dist/esm/components/calendar/use-calendar.js +17 -21
- package/dist/esm/components/calendar/use-calendar.js.map +1 -1
- package/dist/esm/components/carousel/use-carousel.js +9 -8
- package/dist/esm/components/carousel/use-carousel.js.map +1 -1
- package/dist/types/components/accordion/accordion.d.ts +2 -4
- 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 -3
- package/dist/types/components/airy/airy.d.ts +2 -3
- package/dist/types/components/alert/alert.d.ts +2 -5
- package/dist/types/components/alert/alert.style.d.ts +1 -1
- 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/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/breadcrumb.style.d.ts +1 -1
- 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/chart.d.ts +5 -5
- 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 +5 -7
- package/dist/types/components/checkbox-card/checkbox-card.style.d.ts +1 -1
- 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/data-list/data-list.style.d.ts +1 -1
- 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 +5 -8
- package/dist/types/components/dropzone/dropzone.style.d.ts +1 -1
- 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/empty-state/empty-state.style.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 +15 -17
- package/dist/types/components/file-input/file-input.d.ts +2 -4
- package/dist/types/components/file-input/use-file-input.d.ts +15 -16
- package/dist/types/components/flex/flex.d.ts +2 -2
- package/dist/types/components/flip/flip.d.ts +4 -5
- package/dist/types/components/flip/flip.style.d.ts +1 -1
- package/dist/types/components/float/float.d.ts +2 -2
- package/dist/types/components/form/form.d.ts +3 -4
- 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/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 +4 -4
- 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/list/list.style.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/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 -6
- 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 -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/notice.style.d.ts +1 -1
- 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/pagination.style.d.ts +1 -1
- 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 +3 -4
- 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/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 +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/segmented-control.style.d.ts +2 -2
- 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/sidebar/sidebar.d.ts +2 -7
- package/dist/types/components/sidebar/use-sidebar.d.ts +9 -9
- 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/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/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/tag/tag.style.d.ts +1 -1
- 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 +1 -1
- package/dist/types/components/tip/tip.d.ts +0 -3
- 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/tree/tree.d.ts +2 -6
- package/dist/types/components/tree/tree.style.d.ts +1 -1
- package/dist/types/components/tree/use-tree.d.ts +182 -183
- 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/create-system.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-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/index.d.ts +0 -106
- package/dist/types/providers/i18n-provider/i18n-provider.d.ts +3 -3
- package/dist/types/providers/ui-provider/ui-provider.d.ts +2 -3
- package/dist/types/utils/children.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLProps, PropGetter } from "../../core/components/index.types.js";
|
|
2
2
|
import "../../core/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react1156 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/native-accordion/use-native-accordion.d.ts
|
|
6
6
|
interface NativeAccordionContext extends Pick<UseNativeAccordionReturn, "name"> {}
|
|
7
|
-
declare const NativeAccordionContext:
|
|
7
|
+
declare const NativeAccordionContext: react1156.Context<NativeAccordionContext>, useNativeAccordionContext: () => NativeAccordionContext;
|
|
8
8
|
interface UseNativeAccordionProps extends HTMLProps {
|
|
9
9
|
/**
|
|
10
10
|
* If `true`, multiple accordion items can be expanded at once.
|
|
@@ -4,12 +4,12 @@ import "../../core/index.js";
|
|
|
4
4
|
import { NativePopoverStyle } from "./native-popover.style.js";
|
|
5
5
|
import { UseNativePopoverProps } from "./use-native-popover.js";
|
|
6
6
|
import "../../index.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as react108 from "react";
|
|
8
8
|
import { FC, PropsWithChildren } from "react";
|
|
9
9
|
|
|
10
10
|
//#region src/components/native-popover/native-popover.d.ts
|
|
11
11
|
interface NativePopoverRootProps extends UseNativePopoverProps, ThemeProps<NativePopoverStyle>, PropsWithChildren {}
|
|
12
|
-
declare const NativePopoverPropsContext:
|
|
12
|
+
declare const NativePopoverPropsContext: react108.Context<Partial<NativePopoverRootProps> | undefined>, useNativePopoverPropsContext: () => Partial<NativePopoverRootProps> | undefined;
|
|
13
13
|
/**
|
|
14
14
|
* `NativePopover` is a component that floats around an element to display information using the native HTML Popover API.
|
|
15
15
|
*
|
|
@@ -2,15 +2,13 @@ import { ThemeProps } from "../../core/system/index.types.js";
|
|
|
2
2
|
import { Component, HTMLProps, HTMLStyledProps } 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 { UseInputBorderProps } from "../input/use-input-border.js";
|
|
7
6
|
import { InputElementProps } from "../input/input-element.js";
|
|
8
7
|
import { InputGroupRootProps } from "../input/input-group.js";
|
|
9
|
-
import "../input/index.js";
|
|
10
8
|
import { NativeSelectStyle } from "./native-select.style.js";
|
|
11
9
|
import { UseNativeSelectProps } from "./use-native-select.js";
|
|
12
10
|
import "../../index.js";
|
|
13
|
-
import * as
|
|
11
|
+
import * as react1182 from "react";
|
|
14
12
|
import { ReactNode } from "react";
|
|
15
13
|
|
|
16
14
|
//#region src/components/native-select/native-select.d.ts
|
|
@@ -32,7 +30,7 @@ interface NativeSelectRootProps extends Omit<HTMLStyledProps<"select">, "size">,
|
|
|
32
30
|
*/
|
|
33
31
|
rootProps?: InputGroupRootProps;
|
|
34
32
|
}
|
|
35
|
-
declare const NativeSelectPropsContext:
|
|
33
|
+
declare const NativeSelectPropsContext: react1182.Context<Partial<NativeSelectRootProps> | undefined>, useNativeSelectPropsContext: () => Partial<NativeSelectRootProps> | undefined;
|
|
36
34
|
/**
|
|
37
35
|
* `NativeSelect` is a component used for allowing users to select one option from a list. It displays a native dropdown list provided by the browser (user agent).
|
|
38
36
|
*
|
|
@@ -1,7 +1,6 @@
|
|
|
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
|
|
|
6
5
|
//#region src/components/native-select/use-native-select.d.ts
|
|
7
6
|
interface NativeSelectSharedItem extends Omit<HTMLProps<"option">, "children" | "label" | "value"> {
|
|
@@ -4,8 +4,8 @@ import { Component, HTMLStyledProps } from "../../core/components/index.types.js
|
|
|
4
4
|
import "../../core/index.js";
|
|
5
5
|
import { NativeTableStyle } from "./native-table.style.js";
|
|
6
6
|
import "../../index.js";
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
7
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
8
|
+
import * as react1154 from "react";
|
|
9
9
|
|
|
10
10
|
//#region src/components/native-table/native-table.d.ts
|
|
11
11
|
interface NativeTableRootProps extends HTMLStyledProps<"table">, ThemeProps<NativeTableStyle> {
|
|
@@ -24,7 +24,7 @@ interface NativeTableRootProps extends HTMLStyledProps<"table">, ThemeProps<Nati
|
|
|
24
24
|
*/
|
|
25
25
|
scrollAreaProps?: NativeTableAreaProps;
|
|
26
26
|
}
|
|
27
|
-
declare const NativeTablePropsContext:
|
|
27
|
+
declare const NativeTablePropsContext: react1154.Context<Partial<NativeTableRootProps> | undefined>, useNativeTablePropsContext: () => Partial<NativeTableRootProps> | undefined;
|
|
28
28
|
/**
|
|
29
29
|
* `NativeTable` is a component for efficiently organizing and displaying data.
|
|
30
30
|
*
|
|
@@ -211,7 +211,7 @@ declare const NativeTableRoot: Component<({
|
|
|
211
211
|
};
|
|
212
212
|
};
|
|
213
213
|
};
|
|
214
|
-
}>, keyof NativeTableRootProps>) =>
|
|
214
|
+
}>, keyof NativeTableRootProps>) => react_jsx_runtime13.JSX.Element, NativeTableRootProps>;
|
|
215
215
|
interface NativeTableAreaProps extends HTMLStyledProps, ThemeProps<NativeTableStyle> {}
|
|
216
216
|
interface CaptionProps extends HTMLStyledProps<"caption"> {
|
|
217
217
|
/**
|
|
@@ -3,7 +3,7 @@ import { CSSModifierObject, CSSPropObject, CSSSlotObject } from "../../core/css/
|
|
|
3
3
|
import "../../index.js";
|
|
4
4
|
|
|
5
5
|
//#region src/components/notice/notice.style.d.ts
|
|
6
|
-
declare const noticeStyle: ComponentSlotStyle<"content" | "
|
|
6
|
+
declare const noticeStyle: ComponentSlotStyle<"content" | "root" | "closeButton" | "item", CSSPropObject<CSSSlotObject<"content" | "root" | "closeButton" | "item">>, CSSModifierObject<CSSSlotObject<"content" | "root" | "closeButton" | "item">>, CSSModifierObject<CSSSlotObject<"content" | "root" | "closeButton" | "item">>>;
|
|
7
7
|
type NoticeStyle = typeof noticeStyle;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { NoticeStyle };
|
|
@@ -2,11 +2,8 @@ import { NoticeConfig } from "../../core/system/index.types.js";
|
|
|
2
2
|
import { HTMLStyledProps } from "../../core/components/index.types.js";
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import { StatusScheme } from "../status/status.js";
|
|
5
|
-
import "../status/index.js";
|
|
6
5
|
import { AlertDescriptionProps, AlertIconProps, AlertLoadingProps, AlertRootProps, AlertTitleProps } from "../alert/alert.js";
|
|
7
|
-
import "../alert/index.js";
|
|
8
6
|
import { CloseButtonProps } from "../close-button/close-button.js";
|
|
9
|
-
import "../close-button/index.js";
|
|
10
7
|
import { ReactNode } from "react";
|
|
11
8
|
|
|
12
9
|
//#region src/components/notice/use-notice.d.ts
|
|
@@ -5,11 +5,10 @@ import { InputProps } from "../input/input.js";
|
|
|
5
5
|
import { InputAddonProps } from "../input/input-addon.js";
|
|
6
6
|
import { InputElementProps } from "../input/input-element.js";
|
|
7
7
|
import { InputGroupRootProps } from "../input/input-group.js";
|
|
8
|
-
import "../input/index.js";
|
|
9
8
|
import { NumberInputStyle } from "./number-input.style.js";
|
|
10
9
|
import { UseNumberInputProps } from "./use-number-input.js";
|
|
11
10
|
import "../../index.js";
|
|
12
|
-
import * as
|
|
11
|
+
import * as react1152 from "react";
|
|
13
12
|
|
|
14
13
|
//#region src/components/number-input/number-input.d.ts
|
|
15
14
|
interface NumberInputProps extends Omit<WithoutThemeProps<InputProps, NumberInputStyle>, keyof UseNumberInputProps>, ThemeProps<NumberInputStyle>, UseNumberInputProps {
|
|
@@ -34,7 +33,7 @@ interface NumberInputProps extends Omit<WithoutThemeProps<InputProps, NumberInpu
|
|
|
34
33
|
*/
|
|
35
34
|
rootProps?: InputGroupRootProps;
|
|
36
35
|
}
|
|
37
|
-
declare const NumberInputPropsContext:
|
|
36
|
+
declare const NumberInputPropsContext: react1152.Context<Partial<NumberInputProps> | undefined>, useNumberInputPropsContext: () => Partial<NumberInputProps> | undefined;
|
|
38
37
|
/**
|
|
39
38
|
* `NumberInput` is a component used to obtain numeric input from the user.
|
|
40
39
|
*
|
|
@@ -1,7 +1,6 @@
|
|
|
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 { UseCounterProps } from "../../hooks/use-counter/index.js";
|
|
6
5
|
|
|
7
6
|
//#region src/components/number-input/use-number-input.d.ts
|
|
@@ -4,11 +4,10 @@ import { Component, HTMLStyledProps } from "../../core/components/index.types.js
|
|
|
4
4
|
import "../../core/index.js";
|
|
5
5
|
import { ButtonGroupRootProps } from "../button/button-group.js";
|
|
6
6
|
import { IconButtonProps } from "../button/icon-button.js";
|
|
7
|
-
import "../button/index.js";
|
|
8
7
|
import { PaginationStyle } from "./pagination.style.js";
|
|
9
8
|
import { Page, UsePaginationProps } from "./use-pagination.js";
|
|
10
9
|
import "../../index.js";
|
|
11
|
-
import * as
|
|
10
|
+
import * as react1147 from "react";
|
|
12
11
|
import { FC, ReactNode } from "react";
|
|
13
12
|
|
|
14
13
|
//#region src/components/pagination/pagination.d.ts
|
|
@@ -69,7 +68,7 @@ interface PaginationRootProps extends WithoutThemeProps<Omit<ButtonGroupRootProp
|
|
|
69
68
|
*/
|
|
70
69
|
itemProps?: PaginationItemProps;
|
|
71
70
|
}
|
|
72
|
-
declare const PaginationPropsContext:
|
|
71
|
+
declare const PaginationPropsContext: react1147.Context<Partial<PaginationRootProps> | undefined>, usePaginationPropsContext: () => Partial<PaginationRootProps> | undefined;
|
|
73
72
|
/**
|
|
74
73
|
* `Pagination` is a component for managing the pagination and navigation of content.
|
|
75
74
|
*
|
|
@@ -3,7 +3,7 @@ import { CSSPropObject, CSSSlotObject } from "../../core/css/index.types.js";
|
|
|
3
3
|
import "../../index.js";
|
|
4
4
|
|
|
5
5
|
//#region src/components/pagination/pagination.style.d.ts
|
|
6
|
-
declare const paginationStyle: ComponentSlotStyle<"text" | "
|
|
6
|
+
declare const paginationStyle: ComponentSlotStyle<"text" | "root" | "item", CSSPropObject<CSSSlotObject<"text" | "root" | "item">>, {
|
|
7
7
|
xs: {
|
|
8
8
|
item: {
|
|
9
9
|
fontSize: "{font-size}";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLProps, PropGetter } from "../../core/components/index.types.js";
|
|
2
2
|
import "../../core/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react1146 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/pagination/use-pagination.d.ts
|
|
6
6
|
type Page = "ellipsis" | number;
|
|
7
7
|
interface PaginationContext extends Omit<UsePaginationReturn, "getRootProps"> {}
|
|
8
|
-
declare const PaginationContext:
|
|
8
|
+
declare const PaginationContext: react1146.Context<PaginationContext>, usePaginationContext: () => PaginationContext;
|
|
9
9
|
interface UsePaginationProps extends Omit<HTMLProps, "onChange" | "page"> {
|
|
10
10
|
/**
|
|
11
11
|
* The total number of pages in pagination.
|
|
@@ -4,11 +4,10 @@ import "../../core/index.js";
|
|
|
4
4
|
import { InputProps } from "../input/input.js";
|
|
5
5
|
import { InputElementProps } from "../input/input-element.js";
|
|
6
6
|
import { InputGroupRootProps } from "../input/input-group.js";
|
|
7
|
-
import "../input/index.js";
|
|
8
7
|
import { PasswordInputStyle } from "./password-input.style.js";
|
|
9
8
|
import { UsePasswordInputProps } from "./use-password-input.js";
|
|
10
9
|
import "../../index.js";
|
|
11
|
-
import * as
|
|
10
|
+
import * as react1148 from "react";
|
|
12
11
|
import { ReactNode } from "react";
|
|
13
12
|
|
|
14
13
|
//#region src/components/password-input/password-input.d.ts
|
|
@@ -33,7 +32,7 @@ interface PasswordInputProps extends WithoutThemeProps<InputProps, PasswordInput
|
|
|
33
32
|
*/
|
|
34
33
|
rootProps?: InputGroupRootProps;
|
|
35
34
|
}
|
|
36
|
-
declare const PasswordInputPropsContext:
|
|
35
|
+
declare const PasswordInputPropsContext: react1148.Context<Partial<PasswordInputProps> | undefined>, usePasswordInputPropsContext: () => Partial<PasswordInputProps> | undefined;
|
|
37
36
|
/**
|
|
38
37
|
* `PasswordInput` is a component that allows users to input passwords with a visibility toggle.
|
|
39
38
|
*
|
|
@@ -2,7 +2,7 @@ import { Component, HTMLStyledProps } from "../../core/components/index.types.js
|
|
|
2
2
|
import "../../core/index.js";
|
|
3
3
|
import { UseStrengthMeterProps } from "./use-strength-meter.js";
|
|
4
4
|
import "../../index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react1149 from "react";
|
|
6
6
|
import { ReactNode } from "react";
|
|
7
7
|
|
|
8
8
|
//#region src/components/password-input/strength-meter.d.ts
|
|
@@ -21,7 +21,7 @@ interface StrengthMeterProps extends HTMLStyledProps, UseStrengthMeterProps {
|
|
|
21
21
|
*/
|
|
22
22
|
getIndicatorProps?: (percent: number) => IndicatorProps;
|
|
23
23
|
}
|
|
24
|
-
declare const StrengthMeterPropsContext:
|
|
24
|
+
declare const StrengthMeterPropsContext: react1149.Context<Partial<StrengthMeterProps> | undefined>, useStrengthMeterPropsContext: () => Partial<StrengthMeterProps> | undefined;
|
|
25
25
|
declare const StrengthMeter: Component<"div", StrengthMeterProps>;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { StrengthMeter, StrengthMeterProps, StrengthMeterPropsContext, useStrengthMeterPropsContext };
|
|
@@ -1,8 +1,7 @@
|
|
|
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 react1233 from "react";
|
|
4
|
+
import * as react1150 from "react";
|
|
6
5
|
|
|
7
6
|
//#region src/components/password-input/use-password-input.d.ts
|
|
8
7
|
interface UsePasswordInputProps extends HTMLProps<"input">, FieldProps {
|
|
@@ -24,7 +23,7 @@ interface UsePasswordInputProps extends HTMLProps<"input">, FieldProps {
|
|
|
24
23
|
onVisibleChange?: (visible: boolean) => void;
|
|
25
24
|
}
|
|
26
25
|
declare const usePasswordInput: (props?: UsePasswordInputProps) => {
|
|
27
|
-
setVisible:
|
|
26
|
+
setVisible: react1150.Dispatch<react1150.SetStateAction<boolean>>;
|
|
28
27
|
visible: boolean;
|
|
29
28
|
getButtonProps: PropGetter<"button", undefined, undefined>;
|
|
30
29
|
getInputProps: PropGetter<"input", undefined, undefined>;
|
|
@@ -3,7 +3,6 @@ import { ThemeTokens } from "../../core/system/index.types.js";
|
|
|
3
3
|
import { HTMLStyledProps } from "../../core/components/index.types.js";
|
|
4
4
|
import "../../core/index.js";
|
|
5
5
|
import { ImageProps } from "../image/image.js";
|
|
6
|
-
import "../image/index.js";
|
|
7
6
|
import { FC } from "react";
|
|
8
7
|
|
|
9
8
|
//#region src/components/picture/picture.d.ts
|
|
@@ -4,16 +4,14 @@ import "../../core/index.js";
|
|
|
4
4
|
import { UseInputBorderProps } from "../input/use-input-border.js";
|
|
5
5
|
import { InputProps } from "../input/input.js";
|
|
6
6
|
import { GroupProps } from "../group/group.js";
|
|
7
|
-
import "../group/index.js";
|
|
8
|
-
import "../input/index.js";
|
|
9
7
|
import { PinInputStyle } from "./pin-input.style.js";
|
|
10
8
|
import { UsePinInputProps } from "./use-pin-input.js";
|
|
11
9
|
import "../../index.js";
|
|
12
|
-
import * as
|
|
10
|
+
import * as react1145 from "react";
|
|
13
11
|
|
|
14
12
|
//#region src/components/pin-input/pin-input.d.ts
|
|
15
13
|
interface PinInputRootProps extends Omit<WithoutThemeProps<GroupProps, PinInputStyle>, "defaultValue" | "mask" | "onChange">, ThemeProps<PinInputStyle>, UseInputBorderProps, UsePinInputProps {}
|
|
16
|
-
declare const PinInputPropsContext:
|
|
14
|
+
declare const PinInputPropsContext: react1145.Context<Partial<PinInputRootProps> | undefined>, usePinInputPropsContext: () => Partial<PinInputRootProps> | undefined;
|
|
17
15
|
/**
|
|
18
16
|
* `PinInput` is a component used to capture pin codes or OTP (One-Time Password) inputs.
|
|
19
17
|
*
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { HTMLProps, PropGetter, RequiredPropGetter } 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 } from "../../hooks/use-descendants/index.js";
|
|
6
5
|
import "../../index.js";
|
|
7
|
-
import * as
|
|
6
|
+
import * as react1139 from "react";
|
|
8
7
|
|
|
9
8
|
//#region src/components/pin-input/use-pin-input.d.ts
|
|
10
|
-
declare const PinInputDescendantsContext:
|
|
9
|
+
declare const PinInputDescendantsContext: react1139.Context<{
|
|
11
10
|
active: (target?: HTMLInputElement | Descendant<HTMLInputElement, {}> | null | undefined, options?: FocusOptions) => void;
|
|
12
11
|
count: (props?: Partial<{}> | undefined) => number;
|
|
13
12
|
destroy: () => void;
|
|
@@ -26,7 +25,7 @@ declare const PinInputDescendantsContext: react1103.Context<{
|
|
|
26
25
|
prevValue: (indexOrNode: number | HTMLInputElement | Descendant<HTMLInputElement, {}> | null, loop?: boolean, props?: Partial<{}> | undefined) => Descendant<HTMLInputElement, {}> | undefined;
|
|
27
26
|
register: (props?: {
|
|
28
27
|
disabled?: boolean | ((node: HTMLInputElement) => boolean) | undefined;
|
|
29
|
-
} | undefined) =>
|
|
28
|
+
} | undefined) => react1139.RefCallback<HTMLInputElement>;
|
|
30
29
|
unregister: (node?: HTMLInputElement | null | undefined) => void;
|
|
31
30
|
value: (indexOrNode: number | HTMLInputElement | null) => Descendant<HTMLInputElement, {}> | undefined;
|
|
32
31
|
values: (props?: Partial<{}> | undefined) => Descendant<HTMLInputElement, {}>[];
|
|
@@ -52,12 +51,12 @@ declare const PinInputDescendantsContext: react1103.Context<{
|
|
|
52
51
|
prevValue: (indexOrNode: number | HTMLInputElement | Descendant<HTMLInputElement, {}> | null, loop?: boolean, props?: Partial<{}> | undefined) => Descendant<HTMLInputElement, {}> | undefined;
|
|
53
52
|
register: (props?: {
|
|
54
53
|
disabled?: boolean | ((node: HTMLInputElement) => boolean) | undefined;
|
|
55
|
-
} | undefined) =>
|
|
54
|
+
} | undefined) => react1139.RefCallback<HTMLInputElement>;
|
|
56
55
|
unregister: (node?: HTMLInputElement | null | undefined) => void;
|
|
57
56
|
value: (indexOrNode: number | HTMLInputElement | null) => Descendant<HTMLInputElement, {}> | undefined;
|
|
58
57
|
values: (props?: Partial<{}> | undefined) => Descendant<HTMLInputElement, {}>[];
|
|
59
58
|
};
|
|
60
|
-
register:
|
|
59
|
+
register: react1139.RefCallback<HTMLInputElement>;
|
|
61
60
|
}, usePinInputDescendants: () => {
|
|
62
61
|
active: (target?: HTMLInputElement | Descendant<HTMLInputElement, {}> | null | undefined, options?: FocusOptions) => void;
|
|
63
62
|
count: (props?: Partial<{}> | undefined) => number;
|
|
@@ -77,7 +76,7 @@ declare const PinInputDescendantsContext: react1103.Context<{
|
|
|
77
76
|
prevValue: (indexOrNode: number | HTMLInputElement | Descendant<HTMLInputElement, {}> | null, loop?: boolean, props?: Partial<{}> | undefined) => Descendant<HTMLInputElement, {}> | undefined;
|
|
78
77
|
register: (props?: {
|
|
79
78
|
disabled?: boolean | ((node: HTMLInputElement) => boolean) | undefined;
|
|
80
|
-
} | undefined) =>
|
|
79
|
+
} | undefined) => react1139.RefCallback<HTMLInputElement>;
|
|
81
80
|
unregister: (node?: HTMLInputElement | null | undefined) => void;
|
|
82
81
|
value: (indexOrNode: number | HTMLInputElement | null) => Descendant<HTMLInputElement, {}> | undefined;
|
|
83
82
|
values: (props?: Partial<{}> | undefined) => Descendant<HTMLInputElement, {}>[];
|
|
@@ -163,7 +162,7 @@ declare const usePinInput: (props?: UsePinInputProps) => {
|
|
|
163
162
|
prevValue: (indexOrNode: number | HTMLInputElement | Descendant<HTMLInputElement, {}> | null, loop?: boolean, props?: Partial<{}> | undefined) => Descendant<HTMLInputElement, {}> | undefined;
|
|
164
163
|
register: (props?: {
|
|
165
164
|
disabled?: boolean | ((node: HTMLInputElement) => boolean) | undefined;
|
|
166
|
-
} | undefined) =>
|
|
165
|
+
} | undefined) => react1139.RefCallback<HTMLInputElement>;
|
|
167
166
|
unregister: (node?: HTMLInputElement | null | undefined) => void;
|
|
168
167
|
value: (indexOrNode: number | HTMLInputElement | null) => Descendant<HTMLInputElement, {}> | undefined;
|
|
169
168
|
values: (props?: Partial<{}> | undefined) => Descendant<HTMLInputElement, {}>[];
|
|
@@ -6,11 +6,10 @@ import { Component, HTMLStyledProps } from "../../core/components/index.types.js
|
|
|
6
6
|
import "../../core/index.js";
|
|
7
7
|
import { PopoverStyle } from "./popover.style.js";
|
|
8
8
|
import { HTMLMotionProps, MotionTransitionProps } from "../motion/index.types.js";
|
|
9
|
-
import "../motion/index.js";
|
|
10
9
|
import { PortalProps } from "../portal/portal.js";
|
|
11
10
|
import { UsePopoverProps } from "./use-popover.js";
|
|
12
11
|
import "../../index.js";
|
|
13
|
-
import * as
|
|
12
|
+
import * as react432 from "react";
|
|
14
13
|
import { FC, PropsWithChildren } from "react";
|
|
15
14
|
import * as _floating_ui_react_dom0 from "@floating-ui/react-dom";
|
|
16
15
|
|
|
@@ -80,7 +79,7 @@ interface PopoverRootProps extends Merge<UsePopoverProps, UsePopoverStyleProps>,
|
|
|
80
79
|
onClose: () => void;
|
|
81
80
|
}>;
|
|
82
81
|
}
|
|
83
|
-
declare const PopoverPropsContext:
|
|
82
|
+
declare const PopoverPropsContext: react432.Context<Partial<PopoverRootProps> | undefined>, usePopoverPropsContext: () => Partial<PopoverRootProps> | undefined;
|
|
84
83
|
/**
|
|
85
84
|
* `Popover` is a component that floats around an element to display information.
|
|
86
85
|
*
|
|
@@ -5,8 +5,8 @@ import "../../core/index.js";
|
|
|
5
5
|
import { ProgressStyle } from "./progress.style.js";
|
|
6
6
|
import { UseProgressProps } from "./use-progress.js";
|
|
7
7
|
import "../../index.js";
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
8
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
9
|
+
import * as react1138 from "react";
|
|
10
10
|
|
|
11
11
|
//#region src/components/progress/progress.d.ts
|
|
12
12
|
interface ProgressProps extends HTMLStyledProps, UseProgressProps, ThemeProps<ProgressStyle> {
|
|
@@ -27,7 +27,7 @@ interface ProgressProps extends HTMLStyledProps, UseProgressProps, ThemeProps<Pr
|
|
|
27
27
|
*/
|
|
28
28
|
rangeProps?: ProgressRangeProps;
|
|
29
29
|
}
|
|
30
|
-
declare const ProgressPropsContext:
|
|
30
|
+
declare const ProgressPropsContext: react1138.Context<Partial<ProgressProps> | undefined>, useProgressPropsContext: () => Partial<ProgressProps> | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* `Progress` is a component for visually indicating progress.
|
|
33
33
|
*
|
|
@@ -125,7 +125,7 @@ declare const Progress: Component<({
|
|
|
125
125
|
bg: ["colorScheme.muted", "colorScheme.subtle"];
|
|
126
126
|
};
|
|
127
127
|
};
|
|
128
|
-
}>, keyof ProgressProps>) =>
|
|
128
|
+
}>, keyof ProgressProps>) => react_jsx_runtime12.JSX.Element, ProgressProps>;
|
|
129
129
|
interface ProgressRangeProps extends HTMLStyledProps {}
|
|
130
130
|
//#endregion
|
|
131
131
|
export { Progress, ProgressProps, ProgressPropsContext, useProgressPropsContext };
|