@yamada-ui/react 2.1.8-dev-20260407030626 → 2.1.8-dev-20260407054700
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/input/input.style.cjs +4 -4
- package/dist/cjs/components/input/input.style.cjs.map +1 -1
- package/dist/esm/components/input/input.style.js +4 -4
- package/dist/esm/components/input/input.style.js.map +1 -1
- 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 +52 -52
- package/dist/types/components/autocomplete/use-autocomplete.d.ts +7 -5
- 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 +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/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/cartesian-chart.style.d.ts +1 -1
- package/dist/types/components/chart/chart.d.ts +5 -5
- package/dist/types/components/chart/pie-chart.d.ts +2 -2
- package/dist/types/components/chart/polar-chart.style.d.ts +1 -1
- package/dist/types/components/chart/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 +6 -5
- package/dist/types/components/checkbox/checkbox.style.d.ts +1 -1
- 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 +51 -51
- 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/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/date-picker.style.d.ts +51 -51
- 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/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 +31 -31
- 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 +5 -4
- 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-addon.style.d.ts +30 -30
- 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/input/input.style.d.ts +37 -37
- 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/use-menu.d.ts +11 -11
- package/dist/types/components/modal/modal.d.ts +6 -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/native-select.style.d.ts +51 -51
- 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/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 +61 -61
- 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/password-input.style.d.ts +61 -61
- package/dist/types/components/password-input/strength-meter.d.ts +2 -2
- package/dist/types/components/password-input/strength-meter.style.d.ts +1 -1
- 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 +6 -5
- package/dist/types/components/radio/radio.style.d.ts +1 -1
- 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 +52 -52
- 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/status/status.style.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/textarea.style.d.ts +30 -30
- 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 +5 -3
- 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 -9
- package/dist/types/core/components/index.types.d.ts +0 -1
- package/dist/types/core/components/use-component-style.d.ts +0 -2
- package/dist/types/core/components/utils.d.ts +0 -1
- package/dist/types/core/constant.d.ts +0 -1
- package/dist/types/core/css/calc.d.ts +0 -1
- package/dist/types/core/css/config.d.ts +0 -1
- package/dist/types/core/css/css.d.ts +0 -1
- package/dist/types/core/css/index.types.d.ts +0 -1
- package/dist/types/core/css/styles.d.ts +0 -1
- package/dist/types/core/css/token.d.ts +0 -1
- package/dist/types/core/css/use-css.d.ts +0 -1
- package/dist/types/core/css/utils.d.ts +0 -2
- package/dist/types/core/generated-theme-tokens.types.d.ts +0 -1
- package/dist/types/core/index.d.ts +0 -2
- package/dist/types/core/system/color-mode-provider.d.ts +2 -2
- package/dist/types/core/system/config.d.ts +0 -1
- package/dist/types/core/system/create-system.d.ts +0 -1
- package/dist/types/core/system/factory.d.ts +0 -1
- package/dist/types/core/system/index.types.d.ts +0 -1
- package/dist/types/core/system/storage-script.d.ts +3 -3
- package/dist/types/core/system/styled.d.ts +2 -3
- package/dist/types/core/system/system-provider.d.ts +2 -2
- package/dist/types/core/system/var.d.ts +0 -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/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/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 +3 -2
- package/dist/types/utils/children.d.ts +2 -2
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.types.js";
|
|
|
2
2
|
import "../../index.js";
|
|
3
3
|
|
|
4
4
|
//#region src/components/select/select.style.d.ts
|
|
5
|
-
declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "group" | "separator" | "icon" | "
|
|
5
|
+
declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "group" | "separator" | "icon" | "indicator" | "root" | "field" | "valueText", {
|
|
6
6
|
/**
|
|
7
7
|
* If `true`, wrap the value text.
|
|
8
8
|
*
|
|
@@ -46,7 +46,7 @@ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
|
46
46
|
} | undefined;
|
|
47
47
|
field?: {
|
|
48
48
|
fontSize: "1em";
|
|
49
|
-
"&:has(
|
|
49
|
+
"&:has(~ [data-input-element])"?: {
|
|
50
50
|
pe: string | undefined;
|
|
51
51
|
} | {
|
|
52
52
|
[x: string]: {
|
|
@@ -57,16 +57,16 @@ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
|
57
57
|
minW: string | undefined;
|
|
58
58
|
} | undefined;
|
|
59
59
|
"--height"?: string | undefined;
|
|
60
|
-
"[data-input-element]
|
|
60
|
+
"[data-input-element]:has(~ &)"?: {
|
|
61
|
+
minW: string | undefined;
|
|
62
|
+
} | undefined;
|
|
63
|
+
"[data-input-element] ~ &"?: {
|
|
61
64
|
ps: string | undefined;
|
|
62
65
|
} | {
|
|
63
66
|
[x: string]: {
|
|
64
67
|
ps: string | undefined;
|
|
65
68
|
};
|
|
66
69
|
} | undefined;
|
|
67
|
-
"[data-input-element]:has(~ &)"?: {
|
|
68
|
-
minW: string | undefined;
|
|
69
|
-
} | undefined;
|
|
70
70
|
minH?: string | undefined;
|
|
71
71
|
"--space-x"?: "spaces.2" | undefined;
|
|
72
72
|
"--space-y"?: "spaces.1.5" | undefined;
|
|
@@ -74,7 +74,7 @@ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
|
74
74
|
} | undefined;
|
|
75
75
|
root?: {
|
|
76
76
|
fontSize: "xs" | undefined;
|
|
77
|
-
"&:has(
|
|
77
|
+
"&:has(~ [data-input-element])": {
|
|
78
78
|
pe: string | undefined;
|
|
79
79
|
} | {
|
|
80
80
|
[x: string]: {
|
|
@@ -85,16 +85,16 @@ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
|
85
85
|
minW: string | undefined;
|
|
86
86
|
};
|
|
87
87
|
"--height": string | undefined;
|
|
88
|
-
"[data-input-element]
|
|
88
|
+
"[data-input-element]:has(~ &)": {
|
|
89
|
+
minW: string | undefined;
|
|
90
|
+
};
|
|
91
|
+
"[data-input-element] ~ &": {
|
|
89
92
|
ps: string | undefined;
|
|
90
93
|
} | {
|
|
91
94
|
[x: string]: {
|
|
92
95
|
ps: string | undefined;
|
|
93
96
|
};
|
|
94
97
|
};
|
|
95
|
-
"[data-input-element]:has(~ &)": {
|
|
96
|
-
minW: string | undefined;
|
|
97
|
-
};
|
|
98
98
|
minH: string | undefined;
|
|
99
99
|
} | undefined;
|
|
100
100
|
};
|
|
@@ -118,7 +118,7 @@ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
|
118
118
|
} | undefined;
|
|
119
119
|
field?: {
|
|
120
120
|
fontSize: "1em";
|
|
121
|
-
"&:has(
|
|
121
|
+
"&:has(~ [data-input-element])"?: {
|
|
122
122
|
pe: string | undefined;
|
|
123
123
|
} | {
|
|
124
124
|
[x: string]: {
|
|
@@ -129,16 +129,16 @@ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
|
129
129
|
minW: string | undefined;
|
|
130
130
|
} | undefined;
|
|
131
131
|
"--height"?: string | undefined;
|
|
132
|
-
"[data-input-element]
|
|
132
|
+
"[data-input-element]:has(~ &)"?: {
|
|
133
|
+
minW: string | undefined;
|
|
134
|
+
} | undefined;
|
|
135
|
+
"[data-input-element] ~ &"?: {
|
|
133
136
|
ps: string | undefined;
|
|
134
137
|
} | {
|
|
135
138
|
[x: string]: {
|
|
136
139
|
ps: string | undefined;
|
|
137
140
|
};
|
|
138
141
|
} | undefined;
|
|
139
|
-
"[data-input-element]:has(~ &)"?: {
|
|
140
|
-
minW: string | undefined;
|
|
141
|
-
} | undefined;
|
|
142
142
|
minH?: string | undefined;
|
|
143
143
|
"--space-x"?: "spaces.2.5" | undefined;
|
|
144
144
|
"--space-y"?: "spaces.2" | undefined;
|
|
@@ -146,7 +146,7 @@ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
|
146
146
|
} | undefined;
|
|
147
147
|
root?: {
|
|
148
148
|
fontSize: "sm" | undefined;
|
|
149
|
-
"&:has(
|
|
149
|
+
"&:has(~ [data-input-element])": {
|
|
150
150
|
pe: string | undefined;
|
|
151
151
|
} | {
|
|
152
152
|
[x: string]: {
|
|
@@ -157,16 +157,16 @@ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
|
157
157
|
minW: string | undefined;
|
|
158
158
|
};
|
|
159
159
|
"--height": string | undefined;
|
|
160
|
-
"[data-input-element]
|
|
160
|
+
"[data-input-element]:has(~ &)": {
|
|
161
|
+
minW: string | undefined;
|
|
162
|
+
};
|
|
163
|
+
"[data-input-element] ~ &": {
|
|
161
164
|
ps: string | undefined;
|
|
162
165
|
} | {
|
|
163
166
|
[x: string]: {
|
|
164
167
|
ps: string | undefined;
|
|
165
168
|
};
|
|
166
169
|
};
|
|
167
|
-
"[data-input-element]:has(~ &)": {
|
|
168
|
-
minW: string | undefined;
|
|
169
|
-
};
|
|
170
170
|
minH: string | undefined;
|
|
171
171
|
} | undefined;
|
|
172
172
|
};
|
|
@@ -190,7 +190,7 @@ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
|
190
190
|
} | undefined;
|
|
191
191
|
field?: {
|
|
192
192
|
fontSize: "1em";
|
|
193
|
-
"&:has(
|
|
193
|
+
"&:has(~ [data-input-element])"?: {
|
|
194
194
|
pe: string | undefined;
|
|
195
195
|
} | {
|
|
196
196
|
[x: string]: {
|
|
@@ -201,16 +201,16 @@ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
|
201
201
|
minW: string | undefined;
|
|
202
202
|
} | undefined;
|
|
203
203
|
"--height"?: string | undefined;
|
|
204
|
-
"[data-input-element]
|
|
204
|
+
"[data-input-element]:has(~ &)"?: {
|
|
205
|
+
minW: string | undefined;
|
|
206
|
+
} | undefined;
|
|
207
|
+
"[data-input-element] ~ &"?: {
|
|
205
208
|
ps: string | undefined;
|
|
206
209
|
} | {
|
|
207
210
|
[x: string]: {
|
|
208
211
|
ps: string | undefined;
|
|
209
212
|
};
|
|
210
213
|
} | undefined;
|
|
211
|
-
"[data-input-element]:has(~ &)"?: {
|
|
212
|
-
minW: string | undefined;
|
|
213
|
-
} | undefined;
|
|
214
214
|
minH?: string | undefined;
|
|
215
215
|
"--space-x"?: "spaces.3" | undefined;
|
|
216
216
|
"--space-y"?: "spaces.2" | undefined;
|
|
@@ -218,7 +218,7 @@ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
|
218
218
|
} | undefined;
|
|
219
219
|
root?: {
|
|
220
220
|
fontSize: "md" | undefined;
|
|
221
|
-
"&:has(
|
|
221
|
+
"&:has(~ [data-input-element])": {
|
|
222
222
|
pe: string | undefined;
|
|
223
223
|
} | {
|
|
224
224
|
[x: string]: {
|
|
@@ -229,16 +229,16 @@ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
|
229
229
|
minW: string | undefined;
|
|
230
230
|
};
|
|
231
231
|
"--height": string | undefined;
|
|
232
|
-
"[data-input-element]
|
|
232
|
+
"[data-input-element]:has(~ &)": {
|
|
233
|
+
minW: string | undefined;
|
|
234
|
+
};
|
|
235
|
+
"[data-input-element] ~ &": {
|
|
233
236
|
ps: string | undefined;
|
|
234
237
|
} | {
|
|
235
238
|
[x: string]: {
|
|
236
239
|
ps: string | undefined;
|
|
237
240
|
};
|
|
238
241
|
};
|
|
239
|
-
"[data-input-element]:has(~ &)": {
|
|
240
|
-
minW: string | undefined;
|
|
241
|
-
};
|
|
242
242
|
minH: string | undefined;
|
|
243
243
|
} | undefined;
|
|
244
244
|
};
|
|
@@ -262,7 +262,7 @@ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
|
262
262
|
} | undefined;
|
|
263
263
|
field?: {
|
|
264
264
|
fontSize: "1em";
|
|
265
|
-
"&:has(
|
|
265
|
+
"&:has(~ [data-input-element])"?: {
|
|
266
266
|
pe: string | undefined;
|
|
267
267
|
} | {
|
|
268
268
|
[x: string]: {
|
|
@@ -273,16 +273,16 @@ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
|
273
273
|
minW: string | undefined;
|
|
274
274
|
} | undefined;
|
|
275
275
|
"--height"?: string | undefined;
|
|
276
|
-
"[data-input-element]
|
|
276
|
+
"[data-input-element]:has(~ &)"?: {
|
|
277
|
+
minW: string | undefined;
|
|
278
|
+
} | undefined;
|
|
279
|
+
"[data-input-element] ~ &"?: {
|
|
277
280
|
ps: string | undefined;
|
|
278
281
|
} | {
|
|
279
282
|
[x: string]: {
|
|
280
283
|
ps: string | undefined;
|
|
281
284
|
};
|
|
282
285
|
} | undefined;
|
|
283
|
-
"[data-input-element]:has(~ &)"?: {
|
|
284
|
-
minW: string | undefined;
|
|
285
|
-
} | undefined;
|
|
286
286
|
minH?: string | undefined;
|
|
287
287
|
"--space-x"?: "spaces.3.5" | undefined;
|
|
288
288
|
"--space-y"?: "spaces.2.5" | undefined;
|
|
@@ -290,7 +290,7 @@ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
|
290
290
|
} | undefined;
|
|
291
291
|
root?: {
|
|
292
292
|
fontSize: "lg" | undefined;
|
|
293
|
-
"&:has(
|
|
293
|
+
"&:has(~ [data-input-element])": {
|
|
294
294
|
pe: string | undefined;
|
|
295
295
|
} | {
|
|
296
296
|
[x: string]: {
|
|
@@ -301,16 +301,16 @@ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
|
301
301
|
minW: string | undefined;
|
|
302
302
|
};
|
|
303
303
|
"--height": string | undefined;
|
|
304
|
-
"[data-input-element]
|
|
304
|
+
"[data-input-element]:has(~ &)": {
|
|
305
|
+
minW: string | undefined;
|
|
306
|
+
};
|
|
307
|
+
"[data-input-element] ~ &": {
|
|
305
308
|
ps: string | undefined;
|
|
306
309
|
} | {
|
|
307
310
|
[x: string]: {
|
|
308
311
|
ps: string | undefined;
|
|
309
312
|
};
|
|
310
313
|
};
|
|
311
|
-
"[data-input-element]:has(~ &)": {
|
|
312
|
-
minW: string | undefined;
|
|
313
|
-
};
|
|
314
314
|
minH: string | undefined;
|
|
315
315
|
} | undefined;
|
|
316
316
|
};
|
|
@@ -334,7 +334,7 @@ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
|
334
334
|
} | undefined;
|
|
335
335
|
field?: {
|
|
336
336
|
fontSize: "1em";
|
|
337
|
-
"&:has(
|
|
337
|
+
"&:has(~ [data-input-element])"?: {
|
|
338
338
|
pe: string | undefined;
|
|
339
339
|
} | {
|
|
340
340
|
[x: string]: {
|
|
@@ -345,16 +345,16 @@ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
|
345
345
|
minW: string | undefined;
|
|
346
346
|
} | undefined;
|
|
347
347
|
"--height"?: string | undefined;
|
|
348
|
-
"[data-input-element]
|
|
348
|
+
"[data-input-element]:has(~ &)"?: {
|
|
349
|
+
minW: string | undefined;
|
|
350
|
+
} | undefined;
|
|
351
|
+
"[data-input-element] ~ &"?: {
|
|
349
352
|
ps: string | undefined;
|
|
350
353
|
} | {
|
|
351
354
|
[x: string]: {
|
|
352
355
|
ps: string | undefined;
|
|
353
356
|
};
|
|
354
357
|
} | undefined;
|
|
355
|
-
"[data-input-element]:has(~ &)"?: {
|
|
356
|
-
minW: string | undefined;
|
|
357
|
-
} | undefined;
|
|
358
358
|
minH?: string | undefined;
|
|
359
359
|
"--space-x"?: "spaces.4" | undefined;
|
|
360
360
|
"--space-y"?: "spaces.3" | undefined;
|
|
@@ -362,7 +362,7 @@ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
|
362
362
|
} | undefined;
|
|
363
363
|
root?: {
|
|
364
364
|
fontSize: "xl" | undefined;
|
|
365
|
-
"&:has(
|
|
365
|
+
"&:has(~ [data-input-element])": {
|
|
366
366
|
pe: string | undefined;
|
|
367
367
|
} | {
|
|
368
368
|
[x: string]: {
|
|
@@ -373,16 +373,16 @@ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
|
373
373
|
minW: string | undefined;
|
|
374
374
|
};
|
|
375
375
|
"--height": string | undefined;
|
|
376
|
-
"[data-input-element]
|
|
376
|
+
"[data-input-element]:has(~ &)": {
|
|
377
|
+
minW: string | undefined;
|
|
378
|
+
};
|
|
379
|
+
"[data-input-element] ~ &": {
|
|
377
380
|
ps: string | undefined;
|
|
378
381
|
} | {
|
|
379
382
|
[x: string]: {
|
|
380
383
|
ps: string | undefined;
|
|
381
384
|
};
|
|
382
385
|
};
|
|
383
|
-
"[data-input-element]:has(~ &)": {
|
|
384
|
-
minW: string | undefined;
|
|
385
|
-
};
|
|
386
386
|
minH: string | undefined;
|
|
387
387
|
} | undefined;
|
|
388
388
|
};
|
|
@@ -456,7 +456,7 @@ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "
|
|
|
456
456
|
};
|
|
457
457
|
};
|
|
458
458
|
root?: {
|
|
459
|
-
"&:not([data-input-element]
|
|
459
|
+
"&:not([data-input-element] ~ &)": {
|
|
460
460
|
ps: "0px";
|
|
461
461
|
} | {
|
|
462
462
|
[x: string]: {
|
|
@@ -1,11 +1,13 @@
|
|
|
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";
|
|
4
5
|
import { Descendant, DescendantProps } from "../../hooks/use-descendants/index.js";
|
|
5
6
|
import { UsePopoverProps } from "../popover/use-popover.js";
|
|
7
|
+
import "../popover/index.js";
|
|
6
8
|
import { ComboboxDescendant, ComboboxDescendantProps, ComboboxItem, ComboboxItemWithValue, UseComboboxItemProps, UseComboboxProps } from "../../hooks/use-combobox/index.js";
|
|
7
9
|
import "../../index.js";
|
|
8
|
-
import * as
|
|
10
|
+
import * as react108 from "react";
|
|
9
11
|
import { ReactNode } from "react";
|
|
10
12
|
|
|
11
13
|
//#region src/components/select/use-select.d.ts
|
|
@@ -19,7 +21,7 @@ interface SelectItemRender {
|
|
|
19
21
|
(props: SelectRenderProps): ReactNode;
|
|
20
22
|
}
|
|
21
23
|
interface SelectContext extends Pick<UseSelectReturn, "max" | "value"> {}
|
|
22
|
-
declare const SelectContext:
|
|
24
|
+
declare const SelectContext: react108.Context<SelectContext>, useSelectContext: () => SelectContext;
|
|
23
25
|
interface UseSelectProps<Multiple extends boolean = false> extends Omit<HTMLProps, "defaultValue" | "onChange" | "value">, Omit<UseComboboxProps, "defaultValue" | "initialFocusValue" | "onChange" | "value">, FieldProps {
|
|
24
26
|
/**
|
|
25
27
|
* The initial value of the select.
|
|
@@ -102,7 +104,7 @@ declare const useSelect: <Multiple extends boolean = false>(props?: UseSelectPro
|
|
|
102
104
|
lastValue: (props?: Partial<ComboboxDescendantProps> | undefined) => Descendant<HTMLDivElement, ComboboxDescendantProps> | undefined;
|
|
103
105
|
nextValue: (indexOrNode: number | HTMLDivElement | Descendant<HTMLDivElement, ComboboxDescendantProps> | null, loop?: boolean, props?: Partial<ComboboxDescendantProps> | undefined) => Descendant<HTMLDivElement, ComboboxDescendantProps> | undefined;
|
|
104
106
|
prevValue: (indexOrNode: number | HTMLDivElement | Descendant<HTMLDivElement, ComboboxDescendantProps> | null, loop?: boolean, props?: Partial<ComboboxDescendantProps> | undefined) => Descendant<HTMLDivElement, ComboboxDescendantProps> | undefined;
|
|
105
|
-
register: (props?: DescendantProps<HTMLDivElement, ComboboxDescendantProps> | undefined) =>
|
|
107
|
+
register: (props?: DescendantProps<HTMLDivElement, ComboboxDescendantProps> | undefined) => react108.RefCallback<HTMLDivElement>;
|
|
106
108
|
unregister: (node?: HTMLDivElement | null | undefined) => void;
|
|
107
109
|
value: (indexOrNode: number | HTMLDivElement | null) => Descendant<HTMLDivElement, ComboboxDescendantProps> | undefined;
|
|
108
110
|
values: (props?: Partial<ComboboxDescendantProps> | undefined) => Descendant<HTMLDivElement, ComboboxDescendantProps>[];
|
|
@@ -113,7 +115,7 @@ declare const useSelect: <Multiple extends boolean = false>(props?: UseSelectPro
|
|
|
113
115
|
max: number | undefined;
|
|
114
116
|
open: boolean;
|
|
115
117
|
placeholder: string | undefined;
|
|
116
|
-
setValue:
|
|
118
|
+
setValue: react108.Dispatch<react108.SetStateAction<Multiple extends true ? string[] : string>>;
|
|
117
119
|
value: Multiple extends true ? string[] : string;
|
|
118
120
|
valueMap: {
|
|
119
121
|
[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 react107 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: react107.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,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 react106 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: react106.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 react57 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: react57.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 react82 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: react82.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 react105 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: react105.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 react104 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: react104.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 react102 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: react102.Dispatch<react102.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 react1024 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: react1024.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 react1027 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: react1027.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 react1026 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: react1026.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 react1025 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: react1025.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 react100 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: react100.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 react1021 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: react1021.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
|
*
|
|
@@ -3,7 +3,7 @@ import { CSSModifierObject, CSSPropObject, CSSSlotObject } from "../../core/css/
|
|
|
3
3
|
import "../../index.js";
|
|
4
4
|
|
|
5
5
|
//#region src/components/status/status.style.d.ts
|
|
6
|
-
declare const statusStyle: ComponentSlotStyle<"label" | "
|
|
6
|
+
declare const statusStyle: ComponentSlotStyle<"label" | "indicator" | "root", CSSPropObject<CSSSlotObject<"label" | "indicator" | "root">>, {
|
|
7
7
|
sm: {
|
|
8
8
|
indicator: {
|
|
9
9
|
boxSize: "2";
|
|
@@ -28,7 +28,7 @@ declare const statusStyle: ComponentSlotStyle<"label" | "root" | "indicator", CS
|
|
|
28
28
|
fontSize: "lg";
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
|
-
}, CSSModifierObject<CSSSlotObject<"label" | "
|
|
31
|
+
}, CSSModifierObject<CSSSlotObject<"label" | "indicator" | "root">>>;
|
|
32
32
|
type StatusStyle = typeof statusStyle;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { StatusStyle, statusStyle };
|