@yamada-ui/react 2.1.4-dev-20260323160112 → 2.1.4-dev-20260323173341
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/menu/menu.style.cjs +1 -1
- package/dist/cjs/components/menu/menu.style.cjs.map +1 -1
- package/dist/cjs/core/css/conditions.cjs +4 -0
- package/dist/cjs/core/css/conditions.cjs.map +1 -1
- package/dist/cjs/theme/semantic-tokens/colors.cjs +1 -1
- package/dist/cjs/theme/semantic-tokens/colors.cjs.map +1 -1
- package/dist/esm/components/menu/menu.style.js +1 -1
- package/dist/esm/components/menu/menu.style.js.map +1 -1
- package/dist/esm/core/css/conditions.js +4 -0
- package/dist/esm/core/css/conditions.js.map +1 -1
- package/dist/esm/theme/semantic-tokens/colors.js +1 -1
- package/dist/esm/theme/semantic-tokens/colors.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/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/composed-chart.d.ts +2 -2
- package/dist/types/components/chart/donut-chart.d.ts +2 -2
- package/dist/types/components/chart/line-chart.d.ts +2 -2
- package/dist/types/components/chart/pie-chart.d.ts +2 -2
- package/dist/types/components/chart/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 +5 -4
- 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/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/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 +7 -4
- 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/field.style.d.ts +2 -2
- 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/fieldset/fieldset.style.d.ts +1 -1
- 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/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/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/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/use-segmented-control.d.ts +10 -9
- package/dist/types/components/select/select.d.ts +4 -2
- 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 -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/conditions.d.ts +35 -3
- 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-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/hooks/use-popper/index.d.ts +2 -2
- package/dist/types/hooks/use-resize-observer/index.d.ts +3 -3
- package/dist/types/index.d.ts +103 -0
- package/dist/types/providers/i18n-provider/i18n-provider.d.ts +3 -3
- package/dist/types/providers/ui-provider/ui-provider.d.ts +5 -4
- package/dist/types/theme/index.d.ts +1 -1
- package/dist/types/theme/semantic-tokens/index.d.ts +1 -1
- package/dist/types/utils/children.d.ts +2 -2
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@ import { CSSModifierObject, CSSSlotObject } from "../../core/css/index.types.js"
|
|
|
3
3
|
import "../../index.js";
|
|
4
4
|
|
|
5
5
|
//#region src/components/timeline/timeline.style.d.ts
|
|
6
|
-
declare const timelineStyle: ComponentSlotStyle<"title" | "content" | "root" | "
|
|
6
|
+
declare const timelineStyle: ComponentSlotStyle<"title" | "content" | "root" | "description" | "indicator" | "item" | "connector", {
|
|
7
7
|
/**
|
|
8
8
|
* The alignment of the timeline.
|
|
9
9
|
*
|
|
@@ -169,7 +169,7 @@ declare const timelineStyle: ComponentSlotStyle<"title" | "content" | "root" | "
|
|
|
169
169
|
fontSize: "lg";
|
|
170
170
|
};
|
|
171
171
|
};
|
|
172
|
-
}, CSSModifierObject<CSSSlotObject<"title" | "content" | "root" | "
|
|
172
|
+
}, CSSModifierObject<CSSSlotObject<"title" | "content" | "root" | "description" | "indicator" | "item" | "connector">>>;
|
|
173
173
|
type TimelineStyle = typeof timelineStyle;
|
|
174
174
|
//#endregion
|
|
175
175
|
export { TimelineStyle, timelineStyle };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { WithoutThemeProps } from "../../core/system/index.types.js";
|
|
2
2
|
import "../../core/index.js";
|
|
3
3
|
import { StatusScheme } from "../status/status.js";
|
|
4
|
+
import "../status/index.js";
|
|
4
5
|
import { IconButtonProps } from "../button/icon-button.js";
|
|
6
|
+
import "../button/index.js";
|
|
5
7
|
import { TooltipStyle } from "../tooltip/tooltip.style.js";
|
|
6
8
|
import { TooltipProps } from "../tooltip/tooltip.js";
|
|
7
9
|
import "../tooltip/index.js";
|
|
@@ -2,12 +2,12 @@ import { ThemeProps, WithoutThemeProps } from "../../core/system/index.types.js"
|
|
|
2
2
|
import { GenericsComponent } from "../../core/components/index.types.js";
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import { GroupProps } from "../group/group.js";
|
|
5
|
+
import "../group/index.js";
|
|
5
6
|
import { ToggleStyle } from "./toggle.style.js";
|
|
6
7
|
import { UseToggleGroupProps } from "./use-toggle-group.js";
|
|
7
8
|
import { ReactElement } from "react";
|
|
8
9
|
|
|
9
10
|
//#region src/components/toggle/toggle-group.d.ts
|
|
10
|
-
|
|
11
11
|
/**
|
|
12
12
|
* `ToggleGroup` is a set of two-state buttons that can be toggled on or off.
|
|
13
13
|
*
|
|
@@ -4,17 +4,19 @@ import { As, Component, GenericsComponent } from "../../core/components/index.ty
|
|
|
4
4
|
import { ComponentOptions, ComponentSlot, ComponentSlotName, InitialProps, SuperProps, UseComponentPropsOptions } from "../../core/components/create-component.js";
|
|
5
5
|
import "../../core/index.js";
|
|
6
6
|
import { UseInputBorderProps } from "../input/use-input-border.js";
|
|
7
|
+
import "../input/index.js";
|
|
7
8
|
import { IconButtonProps } from "../button/icon-button.js";
|
|
9
|
+
import "../button/index.js";
|
|
8
10
|
import { ToggleStyle } from "./toggle.style.js";
|
|
9
11
|
import { UseToggleProps } from "./use-toggle.js";
|
|
10
12
|
import "../../index.js";
|
|
11
|
-
import * as
|
|
13
|
+
import * as react961 from "react";
|
|
12
14
|
import { ReactElement } from "react";
|
|
13
|
-
import * as
|
|
15
|
+
import * as _yamada_ui_utils24 from "@yamada-ui/utils";
|
|
14
16
|
|
|
15
17
|
//#region src/components/toggle/toggle.d.ts
|
|
16
18
|
interface ToggleProps<Y extends string = string> extends Omit<WithoutThemeProps<IconButtonProps, ToggleStyle>, "aria-label" | "onChange" | "ref" | "value">, UseToggleProps<Y>, Pick<UseInputBorderProps, "errorBorderColor">, ThemeProps<ToggleStyle> {}
|
|
17
|
-
declare const component: <H extends "fragment" | As = "div", R extends
|
|
19
|
+
declare const component: <H extends "fragment" | As = "div", R extends _yamada_ui_utils24.Dict = _yamada_ui_utils24.Dict<any>>(el: H | react961.FC<R>, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"group" | "root", {
|
|
18
20
|
fullRounded: {
|
|
19
21
|
true: {
|
|
20
22
|
root: {
|
|
@@ -173,7 +175,7 @@ declare const component: <H extends "fragment" | As = "div", R extends _yamada_u
|
|
|
173
175
|
name,
|
|
174
176
|
className,
|
|
175
177
|
...options
|
|
176
|
-
}?: ComponentOptions) => (initialProps?: InitialProps<R>, ...superProps: SuperProps<R>[]) => H extends "fragment" ?
|
|
178
|
+
}?: ComponentOptions) => (initialProps?: InitialProps<R>, ...superProps: SuperProps<R>[]) => H extends "fragment" ? react961.FunctionComponent<R> : Component<Exclude<H, "fragment">, R>, TogglePropsContext: react961.Context<Partial<ToggleProps<string>> | undefined>, useTogglePropsContext: () => Partial<ToggleProps<string>> | undefined, useRootComponentProps: <Y extends _yamada_ui_utils24.Dict = _yamada_ui_utils24.Dict<any>, R extends keyof Y = keyof Y>(props: Y, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"group" | "root", {
|
|
177
179
|
fullRounded: {
|
|
178
180
|
true: {
|
|
179
181
|
root: {
|
|
@@ -332,7 +334,7 @@ declare const component: <H extends "fragment" | As = "div", R extends _yamada_u
|
|
|
332
334
|
className,
|
|
333
335
|
withContext,
|
|
334
336
|
transferProps
|
|
335
|
-
}?: UseComponentPropsOptions<R>) => [CSSSlotObject,
|
|
337
|
+
}?: UseComponentPropsOptions<R>) => [CSSSlotObject, _yamada_ui_utils24.Merge<WithoutThemeProps<Y, ComponentSlotStyle<"group" | "root", {
|
|
336
338
|
fullRounded: {
|
|
337
339
|
true: {
|
|
338
340
|
root: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLProps, PropGetter } from "../../core/components/index.types.js";
|
|
2
2
|
import "../../core/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react966 from "react";
|
|
4
4
|
import { RefObject } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toggle/use-toggle-group.d.ts
|
|
@@ -11,7 +11,7 @@ interface ToggleGroupContext {
|
|
|
11
11
|
value?: string | string[];
|
|
12
12
|
onChange?: <Y extends string = string>(value: undefined | Y) => void;
|
|
13
13
|
}
|
|
14
|
-
declare const ToggleGroupContext:
|
|
14
|
+
declare const ToggleGroupContext: react966.Context<ToggleGroupContext | undefined>, useToggleGroupContext: () => ToggleGroupContext | undefined;
|
|
15
15
|
interface UseToggleGroupProps<Y extends string | string[] = string> extends Omit<HTMLProps, "defaultValue" | "onChange" | "value"> {
|
|
16
16
|
/**
|
|
17
17
|
* The initial value of the toggle button group.
|
|
@@ -2,7 +2,8 @@ import { Merge } from "../../utils/index.js";
|
|
|
2
2
|
import { HTMLProps, HTMLRefAttributes, PropGetter } from "../../core/components/index.types.js";
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import { FieldProps } from "../field/field.js";
|
|
5
|
-
import
|
|
5
|
+
import "../field/index.js";
|
|
6
|
+
import * as react964 from "react";
|
|
6
7
|
|
|
7
8
|
//#region src/components/toggle/use-toggle.d.ts
|
|
8
9
|
interface UseToggleProps<Y extends string = string> extends FieldProps, HTMLRefAttributes<"input">, Omit<HTMLProps<"button">, "onChange" | "ref" | "value"> {
|
|
@@ -33,7 +34,7 @@ interface UseToggleProps<Y extends string = string> extends FieldProps, HTMLRefA
|
|
|
33
34
|
}
|
|
34
35
|
declare const useToggle: <Y extends string = string>(props?: UseToggleProps<Y>) => {
|
|
35
36
|
checked: boolean;
|
|
36
|
-
setChecked:
|
|
37
|
+
setChecked: react964.Dispatch<react964.SetStateAction<boolean>>;
|
|
37
38
|
getButtonProps: PropGetter<"button", undefined, Merge<HTMLProps<"button">, {
|
|
38
39
|
"aria-label": string;
|
|
39
40
|
}>>;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { ThemeProps } from "../../core/system/index.types.js";
|
|
2
2
|
import "../../core/index.js";
|
|
3
3
|
import { HTMLMotionProps } from "../motion/index.types.js";
|
|
4
|
+
import "../motion/index.js";
|
|
4
5
|
import { PortalProps } from "../portal/portal.js";
|
|
5
6
|
import { PopupAnimationProps } from "../popover/popover.js";
|
|
7
|
+
import "../popover/index.js";
|
|
6
8
|
import { TooltipStyle } from "./tooltip.style.js";
|
|
7
9
|
import { UseTooltipProps } from "./use-tooltip.js";
|
|
8
|
-
import * as
|
|
10
|
+
import * as react959 from "react";
|
|
9
11
|
import { FC, PropsWithChildren, ReactNode } from "react";
|
|
10
12
|
|
|
11
13
|
//#region src/components/tooltip/tooltip.d.ts
|
|
@@ -29,7 +31,7 @@ interface TooltipProps extends UseTooltipProps, PropsWithChildren, PopupAnimatio
|
|
|
29
31
|
*/
|
|
30
32
|
portalProps?: Omit<PortalProps, "children">;
|
|
31
33
|
}
|
|
32
|
-
declare const TooltipPropsContext:
|
|
34
|
+
declare const TooltipPropsContext: react959.Context<Partial<TooltipProps> | undefined>, useTooltipPropsContext: () => Partial<TooltipProps> | undefined;
|
|
33
35
|
/**
|
|
34
36
|
* `Tooltip` is a component that displays short information, such as supplementary details for an element.
|
|
35
37
|
*
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Component, HTMLStyledProps } from "../../core/components/index.types.js";
|
|
2
2
|
import "../../core/index.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react960 from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/visually-hidden/visually-hidden.d.ts
|
|
7
7
|
interface VisuallyHiddenProps extends HTMLStyledProps<"span"> {}
|
|
8
|
-
declare const VisuallyHiddenPropsContext:
|
|
8
|
+
declare const VisuallyHiddenPropsContext: react960.Context<Partial<VisuallyHiddenProps> | undefined>, useVisuallyHiddenPropsContext: () => Partial<VisuallyHiddenProps> | undefined;
|
|
9
9
|
/**
|
|
10
10
|
* `VisuallyHidden` is a common technique used in web accessibility to hide content from the visual client, but keep it readable for screen readers.
|
|
11
11
|
*
|
|
@@ -2,13 +2,14 @@ import { ThemeProps, WithoutThemeProps } 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 { FlexProps } from "../flex/flex.js";
|
|
5
|
+
import "../flex/index.js";
|
|
5
6
|
import { WrapStyle } from "./wrap.style.js";
|
|
6
7
|
import "../../index.js";
|
|
7
|
-
import * as
|
|
8
|
+
import * as react958 from "react";
|
|
8
9
|
|
|
9
10
|
//#region src/components/wrap/wrap.d.ts
|
|
10
11
|
interface WrapProps extends WithoutThemeProps<FlexProps, WrapStyle>, ThemeProps<WrapStyle> {}
|
|
11
|
-
declare const WrapPropsContext:
|
|
12
|
+
declare const WrapPropsContext: react958.Context<Partial<WrapProps> | undefined>, useWrapPropsContext: () => Partial<WrapProps> | undefined;
|
|
12
13
|
/**
|
|
13
14
|
* `Wrap` is a component that has `wrap` set on `Flex`. It inherits convenient style shorthand from `Flex`.
|
|
14
15
|
*
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { AnyString, Dict, Merge } from "../../utils/index.js";
|
|
2
2
|
import { ComponentSlotStyle, ComponentStyle, System, WithoutThemeProps } from "../system/index.types.js";
|
|
3
3
|
import { StyledOptions } from "../system/styled.js";
|
|
4
|
-
import "../system/index.js";
|
|
5
4
|
import { CSSObject, CSSSlotObject } from "../css/index.types.js";
|
|
6
|
-
import "../css/index.js";
|
|
7
5
|
import { As, Component as Component$1, HTMLStyledProps } from "./index.types.js";
|
|
8
|
-
import * as
|
|
6
|
+
import * as react30 from "react";
|
|
9
7
|
import { FC, FunctionComponent } from "react";
|
|
10
8
|
|
|
11
9
|
//#region src/core/components/create-component.d.ts
|
|
@@ -36,8 +34,8 @@ declare function createComponent<Y extends object = {}, M extends ComponentStyle
|
|
|
36
34
|
className,
|
|
37
35
|
...options
|
|
38
36
|
}?: ComponentOptions) => (initialProps?: InitialProps<H>, ...superProps: SuperProps<H>[]) => Component<D_1, H>;
|
|
39
|
-
ComponentContext:
|
|
40
|
-
PropsContext:
|
|
37
|
+
ComponentContext: react30.Context<D>;
|
|
38
|
+
PropsContext: react30.Context<Partial<Y> | undefined>;
|
|
41
39
|
useComponentContext: () => D;
|
|
42
40
|
usePropsContext: () => Partial<Y> | undefined;
|
|
43
41
|
withContext: <D_1 extends AsWithFragment = "div", H extends Y = Y, R extends keyof H = keyof H>(el: D_1 | FC<WithoutThemeProps<H, M, R>>, {
|
|
@@ -59,16 +57,16 @@ declare function createSlotComponent<Y extends object = {}, M extends ComponentS
|
|
|
59
57
|
className,
|
|
60
58
|
...options
|
|
61
59
|
}?: ComponentOptions) => (initialProps?: InitialProps<R>, ...superProps: SuperProps<R>[]) => Component<H, R>;
|
|
62
|
-
ComponentContext:
|
|
63
|
-
PropsContext:
|
|
64
|
-
StyleContext:
|
|
60
|
+
ComponentContext: react30.Context<D>;
|
|
61
|
+
PropsContext: react30.Context<Partial<Y> | undefined>;
|
|
62
|
+
StyleContext: react30.Context<CSSSlotObject<ComponentSlotName<M>>>;
|
|
65
63
|
useClassNames: () => {
|
|
66
64
|
[key: string]: string;
|
|
67
65
|
};
|
|
68
66
|
useComponentContext: () => D;
|
|
69
67
|
usePropsContext: () => Partial<Y> | undefined;
|
|
70
68
|
useStyleContext: () => CSSSlotObject<ComponentSlotName<M>>;
|
|
71
|
-
withContext: <H extends AsWithFragment = "div", R extends Dict = (H extends keyof
|
|
69
|
+
withContext: <H extends AsWithFragment = "div", R extends Dict = (H extends keyof react30.JSX.IntrinsicElements ? HTMLStyledProps<H> : Dict<any>)>(el: FC<R> | H, slot?: ComponentSlot<ComponentSlotName<M>>, {
|
|
72
70
|
name,
|
|
73
71
|
className,
|
|
74
72
|
withContext,
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { Dict } from "../../utils/index.js";
|
|
2
2
|
import { ComponentSlotStyle, ComponentStyle, WithoutThemeProps } from "../system/index.types.js";
|
|
3
|
-
import "../system/index.js";
|
|
4
3
|
import { CSSObject, CSSSlotObject } from "../css/index.types.js";
|
|
5
|
-
import "../css/index.js";
|
|
6
4
|
import { ComponentSlot, ComponentSlotName } from "./create-component.js";
|
|
7
5
|
|
|
8
6
|
//#region src/core/components/use-component-style.d.ts
|
|
@@ -13,6 +13,10 @@ declare const attributes: {
|
|
|
13
13
|
* The CSS `&[data-accept]` attribute selector.
|
|
14
14
|
*/
|
|
15
15
|
readonly _accept: "&[data-accept]";
|
|
16
|
+
/**
|
|
17
|
+
* The CSS `&[data-animated]` attribute selector.
|
|
18
|
+
*/
|
|
19
|
+
readonly _animated: "&[data-animated]";
|
|
16
20
|
/**
|
|
17
21
|
* The CSS `&[data-between]` attribute selector.
|
|
18
22
|
*/
|
|
@@ -57,6 +61,10 @@ declare const attributes: {
|
|
|
57
61
|
* The CSS `&:is([role=grid], [data-grid])` attribute selector.
|
|
58
62
|
*/
|
|
59
63
|
readonly _grid: "&:is([role=grid], [data-grid])";
|
|
64
|
+
/**
|
|
65
|
+
* The CSS `&:is(:has(> [role=group]), :has(> [data-group]), :has(> .group))` attribute selector.
|
|
66
|
+
*/
|
|
67
|
+
readonly _hasGroup: "&:is(:has(> [role=group]), :has(> [data-group]), :has(> .group))";
|
|
60
68
|
/**
|
|
61
69
|
* The CSS `&:has(> [data-icon])` attribute selector.
|
|
62
70
|
*/
|
|
@@ -101,6 +109,10 @@ declare const attributes: {
|
|
|
101
109
|
* The CSS `&:not([data-fallback])` attribute selector.
|
|
102
110
|
*/
|
|
103
111
|
readonly _notFallback: "&:not([data-fallback])";
|
|
112
|
+
/**
|
|
113
|
+
* The CSS `&:not(:has(> [role=group]), :has(> [data-group]), :has(> .group))` attribute selector.
|
|
114
|
+
*/
|
|
115
|
+
readonly _notHasGroup: "&:not(:has(> [role=group]), :has(> [data-group]), :has(> .group))";
|
|
104
116
|
/**
|
|
105
117
|
* The CSS `&:not([data-selected]):not([aria-selected=true])` attribute selector.
|
|
106
118
|
*/
|
|
@@ -154,7 +166,7 @@ type Attributes = typeof attributes;
|
|
|
154
166
|
type AttributeProperty = keyof Attributes;
|
|
155
167
|
type AttributeProps = { [K in AttributeProperty]?: CSSObject };
|
|
156
168
|
declare const attributeProperties: AttributeProperty[];
|
|
157
|
-
declare const attributeSelectors: ("&[data-inactive]" | "&[data-accept]" | "&[data-between]" | "&:is([data-center], [data-group-center])" | "&[data-complete]" | "&:is([aria-current], [data-current]):not([aria-current='false'])" | ".dark &:not([data-mode]), [data-mode=dark] &:not([data-mode]), &[data-mode=dark]" | "&:is([data-end], [data-group-end])" | "&:is([data-expanded], [aria-expanded=true])" | "&[data-fallback]" | "&[data-filled]" | "&:is([data-grabbed], [aria-grabbed=true])" | "&:is([role=grid], [data-grid])" | "&:has(> [data-icon])" | "&[data-idle]" | "&[data-incomplete]" | ".light &:not([data-mode]), [data-mode=light] &:not([data-mode]), &[data-mode=light]" | "&[data-loaded]" | "&:is([data-loading], [aria-busy=true])" | "[dir=ltr] &" | "&[hidden]" | "&[data-not-allowed]" | "&:not([aria-current], [data-current]), &[aria-current='false']" | "&:not([data-fallback])" | "&:not([data-selected]):not([aria-selected=true])" | "&[data-numeric]" | "&:is([open], [data-open])" | "&:is([data-pressed], [aria-pressed=true])" | "&:is([data-range])" | "&[data-reject]" | "& .ui-ripple" | "[dir=rtl] &" | "&:is([data-start], [data-group-start])" | "&:is([data-selected], [aria-selected=true])" | "&:is([hidden], [data-hidden])" | "&[data-never]")[];
|
|
169
|
+
declare const attributeSelectors: ("&[data-inactive]" | "&[data-accept]" | "&[data-animated]" | "&[data-between]" | "&:is([data-center], [data-group-center])" | "&[data-complete]" | "&:is([aria-current], [data-current]):not([aria-current='false'])" | ".dark &:not([data-mode]), [data-mode=dark] &:not([data-mode]), &[data-mode=dark]" | "&:is([data-end], [data-group-end])" | "&:is([data-expanded], [aria-expanded=true])" | "&[data-fallback]" | "&[data-filled]" | "&:is([data-grabbed], [aria-grabbed=true])" | "&:is([role=grid], [data-grid])" | "&:is(:has(> [role=group]), :has(> [data-group]), :has(> .group))" | "&:has(> [data-icon])" | "&[data-idle]" | "&[data-incomplete]" | ".light &:not([data-mode]), [data-mode=light] &:not([data-mode]), &[data-mode=light]" | "&[data-loaded]" | "&:is([data-loading], [aria-busy=true])" | "[dir=ltr] &" | "&[hidden]" | "&[data-not-allowed]" | "&:not([aria-current], [data-current]), &[aria-current='false']" | "&:not([data-fallback])" | "&:not(:has(> [role=group]), :has(> [data-group]), :has(> .group))" | "&:not([data-selected]):not([aria-selected=true])" | "&[data-numeric]" | "&:is([open], [data-open])" | "&:is([data-pressed], [aria-pressed=true])" | "&:is([data-range])" | "&[data-reject]" | "& .ui-ripple" | "[dir=rtl] &" | "&:is([data-start], [data-group-start])" | "&:is([data-selected], [aria-selected=true])" | "&:is([hidden], [data-hidden])" | "&[data-never]")[];
|
|
158
170
|
declare const pseudoElements: {
|
|
159
171
|
/**
|
|
160
172
|
* The CSS `&::after` pseudo-element.
|
|
@@ -303,6 +315,10 @@ declare const pseudoClasses: {
|
|
|
303
315
|
* The CSS `&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed])` pseudo-class.
|
|
304
316
|
*/
|
|
305
317
|
readonly _indeterminate: "&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed])";
|
|
318
|
+
/**
|
|
319
|
+
* The CSS `& > [data-indicator]` pseudo-class.
|
|
320
|
+
*/
|
|
321
|
+
readonly _indicator: "& > [data-indicator]";
|
|
306
322
|
/**
|
|
307
323
|
* The CSS `&:is(:in-range, [data-in-range])` pseudo-class.
|
|
308
324
|
*/
|
|
@@ -492,7 +508,7 @@ type PseudoClasses = typeof pseudoClasses;
|
|
|
492
508
|
type PseudoClassProperty = keyof PseudoClasses;
|
|
493
509
|
type PseudoClassProps = { [K in PseudoClassProperty]?: CSSObject };
|
|
494
510
|
declare const pseudoClassProperties: PseudoClassProperty[];
|
|
495
|
-
declare const pseudoClassSelectors: ("&:is([data-activedescendant])" | "&:is(:any-link, [data-any-link])" | "&:autofill" | "&:is(:blank, [data-blank])" | "&:is(:checked, [data-checked], [aria-checked=true])" | "& > *" | "&:default" | "&:empty" | "&:is(:enabled, [data-enabled])" | "&:nth-of-type(even)" | "&:first-of-type" | "& > *:first-child" | "&:not(:focus-within, [data-focus-within])" | "&:fullscreen" | "&:is([data-orientation=horizontal], [aria-orientation=horizontal])" | "&:where(svg:not([data-loading])), & > [data-icon]" | "&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed])" | "&:is(:in-range, [data-in-range])" | "&:last-of-type" | "& > *:last-child" | "&:is(:link, [data-link])" | "&:modal" | "&:active" | "&:checked" | "&:is(disabled, [disabled])" | "&:focus" | "&:focus-visible" | "&:focus-within" | "&:hover" | "&:is([readonly], [aria-readonly=true])" | "&:target" | "&:valid" | "&:not(:checked):not([data-checked]):not([aria-checked=true])" | "&:not(:empty)" | "&:not(:first-of-type)" | "& > *:not(:first-child)" | "&:not(:last-of-type)" | "& > *:not(:last-child)" | "&:not(:target)" | "&:nth-of-type(odd)" | "&:only-of-type" | "&:only-child" | "&:is(:optional, [data-optional])" | "&:is(:out-of-range, [data-out-of-range])" | "&:is(:paused, [data-paused])" | "&:picture-in-picture" | "&:placeholder-shown" | "&:is(:playing, [data-playing])" | "&:popover-open" | "&:is(:read-write, [data-read-write])" | "&:is(:required, [required])" | "&:is(:target, [data-target])" | "&:is(:user-invalid, [data-user-invalid])" | "&:is(:valid, [data-valid])" | "&:is([data-orientation=vertical], [aria-orientation=vertical])" | "&:visited" | "&:is(:hover, [data-hover]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled])" | "&:is(:active, [data-active]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled])" | "&:is(:focus, [data-focus])" | "&:is(:focus-visible, [data-focus-visible])" | "&:is([data-invalid], [aria-invalid=true])" | "&:is([readonly], [data-readonly], [aria-readonly=true])" | "&:is(:disabled, [disabled], [data-disabled])")[];
|
|
511
|
+
declare const pseudoClassSelectors: ("&:is([data-activedescendant])" | "&:is(:any-link, [data-any-link])" | "&:autofill" | "&:is(:blank, [data-blank])" | "&:is(:checked, [data-checked], [aria-checked=true])" | "& > *" | "&:default" | "&:empty" | "&:is(:enabled, [data-enabled])" | "&:nth-of-type(even)" | "&:first-of-type" | "& > *:first-child" | "&:not(:focus-within, [data-focus-within])" | "&:fullscreen" | "&:is([data-orientation=horizontal], [aria-orientation=horizontal])" | "&:where(svg:not([data-loading])), & > [data-icon]" | "&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed])" | "& > [data-indicator]" | "&:is(:in-range, [data-in-range])" | "&:last-of-type" | "& > *:last-child" | "&:is(:link, [data-link])" | "&:modal" | "&:active" | "&:checked" | "&:is(disabled, [disabled])" | "&:focus" | "&:focus-visible" | "&:focus-within" | "&:hover" | "&:is([readonly], [aria-readonly=true])" | "&:target" | "&:valid" | "&:not(:checked):not([data-checked]):not([aria-checked=true])" | "&:not(:empty)" | "&:not(:first-of-type)" | "& > *:not(:first-child)" | "&:not(:last-of-type)" | "& > *:not(:last-child)" | "&:not(:target)" | "&:nth-of-type(odd)" | "&:only-of-type" | "&:only-child" | "&:is(:optional, [data-optional])" | "&:is(:out-of-range, [data-out-of-range])" | "&:is(:paused, [data-paused])" | "&:picture-in-picture" | "&:placeholder-shown" | "&:is(:playing, [data-playing])" | "&:popover-open" | "&:is(:read-write, [data-read-write])" | "&:is(:required, [required])" | "&:is(:target, [data-target])" | "&:is(:user-invalid, [data-user-invalid])" | "&:is(:valid, [data-valid])" | "&:is([data-orientation=vertical], [aria-orientation=vertical])" | "&:visited" | "&:is(:hover, [data-hover]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled])" | "&:is(:active, [data-active]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled])" | "&:is(:focus, [data-focus])" | "&:is(:focus-visible, [data-focus-visible])" | "&:is([data-invalid], [aria-invalid=true])" | "&:is([readonly], [data-readonly], [aria-readonly=true])" | "&:is(:disabled, [disabled], [data-disabled])")[];
|
|
496
512
|
declare const groupAttributes: {
|
|
497
513
|
/**
|
|
498
514
|
* Styles to apply when a parent element with `role=group`, `data-group` or `.group` is accepted.
|
|
@@ -1104,6 +1120,10 @@ declare const conditions: {
|
|
|
1104
1120
|
* The CSS `&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed])` pseudo-class.
|
|
1105
1121
|
*/
|
|
1106
1122
|
readonly _indeterminate: "&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed])";
|
|
1123
|
+
/**
|
|
1124
|
+
* The CSS `& > [data-indicator]` pseudo-class.
|
|
1125
|
+
*/
|
|
1126
|
+
readonly _indicator: "& > [data-indicator]";
|
|
1107
1127
|
/**
|
|
1108
1128
|
* The CSS `&:is(:in-range, [data-in-range])` pseudo-class.
|
|
1109
1129
|
*/
|
|
@@ -1296,6 +1316,10 @@ declare const conditions: {
|
|
|
1296
1316
|
* The CSS `&[data-accept]` attribute selector.
|
|
1297
1317
|
*/
|
|
1298
1318
|
readonly _accept: "&[data-accept]";
|
|
1319
|
+
/**
|
|
1320
|
+
* The CSS `&[data-animated]` attribute selector.
|
|
1321
|
+
*/
|
|
1322
|
+
readonly _animated: "&[data-animated]";
|
|
1299
1323
|
/**
|
|
1300
1324
|
* The CSS `&[data-between]` attribute selector.
|
|
1301
1325
|
*/
|
|
@@ -1340,6 +1364,10 @@ declare const conditions: {
|
|
|
1340
1364
|
* The CSS `&:is([role=grid], [data-grid])` attribute selector.
|
|
1341
1365
|
*/
|
|
1342
1366
|
readonly _grid: "&:is([role=grid], [data-grid])";
|
|
1367
|
+
/**
|
|
1368
|
+
* The CSS `&:is(:has(> [role=group]), :has(> [data-group]), :has(> .group))` attribute selector.
|
|
1369
|
+
*/
|
|
1370
|
+
readonly _hasGroup: "&:is(:has(> [role=group]), :has(> [data-group]), :has(> .group))";
|
|
1343
1371
|
/**
|
|
1344
1372
|
* The CSS `&:has(> [data-icon])` attribute selector.
|
|
1345
1373
|
*/
|
|
@@ -1384,6 +1412,10 @@ declare const conditions: {
|
|
|
1384
1412
|
* The CSS `&:not([data-fallback])` attribute selector.
|
|
1385
1413
|
*/
|
|
1386
1414
|
readonly _notFallback: "&:not([data-fallback])";
|
|
1415
|
+
/**
|
|
1416
|
+
* The CSS `&:not(:has(> [role=group]), :has(> [data-group]), :has(> .group))` attribute selector.
|
|
1417
|
+
*/
|
|
1418
|
+
readonly _notHasGroup: "&:not(:has(> [role=group]), :has(> [data-group]), :has(> .group))";
|
|
1387
1419
|
/**
|
|
1388
1420
|
* The CSS `&:not([data-selected]):not([aria-selected=true])` attribute selector.
|
|
1389
1421
|
*/
|
|
@@ -1510,7 +1542,7 @@ type ConditionProperty = keyof Conditions;
|
|
|
1510
1542
|
type ConditionSelector = Conditions[ConditionProperty];
|
|
1511
1543
|
type ConditionProps = { [K in keyof Conditions]?: CSSObject };
|
|
1512
1544
|
declare const conditionProperties: ConditionProperty[];
|
|
1513
|
-
declare const conditionSelectors: ("&::after" | "&::backdrop" | "&::before" | "&::cue" | "&::cue-region" | "&::details-content" | "&::file-selector-button" | "&::first-letter" | "&::first-line" | "&::marker" | "&::placeholder, &[data-placeholder]" | "&::-webkit-scrollbar, &[data-scrollbar]" | "&::-webkit-scrollbar-button" | "&::-webkit-scrollbar-corner" | "&::-webkit-scrollbar-thumb" | "&::-webkit-scrollbar-track" | "&::-webkit-scrollbar-track-piece" | "&::selection" | "&[data-inactive]" | "&[data-accept]" | "&[data-between]" | "&:is([data-center], [data-group-center])" | "&[data-complete]" | "&:is([aria-current], [data-current]):not([aria-current='false'])" | ".dark &:not([data-mode]), [data-mode=dark] &:not([data-mode]), &[data-mode=dark]" | "&:is([data-end], [data-group-end])" | "&:is([data-expanded], [aria-expanded=true])" | "&[data-fallback]" | "&[data-filled]" | "&:is([data-grabbed], [aria-grabbed=true])" | "&:is([role=grid], [data-grid])" | "&:has(> [data-icon])" | "&[data-idle]" | "&[data-incomplete]" | ".light &:not([data-mode]), [data-mode=light] &:not([data-mode]), &[data-mode=light]" | "&[data-loaded]" | "&:is([data-loading], [aria-busy=true])" | "[dir=ltr] &" | "&[hidden]" | "&[data-not-allowed]" | "&:not([aria-current], [data-current]), &[aria-current='false']" | "&:not([data-fallback])" | "&:not([data-selected]):not([aria-selected=true])" | "&[data-numeric]" | "&:is([open], [data-open])" | "&:is([data-pressed], [aria-pressed=true])" | "&:is([data-range])" | "&[data-reject]" | "& .ui-ripple" | "[dir=rtl] &" | "&:is([data-start], [data-group-start])" | "&:is([data-selected], [aria-selected=true])" | "&:is([hidden], [data-hidden])" | "&[data-never]" | "&:is([data-activedescendant])" | "&:is(:any-link, [data-any-link])" | "&:autofill" | "&:is(:blank, [data-blank])" | "&:is(:checked, [data-checked], [aria-checked=true])" | "& > *" | "&:default" | "&:empty" | "&:is(:enabled, [data-enabled])" | "&:nth-of-type(even)" | "&:first-of-type" | "& > *:first-child" | "&:not(:focus-within, [data-focus-within])" | "&:fullscreen" | "&:is([data-orientation=horizontal], [aria-orientation=horizontal])" | "&:where(svg:not([data-loading])), & > [data-icon]" | "&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed])" | "&:is(:in-range, [data-in-range])" | "&:last-of-type" | "& > *:last-child" | "&:is(:link, [data-link])" | "&:modal" | "&:active" | "&:checked" | "&:is(disabled, [disabled])" | "&:focus" | "&:focus-visible" | "&:focus-within" | "&:hover" | "&:is([readonly], [aria-readonly=true])" | "&:target" | "&:valid" | "&:not(:checked):not([data-checked]):not([aria-checked=true])" | "&:not(:empty)" | "&:not(:first-of-type)" | "& > *:not(:first-child)" | "&:not(:last-of-type)" | "& > *:not(:last-child)" | "&:not(:target)" | "&:nth-of-type(odd)" | "&:only-of-type" | "&:only-child" | "&:is(:optional, [data-optional])" | "&:is(:out-of-range, [data-out-of-range])" | "&:is(:paused, [data-paused])" | "&:picture-in-picture" | "&:placeholder-shown" | "&:is(:playing, [data-playing])" | "&:popover-open" | "&:is(:read-write, [data-read-write])" | "&:is(:required, [required])" | "&:is(:target, [data-target])" | "&:is(:user-invalid, [data-user-invalid])" | "&:is(:valid, [data-valid])" | "&:is([data-orientation=vertical], [aria-orientation=vertical])" | "&:visited" | "&:is(:hover, [data-hover]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled])" | "&:is(:active, [data-active]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled])" | "&:is(:focus, [data-focus])" | "&:is(:focus-visible, [data-focus-visible])" | "&:is([data-invalid], [aria-invalid=true])" | "&:is([readonly], [data-readonly], [aria-readonly=true])" | "&:is(:disabled, [disabled], [data-disabled])" | "[role=group][data-accept] &, [data-group][data-accept] &, .group[data-accept] &" | "[role=group]:is([data-activedescendant]) &, [data-group]:is([data-activedescendant]) &, .group:is([data-activedescendant]) &" | "[role=group]:is(:blank, [data-blank]) &, [data-group]:is(:blank, [data-blank]) &, .group:is(:blank, [data-blank]) &" | "[role=group]:is(:checked, [data-checked], [aria-checked=true]) &, [data-group]:is(:checked, [data-checked], [aria-checked=true]) &, .group:is(:checked, [data-checked], [aria-checked=true]) &" | "[role=group][data-complete] &, [data-group][data-complete] &, .group[data-complete] &" | "[role=group]:is([aria-current], [data-current]):not([aria-current='false']) &, [data-group]:is([aria-current], [data-current]):not([aria-current='false']) &, .group:is([aria-current], [data-current]):not([aria-current='false']) &" | "[role=group]:is(:enabled, [data-enabled]) &, [data-group]:is(:enabled, [data-enabled]) &, .group:is(:enabled, [data-enabled]) &" | "[role=group]:is([data-expanded], [aria-expanded=true]) &, [data-group]:is([data-expanded], [aria-expanded=true]) &, .group:is([data-expanded], [aria-expanded=true]) &" | "[role=group]:not(:focus-within, [data-focus-within]) &, [data-group]:not(:focus-within, [data-focus-within]) &, .group:not(:focus-within, [data-focus-within]) &" | "[role=group]:is([data-grabbed], [aria-grabbed=true]) &, [data-group]:is([data-grabbed], [aria-grabbed=true]) &, .group:is([data-grabbed], [aria-grabbed=true]) &" | "[role=group]:is([data-orientation=horizontal], [aria-orientation=horizontal]) &, [data-group]:is([data-orientation=horizontal], [aria-orientation=horizontal]) &, .group:is([data-orientation=horizontal], [aria-orientation=horizontal]) &" | "[role=group][data-idle] &, [data-group][data-idle] &, .group[data-idle] &" | "[role=group][data-incomplete] &, [data-group][data-incomplete] &, .group[data-incomplete] &" | "[role=group][data-loaded] &, [data-group][data-loaded] &, .group[data-loaded] &" | "[role=group]:is([data-loading], [aria-busy=true]) &, [data-group]:is([data-loading], [aria-busy=true]) &, .group:is([data-loading], [aria-busy=true]) &" | "[role=group]:is([open], [data-open]) &, [data-group]:is([open], [data-open]) &, .group:is([open], [data-open]) &" | "[role=group]:is(:optional, [data-optional]) &, [data-group]:is(:optional, [data-optional]) &, .group:is(:optional, [data-optional]) &" | "[role=group]:placeholder-shown &, [data-group]:placeholder-shown &, .group:placeholder-shown &" | "[role=group]:is([data-pressed], [aria-pressed=true]) &, [data-group]:is([data-pressed], [aria-pressed=true]) &, .group:is([data-pressed], [aria-pressed=true]) &" | "[role=group]:is([data-range]) &, [data-group]:is([data-range]) &, .group:is([data-range]) &" | "[role=group]:is(:read-write, [data-read-write]) &, [data-group]:is(:read-write, [data-read-write]) &, .group:is(:read-write, [data-read-write]) &" | "[role=group][data-reject] &, [data-group][data-reject] &, .group[data-reject] &" | "[role=group]:is(:required, [required]) &, [data-group]:is(:required, [required]) &, .group:is(:required, [required]) &" | "[role=group]:is(:user-invalid, [data-user-invalid]) &, [data-group]:is(:user-invalid, [data-user-invalid]) &, .group:is(:user-invalid, [data-user-invalid]) &" | "[role=group]:is(:valid, [data-valid]) &, [data-group]:is(:valid, [data-valid]) &, .group:is(:valid, [data-valid]) &" | "[role=group]:is([data-orientation=vertical], [aria-orientation=vertical]) &, [data-group]:is([data-orientation=vertical], [aria-orientation=vertical]) &, .group:is([data-orientation=vertical], [aria-orientation=vertical]) &" | "[role=group]:is(:hover, [data-hover]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled]) &, [data-group]:is(:hover, [data-hover]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled]) &, .group:is(:hover, [data-hover]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled]) &" | "[role=group]:is(:active, [data-active]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled]) &, [data-group]:is(:active, [data-active]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled]) &, .group:is(:active, [data-active]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled]) &" | "[role=group]:is(:focus, [data-focus]) &, [data-group]:is(:focus, [data-focus]) &, .group:is(:focus, [data-focus]) &" | "[role=group]:is(:focus-visible, [data-focus-visible]) &, [data-group]:is(:focus-visible, [data-focus-visible]) &, .group:is(:focus-visible, [data-focus-visible]) &" | "[role=group]:is([data-selected], [aria-selected=true]) &, [data-group]:is([data-selected], [aria-selected=true]) &, .group:is([data-selected], [aria-selected=true]) &" | "[role=group]:is([data-invalid], [aria-invalid=true]) &, [data-group]:is([data-invalid], [aria-invalid=true]) &, .group:is([data-invalid], [aria-invalid=true]) &" | "[role=group]:is([readonly], [data-readonly], [aria-readonly=true]) &, [data-group]:is([readonly], [data-readonly], [aria-readonly=true]) &, .group:is([readonly], [data-readonly], [aria-readonly=true]) &" | "[role=group]:is(:disabled, [disabled], [data-disabled]) &, [data-group]:is(:disabled, [disabled], [data-disabled]) &, .group:is(:disabled, [disabled], [data-disabled]) &" | "[data-peer][data-accept] ~ &, .peer[data-accept] ~ &" | "[data-peer]:is(:blank, [data-blank]) ~ &, .peer:is(:blank, [data-blank]) ~ &" | "[data-peer]:is(:checked, [data-checked], [aria-checked=true]) ~ &, .peer:is(:checked, [data-checked], [aria-checked=true]) ~ &" | "[data-peer][data-complete] ~ &, .peer[data-complete] ~ &" | "[data-peer]:is([aria-current], [data-current]):not([aria-current='false']) ~ &, .peer:is([aria-current], [data-current]):not([aria-current='false']) ~ &" | "[data-peer]:is(:enabled, [data-enabled]) ~ &, .peer:is(:enabled, [data-enabled]) ~ &" | "[data-peer]:is([data-expanded], [aria-expanded=true]) ~ &, .peer:is([data-expanded], [aria-expanded=true]) ~ &" | "[data-peer]:not(:focus-within, [data-focus-within]) ~ &, .peer:not(:focus-within, [data-focus-within]) ~ &" | "[data-peer]:is([data-grabbed], [aria-grabbed=true]) ~ &, .peer:is([data-grabbed], [aria-grabbed=true]) ~ &" | "[data-peer]:is([data-orientation=horizontal], [aria-orientation=horizontal]) ~ &, .peer:is([data-orientation=horizontal], [aria-orientation=horizontal]) ~ &" | "[data-peer][data-idle] ~ &, .peer[data-idle] ~ &" | "[data-peer][data-incomplete] ~ &, .peer[data-incomplete] ~ &" | "[data-peer][data-loaded] ~ &, .peer[data-loaded] ~ &" | "[data-peer]:is([data-loading], [aria-busy=true]) ~ &, .peer:is([data-loading], [aria-busy=true]) ~ &" | "[data-peer]:is(:optional, [data-optional]) ~ &, .peer:is(:optional, [data-optional]) ~ &" | "[data-peer]:placeholder-shown ~ &, .peer:placeholder-shown ~ &" | "[data-peer]:is([data-pressed], [aria-pressed=true]) ~ &, .peer:is([data-pressed], [aria-pressed=true]) ~ &" | "[data-peer]:is([data-range]) ~ &, .peer:is([data-range]) ~ &" | "[data-peer]:is(:read-write, [data-read-write]) ~ &, .peer:is(:read-write, [data-read-write]) ~ &" | "[data-peer][data-reject] ~ &, .peer[data-reject] ~ &" | "[data-peer]:is(:required, [required]) ~ &, .peer:is(:required, [required]) ~ &" | "[data-peer]:is(:user-invalid, [data-user-invalid]) ~ &, .peer:is(:user-invalid, [data-user-invalid]) ~ &" | "[data-peer]:is(:valid, [data-valid]) ~ &, .peer:is(:valid, [data-valid]) ~ &" | "[data-peer]:is([data-orientation=vertical], [aria-orientation=vertical]) ~ &, .peer:is([data-orientation=vertical], [aria-orientation=vertical]) ~ &" | "[data-peer]:is(:hover, [data-hover]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled]) ~ &, .peer:is(:hover, [data-hover]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled]) ~ &" | "[data-peer]:is(:active, [data-active]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled]) ~ &, .peer:is(:active, [data-active]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled]) ~ &" | "[data-peer]:is(:focus, [data-focus]) ~ &, .peer:is(:focus, [data-focus]) ~ &" | "[data-peer]:is(:focus-visible, [data-focus-visible]) ~ &, .peer:is(:focus-visible, [data-focus-visible]) ~ &" | "[data-peer]:is([data-selected], [aria-selected=true]) ~ &, .peer:is([data-selected], [aria-selected=true]) ~ &" | "[data-peer]:is([data-invalid], [aria-invalid=true]) ~ &, .peer:is([data-invalid], [aria-invalid=true]) ~ &" | "[data-peer]:is([readonly], [data-readonly], [aria-readonly=true]) ~ &, .peer:is([readonly], [data-readonly], [aria-readonly=true]) ~ &" | "[data-peer]:is(:disabled, [disabled], [data-disabled]) ~ &, .peer:is(:disabled, [disabled], [data-disabled]) ~ &")[];
|
|
1545
|
+
declare const conditionSelectors: ("&::after" | "&::backdrop" | "&::before" | "&::cue" | "&::cue-region" | "&::details-content" | "&::file-selector-button" | "&::first-letter" | "&::first-line" | "&::marker" | "&::placeholder, &[data-placeholder]" | "&::-webkit-scrollbar, &[data-scrollbar]" | "&::-webkit-scrollbar-button" | "&::-webkit-scrollbar-corner" | "&::-webkit-scrollbar-thumb" | "&::-webkit-scrollbar-track" | "&::-webkit-scrollbar-track-piece" | "&::selection" | "&[data-inactive]" | "&[data-accept]" | "&[data-animated]" | "&[data-between]" | "&:is([data-center], [data-group-center])" | "&[data-complete]" | "&:is([aria-current], [data-current]):not([aria-current='false'])" | ".dark &:not([data-mode]), [data-mode=dark] &:not([data-mode]), &[data-mode=dark]" | "&:is([data-end], [data-group-end])" | "&:is([data-expanded], [aria-expanded=true])" | "&[data-fallback]" | "&[data-filled]" | "&:is([data-grabbed], [aria-grabbed=true])" | "&:is([role=grid], [data-grid])" | "&:is(:has(> [role=group]), :has(> [data-group]), :has(> .group))" | "&:has(> [data-icon])" | "&[data-idle]" | "&[data-incomplete]" | ".light &:not([data-mode]), [data-mode=light] &:not([data-mode]), &[data-mode=light]" | "&[data-loaded]" | "&:is([data-loading], [aria-busy=true])" | "[dir=ltr] &" | "&[hidden]" | "&[data-not-allowed]" | "&:not([aria-current], [data-current]), &[aria-current='false']" | "&:not([data-fallback])" | "&:not(:has(> [role=group]), :has(> [data-group]), :has(> .group))" | "&:not([data-selected]):not([aria-selected=true])" | "&[data-numeric]" | "&:is([open], [data-open])" | "&:is([data-pressed], [aria-pressed=true])" | "&:is([data-range])" | "&[data-reject]" | "& .ui-ripple" | "[dir=rtl] &" | "&:is([data-start], [data-group-start])" | "&:is([data-selected], [aria-selected=true])" | "&:is([hidden], [data-hidden])" | "&[data-never]" | "&:is([data-activedescendant])" | "&:is(:any-link, [data-any-link])" | "&:autofill" | "&:is(:blank, [data-blank])" | "&:is(:checked, [data-checked], [aria-checked=true])" | "& > *" | "&:default" | "&:empty" | "&:is(:enabled, [data-enabled])" | "&:nth-of-type(even)" | "&:first-of-type" | "& > *:first-child" | "&:not(:focus-within, [data-focus-within])" | "&:fullscreen" | "&:is([data-orientation=horizontal], [aria-orientation=horizontal])" | "&:where(svg:not([data-loading])), & > [data-icon]" | "&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed])" | "& > [data-indicator]" | "&:is(:in-range, [data-in-range])" | "&:last-of-type" | "& > *:last-child" | "&:is(:link, [data-link])" | "&:modal" | "&:active" | "&:checked" | "&:is(disabled, [disabled])" | "&:focus" | "&:focus-visible" | "&:focus-within" | "&:hover" | "&:is([readonly], [aria-readonly=true])" | "&:target" | "&:valid" | "&:not(:checked):not([data-checked]):not([aria-checked=true])" | "&:not(:empty)" | "&:not(:first-of-type)" | "& > *:not(:first-child)" | "&:not(:last-of-type)" | "& > *:not(:last-child)" | "&:not(:target)" | "&:nth-of-type(odd)" | "&:only-of-type" | "&:only-child" | "&:is(:optional, [data-optional])" | "&:is(:out-of-range, [data-out-of-range])" | "&:is(:paused, [data-paused])" | "&:picture-in-picture" | "&:placeholder-shown" | "&:is(:playing, [data-playing])" | "&:popover-open" | "&:is(:read-write, [data-read-write])" | "&:is(:required, [required])" | "&:is(:target, [data-target])" | "&:is(:user-invalid, [data-user-invalid])" | "&:is(:valid, [data-valid])" | "&:is([data-orientation=vertical], [aria-orientation=vertical])" | "&:visited" | "&:is(:hover, [data-hover]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled])" | "&:is(:active, [data-active]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled])" | "&:is(:focus, [data-focus])" | "&:is(:focus-visible, [data-focus-visible])" | "&:is([data-invalid], [aria-invalid=true])" | "&:is([readonly], [data-readonly], [aria-readonly=true])" | "&:is(:disabled, [disabled], [data-disabled])" | "[role=group][data-accept] &, [data-group][data-accept] &, .group[data-accept] &" | "[role=group]:is([data-activedescendant]) &, [data-group]:is([data-activedescendant]) &, .group:is([data-activedescendant]) &" | "[role=group]:is(:blank, [data-blank]) &, [data-group]:is(:blank, [data-blank]) &, .group:is(:blank, [data-blank]) &" | "[role=group]:is(:checked, [data-checked], [aria-checked=true]) &, [data-group]:is(:checked, [data-checked], [aria-checked=true]) &, .group:is(:checked, [data-checked], [aria-checked=true]) &" | "[role=group][data-complete] &, [data-group][data-complete] &, .group[data-complete] &" | "[role=group]:is([aria-current], [data-current]):not([aria-current='false']) &, [data-group]:is([aria-current], [data-current]):not([aria-current='false']) &, .group:is([aria-current], [data-current]):not([aria-current='false']) &" | "[role=group]:is(:enabled, [data-enabled]) &, [data-group]:is(:enabled, [data-enabled]) &, .group:is(:enabled, [data-enabled]) &" | "[role=group]:is([data-expanded], [aria-expanded=true]) &, [data-group]:is([data-expanded], [aria-expanded=true]) &, .group:is([data-expanded], [aria-expanded=true]) &" | "[role=group]:not(:focus-within, [data-focus-within]) &, [data-group]:not(:focus-within, [data-focus-within]) &, .group:not(:focus-within, [data-focus-within]) &" | "[role=group]:is([data-grabbed], [aria-grabbed=true]) &, [data-group]:is([data-grabbed], [aria-grabbed=true]) &, .group:is([data-grabbed], [aria-grabbed=true]) &" | "[role=group]:is([data-orientation=horizontal], [aria-orientation=horizontal]) &, [data-group]:is([data-orientation=horizontal], [aria-orientation=horizontal]) &, .group:is([data-orientation=horizontal], [aria-orientation=horizontal]) &" | "[role=group][data-idle] &, [data-group][data-idle] &, .group[data-idle] &" | "[role=group][data-incomplete] &, [data-group][data-incomplete] &, .group[data-incomplete] &" | "[role=group][data-loaded] &, [data-group][data-loaded] &, .group[data-loaded] &" | "[role=group]:is([data-loading], [aria-busy=true]) &, [data-group]:is([data-loading], [aria-busy=true]) &, .group:is([data-loading], [aria-busy=true]) &" | "[role=group]:is([open], [data-open]) &, [data-group]:is([open], [data-open]) &, .group:is([open], [data-open]) &" | "[role=group]:is(:optional, [data-optional]) &, [data-group]:is(:optional, [data-optional]) &, .group:is(:optional, [data-optional]) &" | "[role=group]:placeholder-shown &, [data-group]:placeholder-shown &, .group:placeholder-shown &" | "[role=group]:is([data-pressed], [aria-pressed=true]) &, [data-group]:is([data-pressed], [aria-pressed=true]) &, .group:is([data-pressed], [aria-pressed=true]) &" | "[role=group]:is([data-range]) &, [data-group]:is([data-range]) &, .group:is([data-range]) &" | "[role=group]:is(:read-write, [data-read-write]) &, [data-group]:is(:read-write, [data-read-write]) &, .group:is(:read-write, [data-read-write]) &" | "[role=group][data-reject] &, [data-group][data-reject] &, .group[data-reject] &" | "[role=group]:is(:required, [required]) &, [data-group]:is(:required, [required]) &, .group:is(:required, [required]) &" | "[role=group]:is(:user-invalid, [data-user-invalid]) &, [data-group]:is(:user-invalid, [data-user-invalid]) &, .group:is(:user-invalid, [data-user-invalid]) &" | "[role=group]:is(:valid, [data-valid]) &, [data-group]:is(:valid, [data-valid]) &, .group:is(:valid, [data-valid]) &" | "[role=group]:is([data-orientation=vertical], [aria-orientation=vertical]) &, [data-group]:is([data-orientation=vertical], [aria-orientation=vertical]) &, .group:is([data-orientation=vertical], [aria-orientation=vertical]) &" | "[role=group]:is(:hover, [data-hover]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled]) &, [data-group]:is(:hover, [data-hover]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled]) &, .group:is(:hover, [data-hover]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled]) &" | "[role=group]:is(:active, [data-active]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled]) &, [data-group]:is(:active, [data-active]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled]) &, .group:is(:active, [data-active]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled]) &" | "[role=group]:is(:focus, [data-focus]) &, [data-group]:is(:focus, [data-focus]) &, .group:is(:focus, [data-focus]) &" | "[role=group]:is(:focus-visible, [data-focus-visible]) &, [data-group]:is(:focus-visible, [data-focus-visible]) &, .group:is(:focus-visible, [data-focus-visible]) &" | "[role=group]:is([data-selected], [aria-selected=true]) &, [data-group]:is([data-selected], [aria-selected=true]) &, .group:is([data-selected], [aria-selected=true]) &" | "[role=group]:is([data-invalid], [aria-invalid=true]) &, [data-group]:is([data-invalid], [aria-invalid=true]) &, .group:is([data-invalid], [aria-invalid=true]) &" | "[role=group]:is([readonly], [data-readonly], [aria-readonly=true]) &, [data-group]:is([readonly], [data-readonly], [aria-readonly=true]) &, .group:is([readonly], [data-readonly], [aria-readonly=true]) &" | "[role=group]:is(:disabled, [disabled], [data-disabled]) &, [data-group]:is(:disabled, [disabled], [data-disabled]) &, .group:is(:disabled, [disabled], [data-disabled]) &" | "[data-peer][data-accept] ~ &, .peer[data-accept] ~ &" | "[data-peer]:is(:blank, [data-blank]) ~ &, .peer:is(:blank, [data-blank]) ~ &" | "[data-peer]:is(:checked, [data-checked], [aria-checked=true]) ~ &, .peer:is(:checked, [data-checked], [aria-checked=true]) ~ &" | "[data-peer][data-complete] ~ &, .peer[data-complete] ~ &" | "[data-peer]:is([aria-current], [data-current]):not([aria-current='false']) ~ &, .peer:is([aria-current], [data-current]):not([aria-current='false']) ~ &" | "[data-peer]:is(:enabled, [data-enabled]) ~ &, .peer:is(:enabled, [data-enabled]) ~ &" | "[data-peer]:is([data-expanded], [aria-expanded=true]) ~ &, .peer:is([data-expanded], [aria-expanded=true]) ~ &" | "[data-peer]:not(:focus-within, [data-focus-within]) ~ &, .peer:not(:focus-within, [data-focus-within]) ~ &" | "[data-peer]:is([data-grabbed], [aria-grabbed=true]) ~ &, .peer:is([data-grabbed], [aria-grabbed=true]) ~ &" | "[data-peer]:is([data-orientation=horizontal], [aria-orientation=horizontal]) ~ &, .peer:is([data-orientation=horizontal], [aria-orientation=horizontal]) ~ &" | "[data-peer][data-idle] ~ &, .peer[data-idle] ~ &" | "[data-peer][data-incomplete] ~ &, .peer[data-incomplete] ~ &" | "[data-peer][data-loaded] ~ &, .peer[data-loaded] ~ &" | "[data-peer]:is([data-loading], [aria-busy=true]) ~ &, .peer:is([data-loading], [aria-busy=true]) ~ &" | "[data-peer]:is(:optional, [data-optional]) ~ &, .peer:is(:optional, [data-optional]) ~ &" | "[data-peer]:placeholder-shown ~ &, .peer:placeholder-shown ~ &" | "[data-peer]:is([data-pressed], [aria-pressed=true]) ~ &, .peer:is([data-pressed], [aria-pressed=true]) ~ &" | "[data-peer]:is([data-range]) ~ &, .peer:is([data-range]) ~ &" | "[data-peer]:is(:read-write, [data-read-write]) ~ &, .peer:is(:read-write, [data-read-write]) ~ &" | "[data-peer][data-reject] ~ &, .peer[data-reject] ~ &" | "[data-peer]:is(:required, [required]) ~ &, .peer:is(:required, [required]) ~ &" | "[data-peer]:is(:user-invalid, [data-user-invalid]) ~ &, .peer:is(:user-invalid, [data-user-invalid]) ~ &" | "[data-peer]:is(:valid, [data-valid]) ~ &, .peer:is(:valid, [data-valid]) ~ &" | "[data-peer]:is([data-orientation=vertical], [aria-orientation=vertical]) ~ &, .peer:is([data-orientation=vertical], [aria-orientation=vertical]) ~ &" | "[data-peer]:is(:hover, [data-hover]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled]) ~ &, .peer:is(:hover, [data-hover]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled]) ~ &" | "[data-peer]:is(:active, [data-active]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled]) ~ &, .peer:is(:active, [data-active]):not(:disabled, [disabled], [aria-disabled=true], [data-disabled]) ~ &" | "[data-peer]:is(:focus, [data-focus]) ~ &, .peer:is(:focus, [data-focus]) ~ &" | "[data-peer]:is(:focus-visible, [data-focus-visible]) ~ &, .peer:is(:focus-visible, [data-focus-visible]) ~ &" | "[data-peer]:is([data-selected], [aria-selected=true]) ~ &, .peer:is([data-selected], [aria-selected=true]) ~ &" | "[data-peer]:is([data-invalid], [aria-invalid=true]) ~ &, .peer:is([data-invalid], [aria-invalid=true]) ~ &" | "[data-peer]:is([readonly], [data-readonly], [aria-readonly=true]) ~ &, .peer:is([readonly], [data-readonly], [aria-readonly=true]) ~ &" | "[data-peer]:is(:disabled, [disabled], [data-disabled]) ~ &, .peer:is(:disabled, [disabled], [data-disabled]) ~ &")[];
|
|
1514
1546
|
declare function getCondition(key: string): string;
|
|
1515
1547
|
//#endregion
|
|
1516
1548
|
export { AnySelector, AttributeProperty, AttributeProps, Attributes, ConditionProperty, ConditionProps, ConditionSelector, Conditions, GroupAttributeProperty, GroupAttributeProps, GroupAttributes, PeerAttributeProperty, PeerAttributeProps, PeerAttributes, PseudoClassProperty, PseudoClassProps, PseudoClasses, PseudoElementProperty, PseudoElementProps, PseudoElements, attributeProperties, attributeSelectors, attributes, conditionProperties, conditionSelectors, conditions, getCondition, groupAttributeProperties, groupAttributeSelectors, groupAttributes, peerAttributeProperties, peerAttributeSelectors, peerAttributes, pseudoClassProperties, pseudoClassSelectors, pseudoClasses, pseudoElementProperties, pseudoElementSelectors, pseudoElements };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AnyString } from "../../utils/index.js";
|
|
2
2
|
import { Breakpoint, KeyframeIdent, System, ThemePath, ThemeTokens } from "../system/index.types.js";
|
|
3
|
-
import "../system/index.js";
|
|
4
3
|
import { AnySelector, ConditionProperty, ConditionProps } from "./conditions.js";
|
|
5
4
|
import { StyleProps } from "./styles.js";
|
|
6
5
|
import * as CSS from "csstype";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AnyString } from "../../utils/index.js";
|
|
2
2
|
import { ColorScheme } from "../system/index.types.js";
|
|
3
|
-
import "../system/index.js";
|
|
4
3
|
import { display } from "./display.js";
|
|
5
4
|
import { colorScheme } from "./color-scheme.js";
|
|
6
5
|
import { CSSContainerObject, CSSMediaObject, CSSObject, StyleValueWithCondition } from "./index.types.js";
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { Dict } from "../../utils/index.js";
|
|
2
2
|
import { System, UsageTheme } from "../system/index.types.js";
|
|
3
3
|
import { ThemeToken } from "../system/create-system.js";
|
|
4
|
-
import "../system/index.js";
|
|
5
4
|
import { CSSProperties } from "./index.types.js";
|
|
6
|
-
import "./config.js";
|
|
7
5
|
import { CSSFunction } from "./css.js";
|
|
8
6
|
|
|
9
7
|
//#region src/core/css/utils.d.ts
|
|
@@ -15,7 +15,6 @@ import { GlobalStyles, ThemeProvider, ThemeProviderProps, getPreventTransition,
|
|
|
15
15
|
import { getColorModeValue, useColorModeValue } from "./system/use-color-mode-value.js";
|
|
16
16
|
import { UseSystemColorModeProps, useSystemColorMode } from "./system/use-system-color-mode.js";
|
|
17
17
|
import { CreateVars, createVars, getColorSchemeVar, getVar, getVarName, injectVars, isColorScheme, mergeVars, transformInterpolation, varAttr } from "./system/var.js";
|
|
18
|
-
import "./system/index.js";
|
|
19
18
|
import { AnySelector, AttributeProperty, AttributeProps, Attributes, ConditionProperty, ConditionProps, ConditionSelector, Conditions, GroupAttributeProperty, GroupAttributeProps, GroupAttributes, PeerAttributeProperty, PeerAttributeProps, PeerAttributes, PseudoClassProperty, PseudoClassProps, PseudoClasses, PseudoElementProperty, PseudoElementProps, PseudoElements, attributeProperties, attributeSelectors, attributes, conditionProperties, conditionSelectors, conditions, getCondition, groupAttributeProperties, groupAttributeSelectors, groupAttributes, peerAttributeProperties, peerAttributeSelectors, peerAttributes, pseudoClassProperties, pseudoClassSelectors, pseudoClasses, pseudoElementProperties, pseudoElementSelectors, pseudoElements } from "./css/conditions.js";
|
|
20
19
|
import { display } from "./css/display.js";
|
|
21
20
|
import { AnimationProperty, AspectRatioProperty, AtRuleStyleProperty, BlurProperty, BorderProperty, ColorProperty, DurationProperty, EasingProperty, FontProperty, GradientProperty, KeyframeProperty, PseudoStyleProperty, RadiusProperty, ShadowProperty, ShorthandStyleProperty, SizeProperty, SpaceProperty, StandardStyleProperty, StyleProperty, StyleProps, StyledStyleProperty, Styles, VariableLengthProperty, ZIndexProperty, animationProperties, aspectRatioProperties, atRuleStyles, blurProperties, borderProperties, colorProperties, durationProperties, easingProperties, fontProperties, gradientProperties, keyframeProperties, pseudoStyles, radiusProperties, shadowProperties, shorthandStyles, sizeProperties, spaceProperties, standardStyles, styleProperties, styledStyles, styles, variableLengthProperties, zIndexProperties } from "./css/styles.js";
|
|
@@ -30,7 +29,6 @@ import { animation, injectKeyframes, keyframes } from "./css/animation.js";
|
|
|
30
29
|
import { mergeCSS } from "./css/merge-css.js";
|
|
31
30
|
import { getCSS, useCSS } from "./css/use-css.js";
|
|
32
31
|
import { useInjectVarsIntoCss, useInjectVarsIntoProps } from "./css/use-inject-vars.js";
|
|
33
|
-
import "./css/index.js";
|
|
34
32
|
import { As, Component, ComponentArgs, DOMElement, GenericsComponent, HTMLElementProps, HTMLProps, HTMLRefAttributes, HTMLStyledProps, HTMLStyledPropsWithoutAs, HTMLStyledPropsWithoutRef, OmitProps, PropGetter, RequiredPropGetter, StyledComponent, StyledProps, WithoutAs, WithoutRef } from "./components/index.types.js";
|
|
35
33
|
import { ComponentOptions, ComponentSlot, ComponentSlotName, ComponentWithContextOptions, InitialProps, SuperProps, SuperWithoutThemeProps, UseComponentPropsOptions, createComponent, createSlotComponent } from "./components/create-component.js";
|
|
36
34
|
import { UseComponentSlotStyleOptions, UseComponentStyleOptions, getSlotClassName, mergeSlotCSS, useComponentSlotStyle, useComponentStyle } from "./components/use-component-style.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ColorMode, ColorModeWithSystem, ThemeConfig } from "./index.types.js";
|
|
2
2
|
import { Storage } from "./storage-manager.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react76 from "react";
|
|
4
4
|
import { FC, PropsWithChildren } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/core/system/color-mode-provider.d.ts
|
|
@@ -11,7 +11,7 @@ interface ColorModeContext {
|
|
|
11
11
|
toggleColorMode: () => void;
|
|
12
12
|
forced?: boolean;
|
|
13
13
|
}
|
|
14
|
-
declare const ColorModeContext:
|
|
14
|
+
declare const ColorModeContext: react76.Context<ColorModeContext>;
|
|
15
15
|
interface ColorModeProviderProps extends PropsWithChildren {
|
|
16
16
|
/**
|
|
17
17
|
* The forced color mode.
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ComponentSlotStyle, ComponentStyle, DefineThemeAnimationTokens, DefineThemeBreakpointTokens, DefineThemeColorSchemeSemanticTokens, DefineThemeColorSemanticTokens, DefineThemeKeyframeTokens, DefineThemeSchemeTokens, DefineThemeTokens, ThemeConfig, UsageTheme } from "./index.types.js";
|
|
2
2
|
import { CSSAnimationObject, CSSModifierObject, CSSObject, CSSPropObject, CSSSlotObject } from "../css/index.types.js";
|
|
3
|
-
import "../css/index.js";
|
|
4
3
|
|
|
5
4
|
//#region src/core/system/config.d.ts
|
|
6
5
|
interface DefineConfig {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Dict } from "../../utils/index.js";
|
|
2
2
|
import { DefineThemeValue, System, ThemeConfig, UsageTheme } from "./index.types.js";
|
|
3
3
|
import { CSSAnimationObject, CSSModifierObject } from "../css/index.types.js";
|
|
4
|
-
import "../css/index.js";
|
|
5
4
|
|
|
6
5
|
//#region src/core/system/create-system.d.ts
|
|
7
6
|
type VariableResponsiveValue = Dict<[DefineThemeValue, DefineThemeValue] | DefineThemeValue>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ComponentStyle, ThemeProps } from "./index.types.js";
|
|
2
2
|
import { StyledOptions } from "./styled.js";
|
|
3
3
|
import { CSSModifierObject, CSSPropObject } from "../css/index.types.js";
|
|
4
|
-
import "../css/index.js";
|
|
5
4
|
import { As, DOMElement, StyledComponent } from "../components/index.types.js";
|
|
6
5
|
import "../components/index.js";
|
|
7
6
|
import { FC } from "react";
|
|
@@ -4,7 +4,6 @@ import { GeneratedThemeTokens } from "../generated-theme-tokens.types.js";
|
|
|
4
4
|
import { Layers } from "./layer.js";
|
|
5
5
|
import { Breakpoints } from "./breakpoint.js";
|
|
6
6
|
import { CSSAnimationObject, CSSModifierObject, CSSObject, CSSPropObject, CSSSlotObject, StyleValue, StyleValueWithCondition } from "../css/index.types.js";
|
|
7
|
-
import "../css/index.js";
|
|
8
7
|
import { RefObject } from "react";
|
|
9
8
|
|
|
10
9
|
//#region src/core/system/index.types.d.ts
|