@yamada-ui/react 2.1.2-dev-20260310090858 → 2.1.2
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/types/components/accordion/accordion.d.ts +4 -2
- package/dist/types/components/accordion/use-accordion.d.ts +11 -11
- package/dist/types/components/airy/airy.d.ts +3 -2
- package/dist/types/components/alert/alert.d.ts +5 -2
- package/dist/types/components/alert/alert.style.d.ts +1 -1
- package/dist/types/components/alpha-slider/alpha-slider.d.ts +3 -2
- package/dist/types/components/aspect-ratio/aspect-ratio.d.ts +2 -2
- package/dist/types/components/autocomplete/autocomplete.d.ts +4 -2
- package/dist/types/components/autocomplete/autocomplete.style.d.ts +1 -1
- package/dist/types/components/autocomplete/use-autocomplete.d.ts +7 -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/use-breadcrumb.d.ts +2 -2
- package/dist/types/components/button/button-group.d.ts +1 -0
- package/dist/types/components/button/button.d.ts +3 -2
- package/dist/types/components/button/icon-button.d.ts +2 -2
- package/dist/types/components/calendar/calendar.d.ts +3 -2
- package/dist/types/components/calendar/calendar.style.d.ts +2 -2
- package/dist/types/components/calendar/use-calendar.d.ts +9 -8
- package/dist/types/components/card/card.d.ts +2 -2
- package/dist/types/components/carousel/carousel.d.ts +3 -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/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/donut-chart.d.ts +2 -2
- package/dist/types/components/chart/line-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 +2 -0
- package/dist/types/components/checkbox/checkbox.d.ts +4 -3
- package/dist/types/components/checkbox/use-checkbox-group.d.ts +3 -2
- package/dist/types/components/checkbox/use-checkbox.d.ts +1 -0
- package/dist/types/components/checkbox-card/checkbox-card-group.d.ts +3 -0
- package/dist/types/components/checkbox-card/checkbox-card.d.ts +7 -5
- package/dist/types/components/checkbox-card/checkbox-card.style.d.ts +1 -1
- package/dist/types/components/circle-progress/circle-progress.d.ts +3 -2
- package/dist/types/components/close-button/close-button.d.ts +3 -2
- package/dist/types/components/code/code.d.ts +2 -2
- package/dist/types/components/collapse/collapse.d.ts +3 -2
- package/dist/types/components/color-picker/color-picker.d.ts +6 -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 +5 -2
- package/dist/types/components/color-selector/color-selector.d.ts +6 -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 +5 -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 +5 -2
- package/dist/types/components/date-picker/use-date-picker.d.ts +7 -4
- package/dist/types/components/drawer/drawer.d.ts +5 -2
- package/dist/types/components/drawer/drawer.style.d.ts +2 -2
- package/dist/types/components/drawer/use-drawer.d.ts +2 -0
- package/dist/types/components/dropzone/dropzone.d.ts +8 -5
- package/dist/types/components/dropzone/dropzone.style.d.ts +1 -1
- package/dist/types/components/dropzone/use-dropzone.d.ts +1 -0
- package/dist/types/components/editable/editable.d.ts +5 -4
- package/dist/types/components/editable/use-editable.d.ts +3 -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 +3 -2
- package/dist/types/components/fade-scale/fade-scale.d.ts +1 -0
- package/dist/types/components/field/field.d.ts +3 -3
- package/dist/types/components/field/use-field-props.d.ts +3 -3
- package/dist/types/components/fieldset/fieldset.d.ts +4 -3
- package/dist/types/components/file-button/file-button.d.ts +4 -2
- package/dist/types/components/file-button/use-file-button.d.ts +20 -18
- package/dist/types/components/file-input/file-input.d.ts +4 -2
- package/dist/types/components/file-input/file-input.style.d.ts +1 -1
- package/dist/types/components/file-input/use-file-input.d.ts +16 -15
- package/dist/types/components/flex/flex.d.ts +2 -2
- package/dist/types/components/flip/flip.d.ts +3 -2
- package/dist/types/components/float/float.d.ts +2 -2
- package/dist/types/components/form/form.d.ts +4 -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/format/use-format-byte.d.ts +1 -0
- package/dist/types/components/format/use-format-date-time.d.ts +1 -0
- package/dist/types/components/format/use-format-number.d.ts +1 -0
- 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 +3 -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/highlight/highlight.d.ts +2 -0
- package/dist/types/components/hue-slider/hue-slider.d.ts +4 -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 +5 -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-group.d.ts +2 -0
- package/dist/types/components/input/input.d.ts +3 -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 +4 -3
- package/dist/types/components/loading/use-loading-component.d.ts +1 -0
- package/dist/types/components/mark/mark.d.ts +2 -2
- package/dist/types/components/menu/menu.d.ts +3 -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 +6 -2
- package/dist/types/components/modal/modal.style.d.ts +2 -2
- 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 +4 -2
- package/dist/types/components/native-select/use-native-select.d.ts +1 -0
- 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 +3 -0
- package/dist/types/components/number-input/number-input.d.ts +3 -2
- package/dist/types/components/number-input/number-input.style.d.ts +1 -1
- package/dist/types/components/number-input/use-number-input.d.ts +1 -0
- package/dist/types/components/pagination/pagination.d.ts +3 -2
- package/dist/types/components/pagination/use-pagination.d.ts +2 -2
- package/dist/types/components/password-input/password-input.d.ts +3 -2
- package/dist/types/components/password-input/strength-meter.d.ts +2 -2
- package/dist/types/components/password-input/use-password-input.d.ts +3 -2
- package/dist/types/components/picture/picture.d.ts +1 -0
- package/dist/types/components/pin-input/pin-input.d.ts +4 -2
- package/dist/types/components/pin-input/use-pin-input.d.ts +8 -7
- package/dist/types/components/popover/popover.d.ts +3 -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-group.d.ts +2 -0
- package/dist/types/components/radio/radio.d.ts +5 -4
- package/dist/types/components/radio/use-radio-group.d.ts +3 -2
- package/dist/types/components/radio/use-radio.d.ts +1 -0
- package/dist/types/components/radio-card/radio-card-group.d.ts +3 -0
- package/dist/types/components/radio-card/radio-card.d.ts +7 -5
- package/dist/types/components/radio-card/radio-card.style.d.ts +1 -1
- package/dist/types/components/rating/use-rating.d.ts +8 -7
- package/dist/types/components/reorder/reorder.d.ts +3 -2
- 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/use-resizable.d.ts +2 -2
- package/dist/types/components/ripple/ripple.d.ts +3 -2
- package/dist/types/components/ripple/use-ripple.d.ts +2 -2
- package/dist/types/components/rotate/rotate.d.ts +3 -2
- package/dist/types/components/saturation-slider/saturation-slider.d.ts +2 -2
- package/dist/types/components/saturation-slider/use-saturation-slider.d.ts +3 -2
- package/dist/types/components/scroll-area/scroll-area.d.ts +2 -2
- package/dist/types/components/segmented-control/segmented-control.d.ts +3 -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 +10 -9
- package/dist/types/components/select/select.d.ts +4 -2
- package/dist/types/components/select/select.style.d.ts +1 -1
- package/dist/types/components/select/use-select.d.ts +6 -4
- package/dist/types/components/separator/separator.d.ts +2 -2
- package/dist/types/components/simple-grid/simple-grid.d.ts +3 -2
- package/dist/types/components/skeleton/skeleton.d.ts +2 -2
- package/dist/types/components/slide/slide.d.ts +3 -2
- package/dist/types/components/slide-fade/slide-fade.d.ts +3 -2
- package/dist/types/components/slider/slider.d.ts +2 -2
- package/dist/types/components/slider/use-slider.d.ts +3 -2
- package/dist/types/components/snacks/snacks.d.ts +2 -0
- package/dist/types/components/snacks/use-snacks.d.ts +1 -0
- 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 +1 -0
- package/dist/types/components/table/table.d.ts +4 -2
- 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 +4 -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 +2 -2
- package/dist/types/components/tip/tip.d.ts +2 -0
- package/dist/types/components/toggle/toggle-group.d.ts +1 -1
- package/dist/types/components/toggle/toggle.d.ts +7 -5
- package/dist/types/components/toggle/use-toggle-group.d.ts +2 -2
- package/dist/types/components/toggle/use-toggle.d.ts +3 -2
- package/dist/types/components/tooltip/tooltip.d.ts +4 -2
- package/dist/types/components/visually-hidden/visually-hidden.d.ts +2 -2
- package/dist/types/components/wrap/wrap.d.ts +3 -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-async-callback/index.d.ts +1 -0
- package/dist/types/hooks/use-breakpoint/use-breakpoint-state.d.ts +2 -2
- package/dist/types/hooks/use-clickable/index.d.ts +7 -7
- package/dist/types/hooks/use-clipboard/index.d.ts +2 -2
- package/dist/types/hooks/use-combobox/index.d.ts +13 -12
- package/dist/types/hooks/use-counter/index.d.ts +2 -2
- package/dist/types/index.d.ts +103 -0
- package/dist/types/providers/i18n-provider/i18n-provider.d.ts +3 -3
- package/dist/types/providers/ui-provider/ui-provider.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3,9 +3,10 @@ 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";
|
|
6
7
|
import { SimpleGridStyle } from "./simple-grid.style.js";
|
|
7
8
|
import "../../index.js";
|
|
8
|
-
import * as
|
|
9
|
+
import * as react109 from "react";
|
|
9
10
|
|
|
10
11
|
//#region src/components/simple-grid/simple-grid.d.ts
|
|
11
12
|
interface SimpleGridProps extends Omit<WithoutThemeProps<GridProps, SimpleGridStyle>, "columns">, ThemeProps<SimpleGridStyle> {
|
|
@@ -19,7 +20,7 @@ interface SimpleGridProps extends Omit<WithoutThemeProps<GridProps, SimpleGridSt
|
|
|
19
20
|
*/
|
|
20
21
|
minChildWidth?: CSSProps["minWidth"];
|
|
21
22
|
}
|
|
22
|
-
declare const SimpleGridPropsContext:
|
|
23
|
+
declare const SimpleGridPropsContext: react109.Context<Partial<SimpleGridProps> | undefined>, useSimpleGridPropsContext: () => Partial<SimpleGridProps> | undefined;
|
|
23
24
|
/**
|
|
24
25
|
* `SimpleGrid` is a component that makes `Grid` simpler and more user-friendly.
|
|
25
26
|
*
|
|
@@ -4,7 +4,7 @@ import { Component, HTMLStyledProps } from "../../core/components/index.types.js
|
|
|
4
4
|
import "../../core/index.js";
|
|
5
5
|
import { SkeletonStyle } from "./skeleton.style.js";
|
|
6
6
|
import "../../index.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as react132 from "react";
|
|
8
8
|
|
|
9
9
|
//#region src/components/skeleton/skeleton.d.ts
|
|
10
10
|
interface SkeletonProps extends HTMLStyledProps, ThemeProps<SkeletonStyle> {
|
|
@@ -31,7 +31,7 @@ interface SkeletonProps extends HTMLStyledProps, ThemeProps<SkeletonStyle> {
|
|
|
31
31
|
*/
|
|
32
32
|
startColor?: CSSProps["color"];
|
|
33
33
|
}
|
|
34
|
-
declare const SkeletonPropsContext:
|
|
34
|
+
declare const SkeletonPropsContext: react132.Context<Partial<SkeletonProps> | undefined>, useSkeletonPropsContext: () => Partial<SkeletonProps> | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* `Skeleton` is a component that acts as a placeholder until content is loaded.
|
|
37
37
|
*
|
|
@@ -2,15 +2,16 @@ 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 as HTMLMotionProps$1, WithTransitionProps } from "../motion/index.types.js";
|
|
5
|
+
import "../motion/index.js";
|
|
5
6
|
import { SlideStyle } from "./slide.style.js";
|
|
6
7
|
import "../../index.js";
|
|
7
|
-
import * as
|
|
8
|
+
import * as react107 from "react";
|
|
8
9
|
import { Variants } from "motion/react";
|
|
9
10
|
|
|
10
11
|
//#region src/components/slide/slide.d.ts
|
|
11
12
|
declare const slideVariants: Variants;
|
|
12
13
|
interface SlideProps extends WithTransitionProps<HTMLMotionProps$1>, ThemeProps<SlideStyle> {}
|
|
13
|
-
declare const SlidePropsContext:
|
|
14
|
+
declare const SlidePropsContext: react107.Context<Partial<SlideProps> | undefined>, useSlidePropsContext: () => Partial<SlideProps> | undefined;
|
|
14
15
|
/**
|
|
15
16
|
* `Slide` is a component that shows or hides an element from the corners of the page.
|
|
16
17
|
*
|
|
@@ -2,9 +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 as HTMLMotionProps$1, WithTransitionProps } from "../motion/index.types.js";
|
|
5
|
+
import "../motion/index.js";
|
|
5
6
|
import { SlideFadeStyle } from "./slide-fade.style.js";
|
|
6
7
|
import "../../index.js";
|
|
7
|
-
import * as
|
|
8
|
+
import * as react106 from "react";
|
|
8
9
|
import { Variants } from "motion/react";
|
|
9
10
|
|
|
10
11
|
//#region src/components/slide-fade/slide-fade.d.ts
|
|
@@ -29,7 +30,7 @@ interface SlideFadeProps extends WithTransitionProps<HTMLMotionProps$1>, ThemePr
|
|
|
29
30
|
*/
|
|
30
31
|
reverse?: boolean;
|
|
31
32
|
}
|
|
32
|
-
declare const SlideFadePropsContext:
|
|
33
|
+
declare const SlideFadePropsContext: react106.Context<Partial<SlideFadeProps> | undefined>, useSlideFadePropsContext: () => Partial<SlideFadeProps> | undefined;
|
|
33
34
|
/**
|
|
34
35
|
* `SlideFade` is a component that gradually shows or hides an element while moving it from a specified position.
|
|
35
36
|
*
|
|
@@ -5,7 +5,7 @@ import "../../core/index.js";
|
|
|
5
5
|
import { SliderStyle } from "./slider.style.js";
|
|
6
6
|
import { UseSliderProps } from "./use-slider.js";
|
|
7
7
|
import "../../index.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as react1014 from "react";
|
|
9
9
|
import { FC, ReactElement, ReactNode } from "react";
|
|
10
10
|
|
|
11
11
|
//#region src/components/slider/slider.d.ts
|
|
@@ -75,7 +75,7 @@ interface SliderRootProps<Y extends [number, number] | number = number> extends
|
|
|
75
75
|
*/
|
|
76
76
|
trackProps?: SliderTrackProps;
|
|
77
77
|
}
|
|
78
|
-
declare const SliderPropsContext:
|
|
78
|
+
declare const SliderPropsContext: react1014.Context<Partial<SliderRootProps<number>> | undefined>, useSliderPropsContext: () => Partial<SliderRootProps<number>> | undefined;
|
|
79
79
|
/**
|
|
80
80
|
* `Slider` is a component used for allowing users to select a value from a range.
|
|
81
81
|
*
|
|
@@ -2,7 +2,8 @@ import { Orientation } from "../../core/system/index.types.js";
|
|
|
2
2
|
import { HTMLProps, HTMLRefAttributes, PropGetter, RequiredPropGetter } from "../../core/components/index.types.js";
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import { FieldProps } from "../field/field.js";
|
|
5
|
-
import
|
|
5
|
+
import "../field/index.js";
|
|
6
|
+
import * as react1012 from "react";
|
|
6
7
|
|
|
7
8
|
//#region src/components/slider/use-slider.d.ts
|
|
8
9
|
interface UseSliderProps<Y extends [number, number] | number = number> extends Omit<HTMLProps, "defaultValue" | "onChange" | "ref">, HTMLRefAttributes<"input">, FieldProps {
|
|
@@ -77,7 +78,7 @@ interface UseSliderProps<Y extends [number, number] | number = number> extends O
|
|
|
77
78
|
declare const useSlider: <Y extends [number, number] | number = number>(props?: UseSliderProps<Y>) => {
|
|
78
79
|
percent: Y extends number ? number : number[];
|
|
79
80
|
range: boolean;
|
|
80
|
-
setValue:
|
|
81
|
+
setValue: react1012.Dispatch<react1012.SetStateAction<Y>>;
|
|
81
82
|
stepDown: (index: number, step?: number) => void;
|
|
82
83
|
stepUp: (index: number, step?: number) => void;
|
|
83
84
|
value: Y;
|
|
@@ -2,7 +2,9 @@ import { CSSProps } from "../../core/css/index.types.js";
|
|
|
2
2
|
import { Component, 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";
|
|
5
6
|
import { CloseButtonProps } from "../close-button/close-button.js";
|
|
7
|
+
import "../close-button/index.js";
|
|
6
8
|
import { UseSnacksReturn } from "./use-snacks.js";
|
|
7
9
|
import "../../index.js";
|
|
8
10
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SimpleDirection, SnacksConfig } from "../../core/system/index.types.js";
|
|
2
2
|
import "../../core/index.js";
|
|
3
3
|
import { AlertDescriptionProps, AlertIconProps, AlertLoadingProps, AlertRootProps, AlertTitleProps } from "../alert/alert.js";
|
|
4
|
+
import "../alert/index.js";
|
|
4
5
|
import { SnackCloseButtonProps, SnackContentProps } from "./snacks.js";
|
|
5
6
|
import "../../index.js";
|
|
6
7
|
import { ReactNode } from "react";
|
|
@@ -4,11 +4,11 @@ import "../../core/index.js";
|
|
|
4
4
|
import { HStackStyle } from "./h-stack.style.js";
|
|
5
5
|
import { StackProps } from "./stack.js";
|
|
6
6
|
import "../../index.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as react1008 from "react";
|
|
8
8
|
|
|
9
9
|
//#region src/components/stack/h-stack.d.ts
|
|
10
10
|
interface HStackProps extends WithoutThemeProps<StackProps, HStackStyle>, ThemeProps<HStackStyle> {}
|
|
11
|
-
declare const HStackPropsContext:
|
|
11
|
+
declare const HStackPropsContext: react1008.Context<Partial<HStackProps> | undefined>, useHStackPropsContext: () => Partial<HStackProps> | undefined;
|
|
12
12
|
/**
|
|
13
13
|
* `HStack` is a component that groups elements and provides space between child elements.
|
|
14
14
|
*
|
|
@@ -2,7 +2,7 @@ import { CSSProps } from "../../core/css/index.types.js";
|
|
|
2
2
|
import { Component, HTMLStyledProps } from "../../core/components/index.types.js";
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import "../../index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react1010 from "react";
|
|
6
6
|
import { ReactElement } from "react";
|
|
7
7
|
|
|
8
8
|
//#region src/components/stack/stack.d.ts
|
|
@@ -28,7 +28,7 @@ interface StackProps extends Omit<HTMLStyledProps, "direction"> {
|
|
|
28
28
|
*/
|
|
29
29
|
wrap?: CSSProps["flexWrap"];
|
|
30
30
|
}
|
|
31
|
-
declare const StackPropsContext:
|
|
31
|
+
declare const StackPropsContext: react1010.Context<Partial<StackProps> | undefined>, useStackPropsContext: () => Partial<StackProps> | undefined;
|
|
32
32
|
/**
|
|
33
33
|
* `Stack` is a component that groups elements and provides space between child elements.
|
|
34
34
|
*
|
|
@@ -4,11 +4,11 @@ import "../../core/index.js";
|
|
|
4
4
|
import { VStackStyle } from "./v-stack.style.js";
|
|
5
5
|
import { StackProps } from "./stack.js";
|
|
6
6
|
import "../../index.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as react1009 from "react";
|
|
8
8
|
|
|
9
9
|
//#region src/components/stack/v-stack.d.ts
|
|
10
10
|
interface VStackProps extends WithoutThemeProps<StackProps, VStackStyle>, ThemeProps<VStackStyle> {}
|
|
11
|
-
declare const VStackPropsContext:
|
|
11
|
+
declare const VStackPropsContext: react1009.Context<Partial<VStackProps> | undefined>, useVStackPropsContext: () => Partial<VStackProps> | undefined;
|
|
12
12
|
/**
|
|
13
13
|
* `VStack` is a component that groups elements and provides space between child elements.
|
|
14
14
|
*
|
|
@@ -3,7 +3,7 @@ import { Component, HTMLStyledProps } from "../../core/components/index.types.js
|
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import { ZStackStyle } from "./z-stack.style.js";
|
|
5
5
|
import "../../index.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react1011 from "react";
|
|
7
7
|
|
|
8
8
|
//#region src/components/stack/z-stack.d.ts
|
|
9
9
|
interface ZStackProps extends Omit<HTMLStyledProps, "direction">, ThemeProps<ZStackStyle> {
|
|
@@ -32,7 +32,7 @@ interface ZStackProps extends Omit<HTMLStyledProps, "direction">, ThemeProps<ZSt
|
|
|
32
32
|
*/
|
|
33
33
|
startIndex?: number;
|
|
34
34
|
}
|
|
35
|
-
declare const ZStackPropsContext:
|
|
35
|
+
declare const ZStackPropsContext: react1011.Context<Partial<ZStackProps> | undefined>, useZStackPropsContext: () => Partial<ZStackProps> | undefined;
|
|
36
36
|
/**
|
|
37
37
|
* `ZStack` is a component that groups elements and provides space between child elements.
|
|
38
38
|
*
|
|
@@ -3,7 +3,7 @@ import { Component, HTMLStyledProps } from "../../core/components/index.types.js
|
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import { StatStyle } from "./stat.style.js";
|
|
5
5
|
import "../../index.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react104 from "react";
|
|
7
7
|
import { ReactNode } from "react";
|
|
8
8
|
|
|
9
9
|
//#region src/components/stat/stat.d.ts
|
|
@@ -47,7 +47,7 @@ interface StatRootProps extends HTMLStyledProps<"dl">, ThemeProps<StatStyle> {
|
|
|
47
47
|
*/
|
|
48
48
|
valueProps?: StatValueProps;
|
|
49
49
|
}
|
|
50
|
-
declare const StatPropsContext:
|
|
50
|
+
declare const StatPropsContext: react104.Context<Partial<StatRootProps> | undefined>, useStatPropsContext: () => Partial<StatRootProps> | undefined;
|
|
51
51
|
/**
|
|
52
52
|
* `Stat` is used to show numbers and data in a box.
|
|
53
53
|
*
|
|
@@ -3,7 +3,7 @@ import { Component, HTMLStyledProps } from "../../core/components/index.types.js
|
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import { StatusStyle } from "./status.style.js";
|
|
5
5
|
import "../../index.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react103 from "react";
|
|
7
7
|
|
|
8
8
|
//#region src/components/status/status.d.ts
|
|
9
9
|
type StatusScheme = "error" | "info" | "success" | "warning";
|
|
@@ -23,7 +23,7 @@ interface StatusProps extends HTMLStyledProps, ThemeProps<StatusStyle> {
|
|
|
23
23
|
*/
|
|
24
24
|
labelProps?: HTMLStyledProps;
|
|
25
25
|
}
|
|
26
|
-
declare const StatusPropsContext:
|
|
26
|
+
declare const StatusPropsContext: react103.Context<Partial<StatusProps> | undefined>, useStatusPropsContext: () => Partial<StatusProps> | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* `Status` is component that indicate the status of a process or state.
|
|
29
29
|
*
|
|
@@ -5,7 +5,7 @@ import { StepsStyle } from "./steps.style.js";
|
|
|
5
5
|
import { UseLazyMountProps } from "../../hooks/use-lazy-mount/index.js";
|
|
6
6
|
import { UseStepsItemProps, UseStepsProps } from "./use-steps.js";
|
|
7
7
|
import "../../index.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as react102 from "react";
|
|
9
9
|
import { FC, PropsWithChildren, ReactNode } from "react";
|
|
10
10
|
|
|
11
11
|
//#region src/components/steps/steps.d.ts
|
|
@@ -55,7 +55,7 @@ interface StepsRootProps extends Omit<HTMLStyledProps, "onChange">, Omit<UseStep
|
|
|
55
55
|
*/
|
|
56
56
|
items?: StepsItem[];
|
|
57
57
|
}
|
|
58
|
-
declare const StepsPropsContext:
|
|
58
|
+
declare const StepsPropsContext: react102.Context<Partial<StepsRootProps> | undefined>, useStepsPropsContext: () => Partial<StepsRootProps> | undefined;
|
|
59
59
|
/**
|
|
60
60
|
* `Steps` is a component that displays the progress of a multi-step process.
|
|
61
61
|
*
|
|
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.types.js";
|
|
|
2
2
|
import "../../index.js";
|
|
3
3
|
|
|
4
4
|
//#region src/components/steps/steps.style.d.ts
|
|
5
|
-
declare const stepsStyle: ComponentSlotStyle<"title" | "list" | "separator" | "
|
|
5
|
+
declare const stepsStyle: ComponentSlotStyle<"title" | "list" | "separator" | "root" | "indicator" | "description" | "item", {
|
|
6
6
|
/**
|
|
7
7
|
* The orientation of the steps.
|
|
8
8
|
*
|
|
@@ -3,11 +3,11 @@ import { HTMLProps, PropGetter } from "../../core/components/index.types.js";
|
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import { Descendant } from "../../hooks/use-descendants/index.js";
|
|
5
5
|
import "../../index.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react92 from "react";
|
|
7
7
|
|
|
8
8
|
//#region src/components/steps/use-steps.d.ts
|
|
9
9
|
type StepStatusScheme = "complete" | "current" | "incomplete";
|
|
10
|
-
declare const StepsDescendantsContext:
|
|
10
|
+
declare const StepsDescendantsContext: react92.Context<{
|
|
11
11
|
active: (target?: HTMLLIElement | Descendant<HTMLLIElement, {}> | null | undefined, options?: FocusOptions) => void;
|
|
12
12
|
count: () => number;
|
|
13
13
|
destroy: () => void;
|
|
@@ -26,7 +26,7 @@ declare const StepsDescendantsContext: react978.Context<{
|
|
|
26
26
|
prevValue: (indexOrNode: number | HTMLLIElement | Descendant<HTMLLIElement, {}> | null, loop?: boolean) => Descendant<HTMLLIElement, {}> | undefined;
|
|
27
27
|
register: (props?: {
|
|
28
28
|
disabled?: boolean | ((node: HTMLLIElement) => boolean) | undefined;
|
|
29
|
-
} | undefined) =>
|
|
29
|
+
} | undefined) => react92.RefCallback<HTMLLIElement>;
|
|
30
30
|
unregister: (node?: HTMLLIElement | null | undefined) => void;
|
|
31
31
|
value: (indexOrNode: number | HTMLLIElement | null) => Descendant<HTMLLIElement, {}> | undefined;
|
|
32
32
|
values: () => Descendant<HTMLLIElement, {}>[];
|
|
@@ -52,12 +52,12 @@ declare const StepsDescendantsContext: react978.Context<{
|
|
|
52
52
|
prevValue: (indexOrNode: number | HTMLLIElement | Descendant<HTMLLIElement, {}> | null, loop?: boolean) => Descendant<HTMLLIElement, {}> | undefined;
|
|
53
53
|
register: (props?: {
|
|
54
54
|
disabled?: boolean | ((node: HTMLLIElement) => boolean) | undefined;
|
|
55
|
-
} | undefined) =>
|
|
55
|
+
} | undefined) => react92.RefCallback<HTMLLIElement>;
|
|
56
56
|
unregister: (node?: HTMLLIElement | null | undefined) => void;
|
|
57
57
|
value: (indexOrNode: number | HTMLLIElement | null) => Descendant<HTMLLIElement, {}> | undefined;
|
|
58
58
|
values: () => Descendant<HTMLLIElement, {}>[];
|
|
59
59
|
};
|
|
60
|
-
register:
|
|
60
|
+
register: react92.RefCallback<HTMLLIElement>;
|
|
61
61
|
}, useStepsDescendants: () => {
|
|
62
62
|
active: (target?: HTMLLIElement | Descendant<HTMLLIElement, {}> | null | undefined, options?: FocusOptions) => void;
|
|
63
63
|
count: () => number;
|
|
@@ -77,15 +77,15 @@ declare const StepsDescendantsContext: react978.Context<{
|
|
|
77
77
|
prevValue: (indexOrNode: number | HTMLLIElement | Descendant<HTMLLIElement, {}> | null, loop?: boolean) => Descendant<HTMLLIElement, {}> | undefined;
|
|
78
78
|
register: (props?: {
|
|
79
79
|
disabled?: boolean | ((node: HTMLLIElement) => boolean) | undefined;
|
|
80
|
-
} | undefined) =>
|
|
80
|
+
} | undefined) => react92.RefCallback<HTMLLIElement>;
|
|
81
81
|
unregister: (node?: HTMLLIElement | null | undefined) => void;
|
|
82
82
|
value: (indexOrNode: number | HTMLLIElement | null) => Descendant<HTMLLIElement, {}> | undefined;
|
|
83
83
|
values: () => Descendant<HTMLLIElement, {}>[];
|
|
84
84
|
};
|
|
85
85
|
interface StepsContext extends Omit<UseStepsReturn, "descendants" | "getRootProps"> {}
|
|
86
|
-
declare const StepsContext:
|
|
86
|
+
declare const StepsContext: react92.Context<StepsContext>, useStepsContext: () => StepsContext;
|
|
87
87
|
interface StepsItemContext extends Omit<UseStepsItemReturn, "getRootProps"> {}
|
|
88
|
-
declare const StepsItemContext:
|
|
88
|
+
declare const StepsItemContext: react92.Context<StepsItemContext>, useStepsItemContext: () => StepsItemContext;
|
|
89
89
|
interface UseStepsProps extends Omit<HTMLProps, "onChange"> {
|
|
90
90
|
/**
|
|
91
91
|
* The total number of steps.
|
|
@@ -141,7 +141,7 @@ declare const useSteps: ({
|
|
|
141
141
|
prevValue: (indexOrNode: number | HTMLLIElement | Descendant<HTMLLIElement, {}> | null, loop?: boolean) => Descendant<HTMLLIElement, {}> | undefined;
|
|
142
142
|
register: (props?: {
|
|
143
143
|
disabled?: boolean | ((node: HTMLLIElement) => boolean) | undefined;
|
|
144
|
-
} | undefined) =>
|
|
144
|
+
} | undefined) => react92.RefCallback<HTMLLIElement>;
|
|
145
145
|
unregister: (node?: HTMLLIElement | null | undefined) => void;
|
|
146
146
|
value: (indexOrNode: number | HTMLLIElement | null) => Descendant<HTMLLIElement, {}> | undefined;
|
|
147
147
|
values: () => Descendant<HTMLLIElement, {}>[];
|
|
@@ -149,7 +149,7 @@ declare const useSteps: ({
|
|
|
149
149
|
getStatus: (indexProp: number) => StepStatusScheme;
|
|
150
150
|
index: number;
|
|
151
151
|
orientation: Orientation;
|
|
152
|
-
setIndex:
|
|
152
|
+
setIndex: react92.Dispatch<react92.SetStateAction<number>>;
|
|
153
153
|
getContentProps: PropGetter<"div", {
|
|
154
154
|
index?: number;
|
|
155
155
|
}, undefined>;
|
|
@@ -5,7 +5,7 @@ import "../../core/index.js";
|
|
|
5
5
|
import { SwitchStyle } from "./switch.style.js";
|
|
6
6
|
import { UseSwitchProps } from "./use-switch.js";
|
|
7
7
|
import "../../index.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as react91 from "react";
|
|
9
9
|
import { ReactNode } from "react";
|
|
10
10
|
|
|
11
11
|
//#region src/components/switch/switch.d.ts
|
|
@@ -26,7 +26,7 @@ interface SwitchProps extends Merge<HTMLStyledProps<"label">, UseSwitchProps>, T
|
|
|
26
26
|
*/
|
|
27
27
|
labelProps?: HTMLStyledProps<"span">;
|
|
28
28
|
}
|
|
29
|
-
declare const SwitchPropsContext:
|
|
29
|
+
declare const SwitchPropsContext: react91.Context<Partial<SwitchProps> | undefined>, useSwitchPropsContext: () => Partial<SwitchProps> | undefined;
|
|
30
30
|
/**
|
|
31
31
|
* `Switch` is a component used to toggle between on and off states.
|
|
32
32
|
*
|
|
@@ -1,6 +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 "../field/index.js";
|
|
4
5
|
import { ChangeEventHandler, FocusEventHandler } from "react";
|
|
5
6
|
|
|
6
7
|
//#region src/components/switch/use-switch.d.ts
|
|
@@ -3,8 +3,10 @@ import { CSSProps } from "../../core/css/index.types.js";
|
|
|
3
3
|
import { GenericsComponent, HTMLStyledProps } from "../../core/components/index.types.js";
|
|
4
4
|
import "../../core/index.js";
|
|
5
5
|
import { CheckboxProps } from "../checkbox/checkbox.js";
|
|
6
|
+
import "../checkbox/index.js";
|
|
6
7
|
import { NativeTableRootProps, TbodyProps, TdProps, TfootProps, ThProps, TheadProps, TrProps } from "../native-table/native-table.js";
|
|
7
|
-
import
|
|
8
|
+
import "../native-table/index.js";
|
|
9
|
+
import * as react122 from "react";
|
|
8
10
|
import { ReactElement } from "react";
|
|
9
11
|
import { AccessorFn, Cell, CellContext, ColumnDefTemplate, ColumnFiltersColumnDef, ColumnFiltersState, ColumnMeta, ColumnPinningColumnDef, ColumnSizingColumnDef, GlobalFilterColumnDef, GroupingColumnDef, Header, HeaderContext, HeaderGroup, PaginationState, Row, RowData, RowSelectionState, SortDirection, SortingColumnDef, Table, TableOptions, VisibilityColumnDef, createColumnHelper } from "@tanstack/react-table";
|
|
10
12
|
|
|
@@ -205,7 +207,7 @@ interface TableProps<Y extends RowData> extends OmittedTableOptions<Y>, PickedNa
|
|
|
205
207
|
*/
|
|
206
208
|
onSortingChange?: (sorting: SortingState<Y>) => void;
|
|
207
209
|
}
|
|
208
|
-
declare const TablePropsContext:
|
|
210
|
+
declare const TablePropsContext: react122.Context<Partial<TableProps<any>> | undefined>, useTablePropsContext: () => Partial<TableProps<any>> | undefined;
|
|
209
211
|
/**
|
|
210
212
|
* `Table` is a table component equipped with column sorting, row selection, and click event features.
|
|
211
213
|
*
|
|
@@ -5,7 +5,7 @@ import { UseLazyMountProps } from "../../hooks/use-lazy-mount/index.js";
|
|
|
5
5
|
import { TabsStyle } from "./tabs.style.js";
|
|
6
6
|
import { UseTabPanelProps, UseTabProps, UseTabsProps } from "./use-tabs.js";
|
|
7
7
|
import "../../index.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as react90 from "react";
|
|
9
9
|
import { FC, PropsWithChildren, ReactNode } from "react";
|
|
10
10
|
|
|
11
11
|
//#region src/components/tabs/tabs.d.ts
|
|
@@ -29,7 +29,7 @@ interface TabsRootProps extends Omit<HTMLStyledProps, "onChange">, Omit<UseTabsP
|
|
|
29
29
|
*/
|
|
30
30
|
items?: TabsItem[];
|
|
31
31
|
}
|
|
32
|
-
declare const TabsPropsContext:
|
|
32
|
+
declare const TabsPropsContext: react90.Context<Partial<TabsRootProps> | undefined>, useTabsPropsContext: () => Partial<TabsRootProps> | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* `Tabs` is a component for switching between different display areas.
|
|
35
35
|
*
|
|
@@ -3,10 +3,10 @@ import { HTMLProps, PropGetter } from "../../core/components/index.types.js";
|
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import { Descendant } from "../../hooks/use-descendants/index.js";
|
|
5
5
|
import "../../index.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react73 from "react";
|
|
7
7
|
|
|
8
8
|
//#region src/components/tabs/use-tabs.d.ts
|
|
9
|
-
declare const TabDescendantsContext:
|
|
9
|
+
declare const TabDescendantsContext: react73.Context<{
|
|
10
10
|
active: (target?: HTMLButtonElement | Descendant<HTMLButtonElement, {}> | null | undefined, options?: FocusOptions) => void;
|
|
11
11
|
count: () => number;
|
|
12
12
|
destroy: () => void;
|
|
@@ -25,7 +25,7 @@ declare const TabDescendantsContext: react947.Context<{
|
|
|
25
25
|
prevValue: (indexOrNode: number | HTMLButtonElement | Descendant<HTMLButtonElement, {}> | null, loop?: boolean) => Descendant<HTMLButtonElement, {}> | undefined;
|
|
26
26
|
register: (props?: {
|
|
27
27
|
disabled?: boolean | ((node: HTMLButtonElement) => boolean) | undefined;
|
|
28
|
-
} | undefined) =>
|
|
28
|
+
} | undefined) => react73.RefCallback<HTMLButtonElement>;
|
|
29
29
|
unregister: (node?: HTMLButtonElement | null | undefined) => void;
|
|
30
30
|
value: (indexOrNode: number | HTMLButtonElement | null) => Descendant<HTMLButtonElement, {}> | undefined;
|
|
31
31
|
values: () => Descendant<HTMLButtonElement, {}>[];
|
|
@@ -51,12 +51,12 @@ declare const TabDescendantsContext: react947.Context<{
|
|
|
51
51
|
prevValue: (indexOrNode: number | HTMLButtonElement | Descendant<HTMLButtonElement, {}> | null, loop?: boolean) => Descendant<HTMLButtonElement, {}> | undefined;
|
|
52
52
|
register: (props?: {
|
|
53
53
|
disabled?: boolean | ((node: HTMLButtonElement) => boolean) | undefined;
|
|
54
|
-
} | undefined) =>
|
|
54
|
+
} | undefined) => react73.RefCallback<HTMLButtonElement>;
|
|
55
55
|
unregister: (node?: HTMLButtonElement | null | undefined) => void;
|
|
56
56
|
value: (indexOrNode: number | HTMLButtonElement | null) => Descendant<HTMLButtonElement, {}> | undefined;
|
|
57
57
|
values: () => Descendant<HTMLButtonElement, {}>[];
|
|
58
58
|
};
|
|
59
|
-
register:
|
|
59
|
+
register: react73.RefCallback<HTMLButtonElement>;
|
|
60
60
|
}, useTabDescendants: () => {
|
|
61
61
|
active: (target?: HTMLButtonElement | Descendant<HTMLButtonElement, {}> | null | undefined, options?: FocusOptions) => void;
|
|
62
62
|
count: () => number;
|
|
@@ -76,12 +76,12 @@ declare const TabDescendantsContext: react947.Context<{
|
|
|
76
76
|
prevValue: (indexOrNode: number | HTMLButtonElement | Descendant<HTMLButtonElement, {}> | null, loop?: boolean) => Descendant<HTMLButtonElement, {}> | undefined;
|
|
77
77
|
register: (props?: {
|
|
78
78
|
disabled?: boolean | ((node: HTMLButtonElement) => boolean) | undefined;
|
|
79
|
-
} | undefined) =>
|
|
79
|
+
} | undefined) => react73.RefCallback<HTMLButtonElement>;
|
|
80
80
|
unregister: (node?: HTMLButtonElement | null | undefined) => void;
|
|
81
81
|
value: (indexOrNode: number | HTMLButtonElement | null) => Descendant<HTMLButtonElement, {}> | undefined;
|
|
82
82
|
values: () => Descendant<HTMLButtonElement, {}>[];
|
|
83
83
|
};
|
|
84
|
-
declare const TabPanelDescendantsContext:
|
|
84
|
+
declare const TabPanelDescendantsContext: react73.Context<{
|
|
85
85
|
active: (target?: HTMLDivElement | Descendant<HTMLDivElement, {}> | null | undefined, options?: FocusOptions) => void;
|
|
86
86
|
count: () => number;
|
|
87
87
|
destroy: () => void;
|
|
@@ -100,7 +100,7 @@ declare const TabPanelDescendantsContext: react947.Context<{
|
|
|
100
100
|
prevValue: (indexOrNode: number | HTMLDivElement | Descendant<HTMLDivElement, {}> | null, loop?: boolean) => Descendant<HTMLDivElement, {}> | undefined;
|
|
101
101
|
register: (props?: {
|
|
102
102
|
disabled?: boolean | ((node: HTMLDivElement) => boolean) | undefined;
|
|
103
|
-
} | undefined) =>
|
|
103
|
+
} | undefined) => react73.RefCallback<HTMLDivElement>;
|
|
104
104
|
unregister: (node?: HTMLDivElement | null | undefined) => void;
|
|
105
105
|
value: (indexOrNode: number | HTMLDivElement | null) => Descendant<HTMLDivElement, {}> | undefined;
|
|
106
106
|
values: () => Descendant<HTMLDivElement, {}>[];
|
|
@@ -126,12 +126,12 @@ declare const TabPanelDescendantsContext: react947.Context<{
|
|
|
126
126
|
prevValue: (indexOrNode: number | HTMLDivElement | Descendant<HTMLDivElement, {}> | null, loop?: boolean) => Descendant<HTMLDivElement, {}> | undefined;
|
|
127
127
|
register: (props?: {
|
|
128
128
|
disabled?: boolean | ((node: HTMLDivElement) => boolean) | undefined;
|
|
129
|
-
} | undefined) =>
|
|
129
|
+
} | undefined) => react73.RefCallback<HTMLDivElement>;
|
|
130
130
|
unregister: (node?: HTMLDivElement | null | undefined) => void;
|
|
131
131
|
value: (indexOrNode: number | HTMLDivElement | null) => Descendant<HTMLDivElement, {}> | undefined;
|
|
132
132
|
values: () => Descendant<HTMLDivElement, {}>[];
|
|
133
133
|
};
|
|
134
|
-
register:
|
|
134
|
+
register: react73.RefCallback<HTMLDivElement>;
|
|
135
135
|
}, useTabPanelDescendants: () => {
|
|
136
136
|
active: (target?: HTMLDivElement | Descendant<HTMLDivElement, {}> | null | undefined, options?: FocusOptions) => void;
|
|
137
137
|
count: () => number;
|
|
@@ -151,13 +151,13 @@ declare const TabPanelDescendantsContext: react947.Context<{
|
|
|
151
151
|
prevValue: (indexOrNode: number | HTMLDivElement | Descendant<HTMLDivElement, {}> | null, loop?: boolean) => Descendant<HTMLDivElement, {}> | undefined;
|
|
152
152
|
register: (props?: {
|
|
153
153
|
disabled?: boolean | ((node: HTMLDivElement) => boolean) | undefined;
|
|
154
|
-
} | undefined) =>
|
|
154
|
+
} | undefined) => react73.RefCallback<HTMLDivElement>;
|
|
155
155
|
unregister: (node?: HTMLDivElement | null | undefined) => void;
|
|
156
156
|
value: (indexOrNode: number | HTMLDivElement | null) => Descendant<HTMLDivElement, {}> | undefined;
|
|
157
157
|
values: () => Descendant<HTMLDivElement, {}>[];
|
|
158
158
|
};
|
|
159
159
|
interface TabsContext extends Omit<UseTabsReturn, "getRootProps" | "tabDescendants" | "tabPanelDescendants"> {}
|
|
160
|
-
declare const TabsContext:
|
|
160
|
+
declare const TabsContext: react73.Context<TabsContext>, useTabsContext: () => TabsContext;
|
|
161
161
|
interface UseTabsProps extends Omit<HTMLProps, "onChange"> {
|
|
162
162
|
/**
|
|
163
163
|
* The index of the selected tab.
|
|
@@ -200,8 +200,8 @@ declare const useTabs: ({
|
|
|
200
200
|
index: number;
|
|
201
201
|
manual: boolean;
|
|
202
202
|
orientation: Orientation;
|
|
203
|
-
setFocusedIndex:
|
|
204
|
-
setIndex:
|
|
203
|
+
setFocusedIndex: react73.Dispatch<react73.SetStateAction<number>>;
|
|
204
|
+
setIndex: react73.Dispatch<react73.SetStateAction<number>>;
|
|
205
205
|
tabDescendants: {
|
|
206
206
|
active: (target?: HTMLButtonElement | Descendant<HTMLButtonElement, {}> | null | undefined, options?: FocusOptions) => void;
|
|
207
207
|
count: () => number;
|
|
@@ -221,7 +221,7 @@ declare const useTabs: ({
|
|
|
221
221
|
prevValue: (indexOrNode: number | HTMLButtonElement | Descendant<HTMLButtonElement, {}> | null, loop?: boolean) => Descendant<HTMLButtonElement, {}> | undefined;
|
|
222
222
|
register: (props?: {
|
|
223
223
|
disabled?: boolean | ((node: HTMLButtonElement) => boolean) | undefined;
|
|
224
|
-
} | undefined) =>
|
|
224
|
+
} | undefined) => react73.RefCallback<HTMLButtonElement>;
|
|
225
225
|
unregister: (node?: HTMLButtonElement | null | undefined) => void;
|
|
226
226
|
value: (indexOrNode: number | HTMLButtonElement | null) => Descendant<HTMLButtonElement, {}> | undefined;
|
|
227
227
|
values: () => Descendant<HTMLButtonElement, {}>[];
|
|
@@ -245,7 +245,7 @@ declare const useTabs: ({
|
|
|
245
245
|
prevValue: (indexOrNode: number | HTMLDivElement | Descendant<HTMLDivElement, {}> | null, loop?: boolean) => Descendant<HTMLDivElement, {}> | undefined;
|
|
246
246
|
register: (props?: {
|
|
247
247
|
disabled?: boolean | ((node: HTMLDivElement) => boolean) | undefined;
|
|
248
|
-
} | undefined) =>
|
|
248
|
+
} | undefined) => react73.RefCallback<HTMLDivElement>;
|
|
249
249
|
unregister: (node?: HTMLDivElement | null | undefined) => void;
|
|
250
250
|
value: (indexOrNode: number | HTMLDivElement | null) => Descendant<HTMLDivElement, {}> | undefined;
|
|
251
251
|
values: () => Descendant<HTMLDivElement, {}>[];
|
|
@@ -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 react72 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: react72.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
|
*
|
|
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.types.js";
|
|
|
2
2
|
import "../../index.js";
|
|
3
3
|
|
|
4
4
|
//#region src/components/tag/tag.style.d.ts
|
|
5
|
-
declare const tagStyle: ComponentSlotStyle<"content" | "icon" | "
|
|
5
|
+
declare const tagStyle: ComponentSlotStyle<"content" | "icon" | "closeButton" | "root" | "endIcon" | "startIcon", {
|
|
6
6
|
/**
|
|
7
7
|
* If `true`, the tag is full rounded. Else, it'll be slightly round.
|
|
8
8
|
*
|
|
@@ -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 react71 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: react71.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
|
*
|
|
@@ -2,15 +2,17 @@ import { ThemeProps } from "../../core/system/index.types.js";
|
|
|
2
2
|
import { Component, 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";
|
|
5
6
|
import { UseInputBorderProps } from "../input/use-input-border.js";
|
|
7
|
+
import "../input/index.js";
|
|
6
8
|
import { TextareaStyle } from "./textarea.style.js";
|
|
7
9
|
import { UseTextareaProps } from "./use-textarea.js";
|
|
8
10
|
import "../../index.js";
|
|
9
|
-
import * as
|
|
11
|
+
import * as react68 from "react";
|
|
10
12
|
|
|
11
13
|
//#region src/components/textarea/textarea.d.ts
|
|
12
14
|
interface TextareaProps extends HTMLStyledProps<"textarea">, ThemeProps<TextareaStyle>, UseInputBorderProps, FieldProps, UseTextareaProps {}
|
|
13
|
-
declare const TextareaPropsContext:
|
|
15
|
+
declare const TextareaPropsContext: react68.Context<Partial<TextareaProps> | undefined>, useTextareaPropsContext: () => Partial<TextareaProps> | undefined;
|
|
14
16
|
/**
|
|
15
17
|
* `Textarea` is a component used to obtain multi-line text input.
|
|
16
18
|
*
|