@gild-ui/react 0.1.0-alpha.0 → 0.1.0-alpha.1
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/Accordion.cjs +2 -2
- package/dist/Accordion.d.cts +1 -1
- package/dist/Accordion.d.mts +2 -2
- package/dist/Accordion.mjs +2 -2
- package/dist/{Accordion.types-D06ViRMj.d.mts → Accordion.types-DxvwAfZc.d.mts} +233 -48
- package/dist/Alert.cjs +2 -2
- package/dist/Alert.d.cts +1 -1
- package/dist/Alert.d.mts +1 -1
- package/dist/Alert.mjs +2 -2
- package/dist/AppBar.cjs +1 -1
- package/dist/AppBar.d.cts +1 -1
- package/dist/AppBar.d.mts +1 -1
- package/dist/AppBar.mjs +1 -1
- package/dist/Autocomplete.cjs +2 -2
- package/dist/Autocomplete.d.cts +1 -1
- package/dist/Autocomplete.d.mts +1 -1
- package/dist/Autocomplete.mjs +2 -2
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.d.cts +1 -1
- package/dist/Avatar.d.mts +1 -1
- package/dist/Avatar.mjs +1 -1
- package/dist/Backdrop.cjs +2 -2
- package/dist/Backdrop.d.cts +1 -1
- package/dist/Backdrop.d.mts +1 -1
- package/dist/Backdrop.mjs +2 -2
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.d.cts +1 -1
- package/dist/Badge.d.mts +1 -1
- package/dist/Badge.mjs +1 -1
- package/dist/Breadcrumbs.cjs +2 -2
- package/dist/Breadcrumbs.d.cts +2 -2
- package/dist/Breadcrumbs.d.mts +2 -2
- package/dist/Breadcrumbs.mjs +2 -2
- package/dist/Button.cjs +1 -1
- package/dist/Button.d.cts +2 -50
- package/dist/Button.d.mts +2 -2
- package/dist/Button.mjs +1 -1
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.d.cts +2 -2
- package/dist/ButtonGroup.d.mts +2 -2
- package/dist/ButtonGroup.mjs +1 -1
- package/dist/Card.cjs +2 -2
- package/dist/Card.d.cts +3 -3
- package/dist/Card.d.mts +4 -4
- package/dist/Card.mjs +2 -2
- package/dist/Checkbox.cjs +1 -1
- package/dist/Checkbox.d.cts +1 -1
- package/dist/Checkbox.d.mts +1 -1
- package/dist/Checkbox.mjs +1 -1
- package/dist/Chip.cjs +2 -2
- package/dist/Chip.d.cts +1 -1
- package/dist/Chip.d.mts +1 -1
- package/dist/Chip.mjs +2 -2
- package/dist/CircularProgress.cjs +1 -1
- package/dist/CircularProgress.d.cts +2 -2
- package/dist/CircularProgress.d.mts +2 -2
- package/dist/CircularProgress.mjs +1 -1
- package/dist/Collapse.cjs +1 -1
- package/dist/Collapse.d.cts +2 -2
- package/dist/Collapse.d.mts +2 -2
- package/dist/Collapse.mjs +1 -1
- package/dist/Drawer.cjs +1 -1
- package/dist/Drawer.d.cts +2 -2
- package/dist/Drawer.d.mts +3 -3
- package/dist/Drawer.mjs +1 -1
- package/dist/Fab.cjs +1 -1
- package/dist/Fab.d.cts +2 -2
- package/dist/Fab.d.mts +2 -2
- package/dist/Fab.mjs +1 -1
- package/dist/FabMenu.cjs +2 -2
- package/dist/FabMenu.d.cts +1 -1
- package/dist/FabMenu.d.mts +2 -2
- package/dist/FabMenu.mjs +2 -2
- package/dist/Fade.d.cts +1 -1
- package/dist/Fade.d.mts +1 -1
- package/dist/Flex.cjs +2 -2
- package/dist/Flex.d.cts +1 -1
- package/dist/Flex.d.mts +1 -1
- package/dist/Flex.mjs +2 -3
- package/dist/FocusTrap.cjs +1 -1
- package/dist/FocusTrap.d.cts +1 -1
- package/dist/FocusTrap.d.mts +1 -1
- package/dist/FocusTrap.mjs +1 -1
- package/dist/Form.cjs +1 -1
- package/dist/Form.d.cts +1 -1
- package/dist/Form.d.mts +1 -1
- package/dist/Form.mjs +1 -1
- package/dist/FormControl.cjs +1 -1
- package/dist/FormControl.d.cts +1 -1
- package/dist/FormControl.d.mts +1 -1
- package/dist/FormControl.mjs +1 -1
- package/dist/FormHelperText.cjs +1 -1
- package/dist/FormHelperText.d.cts +2 -2
- package/dist/FormHelperText.d.mts +2 -2
- package/dist/FormHelperText.mjs +1 -1
- package/dist/FormLabel.cjs +1 -1
- package/dist/FormLabel.d.cts +2 -2
- package/dist/FormLabel.d.mts +2 -2
- package/dist/FormLabel.mjs +1 -1
- package/dist/Global.d.cts +1 -1
- package/dist/Global.d.mts +1 -1
- package/dist/Grid.cjs +2 -2
- package/dist/Grid.d.cts +1 -1
- package/dist/Grid.d.mts +1 -1
- package/dist/Grid.mjs +2 -2
- package/dist/Grow.d.cts +1 -1
- package/dist/Grow.d.mts +1 -1
- package/dist/{Icon-CpmLCuWc.mjs → Icon-DBgqmUb3.mjs} +1 -1
- package/dist/{Icon-D8CNaUwd.cjs → Icon-DPIqGixm.cjs} +1 -1
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.d.cts +2 -2
- package/dist/Icon.d.mts +2 -2
- package/dist/Icon.mjs +1 -1
- package/dist/Image.cjs +1 -1
- package/dist/Image.d.cts +1 -1
- package/dist/Image.d.mts +1 -1
- package/dist/Image.mjs +1 -1
- package/dist/LinearProgress.cjs +1 -1
- package/dist/LinearProgress.d.cts +2 -2
- package/dist/LinearProgress.d.mts +2 -2
- package/dist/LinearProgress.mjs +1 -1
- package/dist/Link.cjs +1 -1
- package/dist/Link.d.cts +2 -2
- package/dist/Link.d.mts +2 -2
- package/dist/Link.mjs +1 -1
- package/dist/{Menu-CEr2M5u0.mjs → Menu-Ca7aUnLg.mjs} +2 -2
- package/dist/{Menu-DA9QNBfE.cjs → Menu-DlPDdIAu.cjs} +2 -2
- package/dist/Menu.cjs +3 -3
- package/dist/Menu.d.cts +2 -2
- package/dist/Menu.d.mts +3 -3
- package/dist/Menu.mjs +3 -3
- package/dist/{MenuItem-D3lzWmIO.cjs → MenuItem-2UwOFsM6.cjs} +3 -3
- package/dist/{MenuItem-DzHB9Es6.mjs → MenuItem-w7D1-AYW.mjs} +3 -3
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.d.cts +2 -2
- package/dist/MenuItem.d.mts +2 -2
- package/dist/MenuItem.mjs +1 -1
- package/dist/{Modal-C5OWwkvp.cjs → Modal-B6_1ugIW.cjs} +2 -2
- package/dist/{Modal-BphaFrcw.mjs → Modal-Ouz9KdOG.mjs} +2 -2
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.d.cts +9 -48
- package/dist/Modal.d.mts +2 -2
- package/dist/Modal.mjs +1 -1
- package/dist/NativeSelect.cjs +2 -2
- package/dist/NativeSelect.d.cts +2 -2
- package/dist/NativeSelect.d.mts +2 -2
- package/dist/NativeSelect.mjs +2 -2
- package/dist/NavTree.cjs +2 -2
- package/dist/NavTree.d.cts +1 -1
- package/dist/NavTree.d.mts +1 -1
- package/dist/NavTree.mjs +2 -2
- package/dist/NumberInput.cjs +2 -2
- package/dist/NumberInput.d.cts +1 -1
- package/dist/NumberInput.d.mts +1 -1
- package/dist/NumberInput.mjs +2 -2
- package/dist/Pagination.cjs +2 -2
- package/dist/Pagination.d.cts +1 -1
- package/dist/Pagination.d.mts +2 -2
- package/dist/Pagination.mjs +2 -2
- package/dist/Paper.cjs +1 -1
- package/dist/Paper.d.cts +1 -1
- package/dist/Paper.d.mts +2 -2
- package/dist/Paper.mjs +1 -1
- package/dist/{Popover-DsPTeEPx.mjs → Popover-ZsN1txGi.mjs} +2 -2
- package/dist/{Popover-DY0ooIAM.cjs → Popover-d5fip8Fi.cjs} +2 -2
- package/dist/Popover.cjs +1 -1
- package/dist/Popover.d.cts +2 -2
- package/dist/Popover.d.mts +3 -3
- package/dist/Popover.mjs +1 -1
- package/dist/Pressable.cjs +1 -1
- package/dist/Pressable.d.cts +1 -1
- package/dist/Pressable.d.mts +2 -2
- package/dist/Pressable.mjs +1 -1
- package/dist/Quote.cjs +2 -2
- package/dist/Quote.d.cts +1 -1
- package/dist/Quote.d.mts +1 -1
- package/dist/Quote.mjs +2 -2
- package/dist/Radio.cjs +1 -1
- package/dist/Radio.d.cts +1 -1
- package/dist/Radio.d.mts +1 -1
- package/dist/Radio.mjs +1 -1
- package/dist/RangeInput.cjs +1 -1
- package/dist/RangeInput.d.cts +1 -1
- package/dist/RangeInput.d.mts +1 -1
- package/dist/RangeInput.mjs +1 -1
- package/dist/Rating.cjs +2 -2
- package/dist/Rating.d.cts +1 -1
- package/dist/Rating.d.mts +1 -1
- package/dist/Rating.mjs +2 -2
- package/dist/ScrollArea.cjs +1 -1
- package/dist/ScrollArea.d.cts +1 -1
- package/dist/ScrollArea.d.mts +1 -1
- package/dist/ScrollArea.mjs +1 -1
- package/dist/Select.cjs +3 -3
- package/dist/Select.d.cts +2 -2
- package/dist/Select.d.mts +2 -2
- package/dist/Select.mjs +3 -3
- package/dist/Sidebar.cjs +2 -2
- package/dist/Sidebar.d.cts +2 -2
- package/dist/Sidebar.d.mts +3 -3
- package/dist/Sidebar.mjs +2 -2
- package/dist/Skeleton.cjs +1 -1
- package/dist/Skeleton.d.cts +1 -1
- package/dist/Skeleton.d.mts +1 -1
- package/dist/Skeleton.mjs +1 -1
- package/dist/Slide.cjs +7 -1
- package/dist/Slide.d.cts +1 -1
- package/dist/Slide.d.mts +1 -1
- package/dist/Slide.mjs +7 -1
- package/dist/Snackbar.cjs +1 -1
- package/dist/Snackbar.d.cts +2 -2
- package/dist/Snackbar.d.mts +2 -2
- package/dist/Snackbar.mjs +1 -1
- package/dist/StyleSheet.d.cts +1 -1
- package/dist/StyleSheet.d.mts +1 -1
- package/dist/Switch.cjs +1 -1
- package/dist/Switch.d.cts +1 -1
- package/dist/Switch.d.mts +1 -1
- package/dist/Switch.mjs +1 -1
- package/dist/Table.cjs +3 -3
- package/dist/Table.d.cts +2 -2
- package/dist/Table.d.mts +3 -3
- package/dist/Table.mjs +3 -3
- package/dist/Tabs.cjs +6 -6
- package/dist/Tabs.d.cts +1 -1
- package/dist/Tabs.d.mts +1 -1
- package/dist/Tabs.mjs +6 -6
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.d.cts +2 -81
- package/dist/TextInput.d.mts +2 -81
- package/dist/TextInput.mjs +1 -1
- package/dist/ThemeProvider.d.cts +1 -1
- package/dist/ThemeProvider.d.mts +1 -1
- package/dist/ToggleButton.cjs +1 -1
- package/dist/ToggleButton.d.cts +2 -2
- package/dist/ToggleButton.d.mts +3 -3
- package/dist/ToggleButton.mjs +1 -1
- package/dist/{Tooltip-DQo2zZH0.mjs → Tooltip-Bt5lr52c.mjs} +1 -1
- package/dist/{Tooltip-DaB6bJKM.cjs → Tooltip-CUpZpoC9.cjs} +1 -1
- package/dist/Tooltip.cjs +1 -1
- package/dist/Tooltip.d.cts +1 -1
- package/dist/Tooltip.d.mts +1 -1
- package/dist/Tooltip.mjs +1 -1
- package/dist/TransferList.cjs +2 -2
- package/dist/TransferList.d.cts +1 -1
- package/dist/TransferList.d.mts +1 -1
- package/dist/TransferList.mjs +2 -2
- package/dist/Typography.cjs +1 -1
- package/dist/Typography.d.cts +2 -29
- package/dist/Typography.d.mts +2 -2
- package/dist/Typography.mjs +1 -1
- package/dist/{View-DkfIBlcy.cjs → View-DFnZ41Xe.cjs} +7 -15
- package/dist/{View-BmuIFO7p.mjs → View-zuvgW6DP.mjs} +7 -16
- package/dist/View.cjs +1 -1
- package/dist/View.d.cts +1 -1
- package/dist/View.d.mts +1 -1
- package/dist/View.mjs +1 -1
- package/dist/Zoom.d.cts +1 -1
- package/dist/Zoom.d.mts +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/css.d.cts +1 -1
- package/dist/css.d.mts +1 -1
- package/dist/engine.d.cts +1 -1
- package/dist/engine.d.mts +1 -1
- package/dist/{index-CT311xS9.d.cts → index-B3jHcw5h.d.cts} +2 -2
- package/dist/{index-CKHGDpGJ.d.mts → index-Bf-ZHQLG.d.mts} +2 -2
- package/dist/{index-CD0xu_P6.d.mts → index-CAMwJg71.d.mts} +1 -1
- package/dist/index-CLQt_mOa.d.mts +3 -0
- package/dist/{index-CmG1wW5D.d.mts → index-Cqse4F32.d.mts} +2 -2
- package/dist/index-CsYK-ukA.d.mts +3 -0
- package/dist/{index-CA5HTpT9.d.mts → index-D9Gg2NWm.d.mts} +1 -1
- package/dist/{index-DZFF1vMV.d.cts → index-DPQxIeZF.d.cts} +225 -40
- package/dist/{index-CEtnJkY4.d.cts → index-Dc7XiT_v.d.cts} +1 -1
- package/dist/{index-Blc3XujV.d.mts → index-Djum1XiO.d.mts} +1 -1
- package/dist/{index-Bgd6kxq_.d.mts → index-DtfH-dhY.d.mts} +2 -2
- package/dist/{index-B7LR7Up3.d.mts → index-IB1nBqEO.d.mts} +2 -2
- package/dist/{index-C21GrYkd.d.mts → index-phuw9VpI.d.mts} +9 -48
- package/dist/index-yCzwpbBP.d.mts +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/keyframes.d.cts +1 -1
- package/dist/keyframes.d.mts +1 -1
- package/dist/{styled-DnzWP4pc.cjs → styled-Dr3_OY1-.cjs} +15 -1
- package/dist/{styled-nr_qC_Yx.mjs → styled-tLHNvicL.mjs} +15 -1
- package/dist/styled.cjs +1 -1
- package/dist/styled.d.cts +1 -1
- package/dist/styled.d.mts +1 -1
- package/dist/styled.mjs +1 -1
- package/dist/useDefaultProps.d.cts +1 -1
- package/dist/useDefaultProps.d.mts +1 -1
- package/dist/useMediaQuery.d.cts +1 -1
- package/dist/useMediaQuery.d.mts +1 -1
- package/dist/useStyle.d.cts +1 -1
- package/dist/useStyle.d.mts +1 -1
- package/dist/useTheme.d.cts +1 -1
- package/dist/useTheme.d.mts +1 -1
- package/dist/{useTransition-BwpSHKSf.d.mts → useTransition-BzwifRXe.d.mts} +1 -1
- package/dist/{useTransition-B4KGUO9m.d.cts → useTransition-lt8_WKk-.d.cts} +1 -1
- package/dist/withStyle.d.cts +1 -1
- package/dist/withStyle.d.mts +1 -1
- package/dist/withTheme.d.cts +1 -1
- package/dist/withTheme.d.mts +1 -1
- package/package.json +24 -21
- package/dist/index-CWOcMPWz.d.mts +0 -51
- package/dist/index-MfIvwyA4.d.mts +0 -1
- package/dist/index-Tg9lQlVl.d.mts +0 -30
package/dist/Accordion.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const require_styled = require("./styled-
|
|
3
|
+
const require_styled = require("./styled-Dr3_OY1-.cjs");
|
|
4
4
|
const require_overrides = require("./overrides-DeXScOFK.cjs");
|
|
5
5
|
const require_useDefaultProps = require("./useDefaultProps-DratGGIL.cjs");
|
|
6
6
|
const require_Collapse = require("./Collapse.cjs");
|
|
7
|
-
const require_Icon = require("./Icon-
|
|
7
|
+
const require_Icon = require("./Icon-DPIqGixm.cjs");
|
|
8
8
|
let react = require("react");
|
|
9
9
|
let _gild_ui_core_theme = require("@gild-ui/core/theme");
|
|
10
10
|
let react_jsx_runtime = require("react/jsx-runtime");
|
package/dist/Accordion.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Aa as AccordionSummarySlot, Ba as AccordionActionsThemeConfig, D as Theme, Fa as AccordionDetailsOwnerState, Ha as AccordionSlot, Ia as AccordionDetailsSlot, La as AccordionDetailsThemeConfig, Ma as AccordionGroupOwnerState, Na as AccordionGroupSlot, Pa as AccordionGroupThemeConfig, Ra as AccordionActionsOwnerState, Ua as AccordionThemeConfig, Va as AccordionOwnerState, ia as StyleOverride, ja as AccordionSummaryThemeConfig, ka as AccordionSummaryOwnerState, na as SlotProps, za as AccordionActionsSlot } from "./index-DPQxIeZF.cjs";
|
|
2
2
|
import { CollapseProps } from "./Collapse.cjs";
|
|
3
3
|
import { ComponentType, ReactNode, SyntheticEvent } from "react";
|
|
4
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
package/dist/Accordion.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as CollapseProps } from "./index-
|
|
1
|
+
import { Aa as AccordionSummarySlot, Ba as AccordionActionsThemeConfig, Fa as AccordionDetailsOwnerState, Ha as SlotProps, Ia as AccordionDetailsSlot, La as AccordionDetailsThemeConfig, Ma as AccordionGroupOwnerState, Na as AccordionGroupSlot, Pa as AccordionGroupThemeConfig, Ra as AccordionActionsOwnerState, Wa as StyleOverride, ja as AccordionSummaryThemeConfig, ka as AccordionSummaryOwnerState, n as AccordionSlot, r as AccordionThemeConfig, s as Theme, t as AccordionOwnerState, za as AccordionActionsSlot } from "./Accordion.types-DxvwAfZc.mjs";
|
|
2
|
+
import { r as CollapseProps } from "./index-Cqse4F32.mjs";
|
|
3
3
|
import { ComponentType, ReactNode, SyntheticEvent } from "react";
|
|
4
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
/** What an `Accordion` hands the transition that opens and closes its region. */
|
package/dist/Accordion.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { f as negate } from "./styleEngine-CLid4cmR.mjs";
|
|
3
|
-
import { t as styled } from "./styled-
|
|
3
|
+
import { t as styled } from "./styled-tLHNvicL.mjs";
|
|
4
4
|
import { t as mergeOverrides } from "./overrides-Ds6QZL5Q.mjs";
|
|
5
5
|
import "./themes-BtfQPcbo.mjs";
|
|
6
6
|
import { t as useDefaultProps } from "./useDefaultProps-BTQGhvfY.mjs";
|
|
7
7
|
import { Collapse } from "./Collapse.mjs";
|
|
8
|
-
import { t as Icon } from "./Icon-
|
|
8
|
+
import { t as Icon } from "./Icon-DBgqmUb3.mjs";
|
|
9
9
|
import { Children, createContext, useContext, useId, useMemo, useState } from "react";
|
|
10
10
|
import { themeDefault } from "@gild-ui/core/theme";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./LayoutProvider-DFwC1-h0.mjs";
|
|
2
|
-
import { CSSProperties, ComponentClass, ComponentProps, ComponentType, ElementType, FunctionComponent, HTMLAttributes, JSX, ReactElement, ReactNode, Ref } from "react";
|
|
2
|
+
import { ButtonHTMLAttributes, CSSProperties, ChangeEventHandler, ComponentClass, ComponentProps, ComponentType, ElementType, FunctionComponent, HTMLAttributes, InputHTMLAttributes, JSX, ReactElement, ReactNode, Ref, TextareaHTMLAttributes } from "react";
|
|
3
3
|
import { CSSObject as CSSObject$1, Global, LiveValue, PropsOf, SheetStyleProp, StyleSheet, StyledStatics, alpha, asIs, configure as configureEngine, css, defineTheme, fallback, keyframes, negate, setNonceSource, useMediaQuery, useStyle, useStyleValue, useTheme, val, variable, withStyle, withTheme } from "@umber-style/react";
|
|
4
4
|
import * as GildCore from "@gild-ui/core/theme";
|
|
5
|
-
import { ButtonVariants, InputVariantKey, OpenScale, Register, RegisteredTheme, Theme as Theme$1, ThemeBackground, ThemeColor, ThemeDefaults, ThemeFonts, ThemeRadii, ThemeSize, ThemeSpaceKey, ThemeText, ThemeTransitionEasing, ThemeTypography, ThemeZOrder, VariantOf } from "@gild-ui/core/theme";
|
|
5
|
+
import { ButtonVariants, InputVariantKey, OpenScale, Register, RegisteredTheme, Theme as Theme$1, ThemeBackground, ThemeColor, ThemeDefaults, ThemeFonts, ThemeRadii, ThemeSize, ThemeSpaceKey, ThemeText, ThemeTransitionEasing, ThemeTypography, ThemeZOrder, TypographyVariant, VariantOf } from "@gild-ui/core/theme";
|
|
6
6
|
import { CreateStyledComponent, FilteringStyledOptions, Interpolation, StyledOptions } from "@umber-style/styled";
|
|
7
|
-
import { BorderProps, FlexboxProps, LayoutFrameProps, LayoutProps, PositionProps, SpaceProps, SpanProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
7
|
+
import { BorderProps, FlexboxProps, LayoutFrameProps, LayoutProps, PositionProps, SpaceProps, SpanProps, TypographyProps as TypographyProps$1 } from "@soroush.tech/styled-system";
|
|
8
8
|
/**
|
|
9
9
|
* What the `style` prop of a component takes: the engine's `SheetStyleProp`, so an entry of
|
|
10
10
|
* `StyleSheet.create` (of an object, or a handle `sheet.card` of a sheet of the theme) or a list of
|
|
@@ -160,6 +160,51 @@ type ButtonVariant = keyof ButtonVariants | VariantOf<'Button'>;
|
|
|
160
160
|
type ButtonSlot = 'root' | 'label' | 'icon' | 'loader';
|
|
161
161
|
/** What `theme.components.Button` takes. */
|
|
162
162
|
type ButtonThemeConfig = ComponentConfig<ButtonOwnerState, ButtonSlot>;
|
|
163
|
+
/** Augmentable via the `ButtonVariants` interface, or defined by a registered theme - style new values through `theme.components.Button.variants`. */
|
|
164
|
+
type ButtonColor = ThemeColor;
|
|
165
|
+
type ButtonSize = keyof AppTheme['sizes'];
|
|
166
|
+
type ButtonShape = 'square' | 'rounded' | 'pill';
|
|
167
|
+
type ButtonLoadingPosition = 'start' | 'end' | 'center';
|
|
168
|
+
/** Valid values for the gap prop - resolves against theme.space. Default: `1` (8px). */
|
|
169
|
+
type GapToken$1 = keyof AppTheme['space'];
|
|
170
|
+
interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'style'>, SpaceProps, LayoutProps, BorderProps, TypographyProps$1 {
|
|
171
|
+
/** Visual style - filled, stroked, or ghost. Default: `'contained'`, overridable via `theme.defaults.buttonVariant`. */
|
|
172
|
+
variant?: ButtonVariant;
|
|
173
|
+
/** Color palette - maps to `theme.palette[color]`. Default: `'primary'`, overridable via `theme.defaults.color`. */
|
|
174
|
+
color?: ButtonColor;
|
|
175
|
+
/** Size token - controls padding and font size. Default: `'md'`, overridable via `theme.defaults.size`. */
|
|
176
|
+
size?: ButtonSize;
|
|
177
|
+
/** Gap between icon and label - resolves against theme.space. Default: `1` (8px). */
|
|
178
|
+
gap?: GapToken$1;
|
|
179
|
+
/** Icon rendered before the label. */
|
|
180
|
+
startIcon?: ReactNode;
|
|
181
|
+
/** Icon rendered after the label. */
|
|
182
|
+
endIcon?: ReactNode;
|
|
183
|
+
/** Stretch button to full container width. */
|
|
184
|
+
fullWidth?: boolean;
|
|
185
|
+
/** Shows loading indicator and disables the button. */
|
|
186
|
+
loading?: boolean;
|
|
187
|
+
/** Custom loading element. Default: animated spinner. */
|
|
188
|
+
loadingIndicator?: ReactNode;
|
|
189
|
+
/**
|
|
190
|
+
* Corner shape - sets the default `borderRadius`.
|
|
191
|
+
* `"square"` → 0 · `"rounded"` → `theme.radii.md` (default) · `"pill"` → 9999px
|
|
192
|
+
* The `borderRadius` prop always overrides this.
|
|
193
|
+
*/
|
|
194
|
+
shape?: ButtonShape;
|
|
195
|
+
/** Where the loading indicator appears. Default: `"center"`. */
|
|
196
|
+
loadingPosition?: ButtonLoadingPosition;
|
|
197
|
+
/** The URL to link to when the button is clicked. If defined, an `a` element will be used as the root node. */
|
|
198
|
+
href?: string;
|
|
199
|
+
/** Anchor `target` - only meaningful when `href` is set. */
|
|
200
|
+
target?: string;
|
|
201
|
+
/** Anchor `rel` - only meaningful when `href` is set. */
|
|
202
|
+
rel?: string;
|
|
203
|
+
/** Overrides the CSS of the root: an entry of `StyleSheet.create`, or a list of them. It wins over `slotProps.root.style`. */
|
|
204
|
+
style?: StyleOverride;
|
|
205
|
+
/** Overrides for the slots a theme can style: `style`, `className`, `data-*` and `aria-*`. */
|
|
206
|
+
slotProps?: SlotProps<ButtonSlot>;
|
|
207
|
+
}
|
|
163
208
|
/** The resolved props ButtonGroup's styled elements receive - what `ownerState` exposes. */
|
|
164
209
|
type ButtonGroupOwnerState = Record<string, unknown>;
|
|
165
210
|
/** The slots of ButtonGroup a theme can style with `styleOverrides`. */
|
|
@@ -240,6 +285,44 @@ type PaperOwnerState = Record<string, unknown>;
|
|
|
240
285
|
type PaperSlot = 'root';
|
|
241
286
|
/** What `theme.components.Paper` takes. */
|
|
242
287
|
type PaperThemeConfig = ComponentConfig<PaperOwnerState, PaperSlot>;
|
|
288
|
+
/** Valid values for the color prop - derived from theme.text keys. */
|
|
289
|
+
type ViewColorToken = keyof Theme['text'];
|
|
290
|
+
/** Valid values for the bg prop - derived from theme.background keys. */
|
|
291
|
+
type ViewBackgroundToken = keyof Theme['background'];
|
|
292
|
+
/** Valid values for the borderColor prop - derived from theme.border keys. */
|
|
293
|
+
type ViewBorderColorToken = keyof Theme['border'];
|
|
294
|
+
/** Valid values for the borderWidth prop - derived from theme.borderWidths keys. */
|
|
295
|
+
type ViewBorderWidthToken = keyof Theme['borderWidths'];
|
|
296
|
+
/** Valid theme tokens for border-radius. Raw CSS pixel values (e.g. '6px', '9999px') are also accepted. */
|
|
297
|
+
type OrPixels<Token extends PropertyKey> = Token | `${number}px`;
|
|
298
|
+
type ViewBorderRadiusToken = OrPixels<keyof Theme['radii']>;
|
|
299
|
+
interface ViewProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'style'>, SpaceProps, LayoutProps, TypographyProps$1, Omit<BorderProps, 'borderColor' | 'borderWidth' | 'borderRadius'>, PositionProps, SpanProps, LayoutFrameProps {
|
|
300
|
+
/** Overrides the CSS of the element: an entry of `StyleSheet.create`, or a list of them. */
|
|
301
|
+
style?: StyleOverride;
|
|
302
|
+
/** Overrides for the slot a theme can style: `style`, `className`, `data-*` and `aria-*`. */
|
|
303
|
+
slotProps?: SlotProps<'root'>;
|
|
304
|
+
bg?: ViewBackgroundToken;
|
|
305
|
+
/** Resolves against theme.border - light · primary · dark */
|
|
306
|
+
borderColor?: ViewBorderColorToken;
|
|
307
|
+
/** Resolves against theme.borderWidths - none · thin · base · thick */
|
|
308
|
+
borderWidth?: ViewBorderWidthToken;
|
|
309
|
+
/** Theme tokens: sq · sm · md · lg. Also accepts raw CSS pixel values e.g. '6px', '9999px'. */
|
|
310
|
+
borderRadius?: ViewBorderRadiusToken;
|
|
311
|
+
opacity?: number;
|
|
312
|
+
cursor?: CSSProperties['cursor'];
|
|
313
|
+
/** CSS order for flex/grid item placement. Accepts responsive arrays. */
|
|
314
|
+
order?: FlexboxProps['order'];
|
|
315
|
+
}
|
|
316
|
+
/** The resolved props View's styled elements receive - what `ownerState` exposes. */
|
|
317
|
+
type ViewOwnerState = Record<string, unknown>;
|
|
318
|
+
/** The slots of View a theme can style with `styleOverrides`. */
|
|
319
|
+
type ViewSlot = 'root';
|
|
320
|
+
/** What `theme.components.View` takes. */
|
|
321
|
+
type ViewThemeConfig = ComponentConfig<ViewOwnerState, ViewSlot>;
|
|
322
|
+
declare const View: StrictStyled<import("@umber-style/react").StyledComponent<import("react").ElementType, ViewProps, {
|
|
323
|
+
theme?: AppTheme;
|
|
324
|
+
as?: React.ElementType;
|
|
325
|
+
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & object>>;
|
|
243
326
|
/**
|
|
244
327
|
* Once themes are registered, `T` may have no key the registered themes lack, at any depth: each
|
|
245
328
|
* extra key is typed `never`, so the error names it. `components` is the one shared value, which
|
|
@@ -379,44 +462,6 @@ interface CreateThemedStyled extends StyledTags {
|
|
|
379
462
|
* customization (`theme.components[name].styleOverrides` / `.variants`).
|
|
380
463
|
*/
|
|
381
464
|
declare const styled: CreateThemedStyled;
|
|
382
|
-
/** Valid values for the color prop - derived from theme.text keys. */
|
|
383
|
-
type ViewColorToken = keyof Theme['text'];
|
|
384
|
-
/** Valid values for the bg prop - derived from theme.background keys. */
|
|
385
|
-
type ViewBackgroundToken = keyof Theme['background'];
|
|
386
|
-
/** Valid values for the borderColor prop - derived from theme.border keys. */
|
|
387
|
-
type ViewBorderColorToken = keyof Theme['border'];
|
|
388
|
-
/** Valid values for the borderWidth prop - derived from theme.borderWidths keys. */
|
|
389
|
-
type ViewBorderWidthToken = keyof Theme['borderWidths'];
|
|
390
|
-
/** Valid theme tokens for border-radius. Raw CSS pixel values (e.g. '6px', '9999px') are also accepted. */
|
|
391
|
-
type OrPixels<Token extends PropertyKey> = Token | `${number}px`;
|
|
392
|
-
type ViewBorderRadiusToken = OrPixels<keyof Theme['radii']>;
|
|
393
|
-
interface ViewProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'style'>, SpaceProps, LayoutProps, TypographyProps, Omit<BorderProps, 'borderColor' | 'borderWidth' | 'borderRadius'>, PositionProps, SpanProps, LayoutFrameProps {
|
|
394
|
-
/** Overrides the CSS of the element: an entry of `StyleSheet.create`, or a list of them. */
|
|
395
|
-
style?: StyleOverride;
|
|
396
|
-
/** Overrides for the slot a theme can style: `style`, `className`, `data-*` and `aria-*`. */
|
|
397
|
-
slotProps?: SlotProps<'root'>;
|
|
398
|
-
bg?: ViewBackgroundToken;
|
|
399
|
-
/** Resolves against theme.border - light · primary · dark */
|
|
400
|
-
borderColor?: ViewBorderColorToken;
|
|
401
|
-
/** Resolves against theme.borderWidths - none · thin · base · thick */
|
|
402
|
-
borderWidth?: ViewBorderWidthToken;
|
|
403
|
-
/** Theme tokens: sq · sm · md · lg. Also accepts raw CSS pixel values e.g. '6px', '9999px'. */
|
|
404
|
-
borderRadius?: ViewBorderRadiusToken;
|
|
405
|
-
opacity?: number;
|
|
406
|
-
cursor?: CSSProperties['cursor'];
|
|
407
|
-
/** CSS order for flex/grid item placement. Accepts responsive arrays. */
|
|
408
|
-
order?: FlexboxProps['order'];
|
|
409
|
-
}
|
|
410
|
-
declare const View: StrictStyled<import("@umber-style/react").StyledComponent<import("react").ElementType, ViewProps, {
|
|
411
|
-
theme?: AppTheme;
|
|
412
|
-
as?: React.ElementType;
|
|
413
|
-
} & import("react").ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & object>>;
|
|
414
|
-
/** The resolved props View's styled elements receive - what `ownerState` exposes. */
|
|
415
|
-
type ViewOwnerState = Record<string, unknown>;
|
|
416
|
-
/** The slots of View a theme can style with `styleOverrides`. */
|
|
417
|
-
type ViewSlot = 'root';
|
|
418
|
-
/** What `theme.components.View` takes. */
|
|
419
|
-
type ViewThemeConfig = ComponentConfig<ViewOwnerState, ViewSlot>;
|
|
420
465
|
/** Valid values for the gap prop - derived from theme.space keys. */
|
|
421
466
|
type GapToken = keyof Theme['space'];
|
|
422
467
|
/**
|
|
@@ -425,6 +470,12 @@ type GapToken = keyof Theme['space'];
|
|
|
425
470
|
* `flexDirection="row"`. Columns are Grid's: content on the page columns uses `<Grid layout>`.
|
|
426
471
|
*/
|
|
427
472
|
interface FlexProps extends ViewProps, FlexboxProps {}
|
|
473
|
+
/** The resolved props Flex's styled elements receive - what `ownerState` exposes. */
|
|
474
|
+
type FlexOwnerState = Record<string, unknown>;
|
|
475
|
+
/** The slots of Flex a theme can style with `styleOverrides`. */
|
|
476
|
+
type FlexSlot = 'root';
|
|
477
|
+
/** What `theme.components.Flex` takes. */
|
|
478
|
+
type FlexThemeConfig = ComponentConfig<FlexOwnerState, FlexSlot>;
|
|
428
479
|
declare const Flex: StrictStyled<import("@umber-style/react").StyledComponent<import("react").ElementType, FlexProps, Omit<Omit<{
|
|
429
480
|
theme?: AppTheme;
|
|
430
481
|
as?: React.ElementType;
|
|
@@ -437,12 +488,6 @@ declare const Flex: StrictStyled<import("@umber-style/react").StyledComponent<im
|
|
|
437
488
|
} & {
|
|
438
489
|
theme?: AppTheme;
|
|
439
490
|
} & object>>;
|
|
440
|
-
/** The resolved props Flex's styled elements receive - what `ownerState` exposes. */
|
|
441
|
-
type FlexOwnerState = Record<string, unknown>;
|
|
442
|
-
/** The slots of Flex a theme can style with `styleOverrides`. */
|
|
443
|
-
type FlexSlot = 'root';
|
|
444
|
-
/** What `theme.components.Flex` takes. */
|
|
445
|
-
type FlexThemeConfig = ComponentConfig<FlexOwnerState, FlexSlot>;
|
|
446
491
|
type PaperElevation = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
|
|
447
492
|
interface PaperProps extends FlexProps {
|
|
448
493
|
/** Shadow depth - 0 (flat) to 24 (highest). Resolves to theme.shadows[n]. Default: 1. */
|
|
@@ -599,6 +644,45 @@ interface MenuListOwnerState {
|
|
|
599
644
|
type MenuListSlot = 'root';
|
|
600
645
|
/** What `theme.components.MenuList` takes. */
|
|
601
646
|
type MenuListThemeConfig = ComponentConfig<MenuListOwnerState, MenuListSlot>;
|
|
647
|
+
type ModalCloseReason = 'escapeKey' | 'backdropClick';
|
|
648
|
+
type ModalScroll = 'paper' | 'body';
|
|
649
|
+
interface ModalProps {
|
|
650
|
+
/** If true, the modal is shown. */
|
|
651
|
+
isOpen: boolean;
|
|
652
|
+
/** A single content element. */
|
|
653
|
+
children: ReactNode;
|
|
654
|
+
/** Fired on Escape (top modal only) or backdrop click. */
|
|
655
|
+
onClose?: (event: Event | React.SyntheticEvent, reason: ModalCloseReason) => void;
|
|
656
|
+
/** Render the dimmed backdrop. Default: true. */
|
|
657
|
+
hasBackdrop?: boolean;
|
|
658
|
+
/** Keep the children mounted while closed. Default: false. */
|
|
659
|
+
shouldKeepMounted?: boolean;
|
|
660
|
+
/** Portal the modal into `portalContainer`. Default: true. */
|
|
661
|
+
shouldUsePortal?: boolean;
|
|
662
|
+
/** Portal target, or a function returning one. Defaults to the document body. */
|
|
663
|
+
portalContainer?: HTMLElement | (() => HTMLElement | null) | null;
|
|
664
|
+
/** Lock body scroll while open. Default: true. */
|
|
665
|
+
shouldLockScroll?: boolean;
|
|
666
|
+
/** Skip `aria-hidden` on background content - for non-modal popovers whose trigger stays focused. Default: false. */
|
|
667
|
+
disableAriaHidden?: boolean;
|
|
668
|
+
/** Move focus into the modal on open. Default: true. */
|
|
669
|
+
shouldAutoFocus?: boolean;
|
|
670
|
+
/** Trap Tab focus within the modal. Default: true. */
|
|
671
|
+
shouldTrapFocus?: boolean;
|
|
672
|
+
/** Pull focus back into the modal whenever it escapes. Default: true. */
|
|
673
|
+
shouldEnforceFocus?: boolean;
|
|
674
|
+
/** Restore focus to the trigger on close. Default: true. */
|
|
675
|
+
shouldRestoreFocus?: boolean;
|
|
676
|
+
/** How long content scrolls: within the content (`'paper'`) or the whole root (`'body'`). Default: 'paper'. */
|
|
677
|
+
scroll?: ModalScroll;
|
|
678
|
+
/** Stacking layer from `theme.zOrder`. Default: 'modal'. */
|
|
679
|
+
layer?: keyof Theme['zOrder'];
|
|
680
|
+
/** Overrides the CSS of the root: an entry of `StyleSheet.create`, or a list of them. It wins over `slotProps.root.style`. */
|
|
681
|
+
style?: StyleOverride;
|
|
682
|
+
className?: string;
|
|
683
|
+
/** Overrides for the slots a theme can style: `style`, `className`, `data-*` and `aria-*`. */
|
|
684
|
+
slotProps?: SlotProps<ModalSlot>;
|
|
685
|
+
}
|
|
602
686
|
/** The resolved props Modal's styled elements receive - what `ownerState` exposes. */
|
|
603
687
|
type ModalOwnerState = Record<string, unknown>;
|
|
604
688
|
/** The slots of Modal a theme can style with `styleOverrides`. */
|
|
@@ -892,6 +976,83 @@ type TabsVariant = keyof TabsVariants | VariantOf<'Tabs'>;
|
|
|
892
976
|
type TabsSlot = 'root' | 'list' | 'indicator' | 'startContent' | 'endContent' | 'scrollButton' | 'overflowButton' | 'overflowClose';
|
|
893
977
|
/** What `theme.components.Tabs` takes. */
|
|
894
978
|
type TabsThemeConfig = ComponentConfig<TabsOwnerState, TabsSlot>;
|
|
979
|
+
type TextInputColor = keyof Theme['palette'];
|
|
980
|
+
type TextInputTextColor = keyof Theme['text'];
|
|
981
|
+
type TextInputVariant = 'default' | 'outlined' | 'text' | 'underline';
|
|
982
|
+
type TextInputSize = keyof Theme['sizes'];
|
|
983
|
+
interface TextInputClasses {
|
|
984
|
+
root?: string;
|
|
985
|
+
input?: string;
|
|
986
|
+
}
|
|
987
|
+
interface TextInputProps extends SpaceProps, Pick<LayoutProps, 'width' | 'minWidth' | 'maxWidth'> {
|
|
988
|
+
/** Corner radius - applies only to `default` and `outlined` variants. Resolves against `theme.radii`. */
|
|
989
|
+
borderRadius?: keyof Theme['radii'];
|
|
990
|
+
autoComplete?: string;
|
|
991
|
+
autoFocus?: boolean;
|
|
992
|
+
/** Class names applied to inner elements. `root` targets the wrapper; `input` targets the native element. */
|
|
993
|
+
classes?: TextInputClasses;
|
|
994
|
+
/** Override components for the Root and Input slots. */
|
|
995
|
+
components?: {
|
|
996
|
+
Input?: ElementType;
|
|
997
|
+
Root?: ElementType;
|
|
998
|
+
};
|
|
999
|
+
/** Focus/active border color - resolves to `theme.palette[color].main`. Default: 'primary', overridable via `theme.defaults.color`. */
|
|
1000
|
+
color?: TextInputColor;
|
|
1001
|
+
/** Text color of the typed value - resolves against `theme.text`. Default: the accent `color`'s `main`. */
|
|
1002
|
+
textColor?: TextInputTextColor;
|
|
1003
|
+
/** Disables the input. */
|
|
1004
|
+
disabled?: boolean;
|
|
1005
|
+
/** Marks the field as invalid - applies error border color. */
|
|
1006
|
+
error?: boolean;
|
|
1007
|
+
/** Stretches the root to fill its container. */
|
|
1008
|
+
fullWidth?: boolean;
|
|
1009
|
+
id?: string;
|
|
1010
|
+
/** Custom component for the input element. Takes priority over `components.Input`. Default: `'input'`. */
|
|
1011
|
+
inputComponent?: ElementType;
|
|
1012
|
+
/** Native HTML `size` attribute - visible width in character widths. Has no effect with `multiline` or `resize`. */
|
|
1013
|
+
inputSize?: number;
|
|
1014
|
+
/** Extra props spread onto the native element. Explicit top-level props take priority. */
|
|
1015
|
+
inputProps?: Omit<InputHTMLAttributes<HTMLInputElement>, 'style'> & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'style'>;
|
|
1016
|
+
/** Maximum rows before the auto-grow textarea starts scrolling. Only applies when `resize` is set. */
|
|
1017
|
+
maxRows?: number | string;
|
|
1018
|
+
/** Minimum rows for the auto-grow textarea. Only applies when `resize` is set. */
|
|
1019
|
+
minRows?: number | string;
|
|
1020
|
+
/**
|
|
1021
|
+
* Renders a `<textarea>` that grows with its content.
|
|
1022
|
+
* Combine with `rows` to fix the height instead of auto-growing.
|
|
1023
|
+
*/
|
|
1024
|
+
multiline?: boolean;
|
|
1025
|
+
name?: string;
|
|
1026
|
+
onChange?: ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement>;
|
|
1027
|
+
placeholder?: string;
|
|
1028
|
+
readOnly?: boolean;
|
|
1029
|
+
required?: boolean;
|
|
1030
|
+
/** Auto-grows the textarea as content increases. Requires `multiline`. */
|
|
1031
|
+
resize?: boolean;
|
|
1032
|
+
/** Controls padding and font size. Default: 'md', overridable via `theme.defaults.size`. */
|
|
1033
|
+
size?: TextInputSize;
|
|
1034
|
+
/**
|
|
1035
|
+
* Fixes the textarea height to this many rows. Also enables `multiline`
|
|
1036
|
+
* when value is greater than 1. Disables resize.
|
|
1037
|
+
*/
|
|
1038
|
+
rows?: number | string;
|
|
1039
|
+
/** HTML input type. Ignored when multiline. Default: `'text'`. */
|
|
1040
|
+
type?: string;
|
|
1041
|
+
/**
|
|
1042
|
+
* Visual style of the input.
|
|
1043
|
+
* - `outlined` / `default` - full border box (default)
|
|
1044
|
+
* - `underline` - border on bottom only
|
|
1045
|
+
* - `text` - no border, transparent background
|
|
1046
|
+
*/
|
|
1047
|
+
variant?: TextInputVariant;
|
|
1048
|
+
value?: string | number | readonly string[];
|
|
1049
|
+
className?: string;
|
|
1050
|
+
/** Overrides the CSS of the root: an entry of `StyleSheet.create`, or a list of them. It wins over `slotProps.root.style`. */
|
|
1051
|
+
style?: StyleOverride;
|
|
1052
|
+
/** Overrides for the slots a theme can style: `style`, `className`, `data-*` and `aria-*`. */
|
|
1053
|
+
slotProps?: SlotProps<TextInputSlot>;
|
|
1054
|
+
'data-testid'?: string;
|
|
1055
|
+
}
|
|
895
1056
|
/** The resolved props TextInput's styled elements receive - what `ownerState` exposes. */
|
|
896
1057
|
type TextInputOwnerState = Record<string, unknown>;
|
|
897
1058
|
/** The slots of TextInput a theme can style with `styleOverrides`. */
|
|
@@ -955,6 +1116,30 @@ interface TransferListOwnerState {
|
|
|
955
1116
|
type TransferListSlot = 'root' | 'list' | 'header' | 'title' | 'count' | 'items' | 'item' | 'controls' | 'icon';
|
|
956
1117
|
/** What `theme.components.TransferList` takes. */
|
|
957
1118
|
type TransferListThemeConfig = ComponentConfig<TransferListOwnerState, TransferListSlot>;
|
|
1119
|
+
type TypographyAlign = 'left' | 'right' | 'center' | 'justify' | 'inherit';
|
|
1120
|
+
/** Valid values for the color prop - derived from theme.text keys. */
|
|
1121
|
+
type TextColorToken = keyof Theme['text'];
|
|
1122
|
+
/** Valid values for the bg prop - derived from theme.background keys. */
|
|
1123
|
+
type BackgroundToken = keyof Theme['background'];
|
|
1124
|
+
interface TypographyProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'style'>, SpaceProps, LayoutProps, TypographyProps$1, FlexboxProps, BorderProps, PositionProps {
|
|
1125
|
+
/** Resolves against theme.text - inherit · initial · primary · secondary · error · success */
|
|
1126
|
+
color?: TextColorToken;
|
|
1127
|
+
/** Resolves against theme.background */
|
|
1128
|
+
bg?: BackgroundToken;
|
|
1129
|
+
/** Overrides the CSS of the element: an entry of `StyleSheet.create`, or a list of them. */
|
|
1130
|
+
style?: StyleOverride;
|
|
1131
|
+
/** Overrides for the slots a theme can style: `style`, `className`, `data-*` and `aria-*`. */
|
|
1132
|
+
slotProps?: SlotProps<TypographySlot>;
|
|
1133
|
+
opacity?: number;
|
|
1134
|
+
textTransform?: CSSProperties['textTransform'];
|
|
1135
|
+
variant?: TypographyVariant;
|
|
1136
|
+
align?: TypographyAlign;
|
|
1137
|
+
gutterBottom?: boolean;
|
|
1138
|
+
noWrap?: boolean;
|
|
1139
|
+
/** Machine-readable timestamp - forwarded when rendering as `<time>` (`as="time"`). */
|
|
1140
|
+
dateTime?: string;
|
|
1141
|
+
as?: ElementType;
|
|
1142
|
+
}
|
|
958
1143
|
/** The resolved props Typography's styled elements receive - what `ownerState` exposes. */
|
|
959
1144
|
type TypographyOwnerState = Record<string, unknown>;
|
|
960
1145
|
/** The slots of Typography a theme can style with `styleOverrides`. */
|
|
@@ -1111,4 +1296,4 @@ interface AccordionOwnerState {
|
|
|
1111
1296
|
type AccordionSlot = 'root' | 'region';
|
|
1112
1297
|
/** What `theme.components.Accordion` takes. */
|
|
1113
1298
|
type AccordionThemeConfig = ComponentConfig<AccordionOwnerState, AccordionSlot>;
|
|
1114
|
-
export {
|
|
1299
|
+
export { TablePaginationThemeConfig as $, ButtonShape as $i, LinearProgressThemeConfig as $n, StyleSheet as $r, RangeInputThemeConfig as $t, TextInputColor as A, AccordionSummarySlot as Aa, PaperThemeConfig as Ai, NativeSelectOwnerState as An, DrawerOwnerState as Ar, SnackbarOwnerState as At, TabsThemeConfig as B, AccordionActionsThemeConfig as Ba, CheckboxOwnerState as Bi, MenuListSlot as Bn, PaperElevation as Br, SidebarSlot as Bt, ToggleButtonGroupOwnerState as C, AlertTitleOwnerState as Ca, ViewColorToken as Ci, NavTreeThemeConfig as Cn, FocusTrapThemeConfig as Cr, TabPanelThemeConfig as Ct, ToggleButtonSlot as D, AlertSlot as Da, ViewThemeConfig as Di, NavGroupOwnerState as Dn, FabOwnerState as Dr, SwitchOwnerState as Dt, ToggleButtonOwnerState as E, AlertOwnerState as Ea, ViewSlot as Ei, NavLinkThemeConfig as En, FabMenuThemeConfig as Er, TabThemeConfig as Et, TextInputTextColor as F, AccordionDetailsOwnerState as Fa, CircularProgressSlot as Fi, ModalProps as Fn, ContextMenuThemeConfig as Fr, SkeletonThemeConfig as Ft, TableRowOwnerState as G, CardThemeConfig as Gi, MenuDividerOwnerState as Gn, FlexSlot as Gr, ScrollAreaOwnerState as Gt, TableSortLabelOwnerState as H, SlotProps as Ha, CheckboxThemeConfig as Hi, MenuItemOwnerState as Hn, Flex as Hr, SelectOwnerState as Ht, TextInputThemeConfig as I, AccordionDetailsSlot as Ia, CircularProgressThemeConfig as Ii, ModalScroll as In, MenuOwnerState as Ir, SidebarItemOwnerState as It, TablePaginationActionsOwnerState as J, ButtonGroupThemeConfig as Ji, LinkOwnerState as Jn, styled as Jr, RatingOwnerState as Jt, TableRowSlot as K, ButtonGroupOwnerState as Ki, MenuDividerSlot as Kn, FlexThemeConfig as Kr, ScrollAreaSlot as Kt, TextInputVariant as L, AccordionDetailsThemeConfig as La, ChipOwnerState as Li, ModalSlot as Ln, MenuSlot as Lr, SidebarItemSlot as Lt, TextInputProps as M, AccordionGroupOwnerState as Ma, CollapseSlot as Mi, NativeSelectThemeConfig as Mn, DrawerThemeConfig as Mr, SnackbarThemeConfig as Mt, TextInputSize as N, AccordionGroupSlot as Na, CollapseThemeConfig as Ni, ModalCloseReason as Nn, ContextMenuOwnerState as Nr, SkeletonOwnerState as Nt, ToggleButtonThemeConfig as O, AlertThemeConfig as Oa, PaperOwnerState as Oi, NavGroupSlot as On, FabSlot as Or, SwitchSlot as Ot, TextInputSlot as P, AccordionGroupThemeConfig as Pa, CircularProgressOwnerState as Pi, ModalOwnerState as Pn, ContextMenuSlot as Pr, SkeletonSlot as Pt, TablePaginationSlot as Q, ButtonProps as Qi, LinearProgressSlot as Qn, LiveValue as Qr, RangeInputSlot as Qt, TabsOwnerState as R, AccordionActionsOwnerState as Ra, ChipSlot as Ri, ModalThemeConfig as Rn, MenuThemeConfig as Rr, SidebarItemThemeConfig as Rt, TooltipThemeConfig as S, AppBarThemeConfig as Sa, ViewBorderWidthToken as Si, NavTreeSlot as Sn, FocusTrapSlot as Sr, TabPanelSlot as St, ToggleButtonGroupThemeConfig as T, AlertTitleThemeConfig as Ta, ViewProps as Ti, NavLinkSlot as Tn, FabMenuSlot as Tr, TabSlot as Tt, TableSortLabelSlot as U, StrictStyled as Ua, CardOwnerState as Ui, MenuItemSlot as Un, FlexOwnerState as Ur, SelectSlot as Ut, TabsVariant as V, SlotOverride as Va, CheckboxSlot as Vi, MenuListThemeConfig as Vn, PaperProps as Vr, SidebarThemeConfig as Vt, TableSortLabelThemeConfig as W, StyleOverride as Wa, CardSlot as Wi, MenuItemThemeConfig as Wn, FlexProps as Wr, SelectThemeConfig as Wt, TablePaginationActionsThemeConfig as X, ButtonLoadingPosition as Xi, LinkThemeConfig as Xn, useDefaultProps as Xr, RatingThemeConfig as Xt, TablePaginationActionsSlot as Y, ButtonColor as Yi, LinkSlot as Yn, useMediaQuery as Yr, RatingSlot as Yt, TablePaginationOwnerState as Z, ButtonOwnerState as Zi, LinearProgressOwnerState as Zn, Global as Zr, RangeInputOwnerState as Zt, TransferListOwnerState as _, AutocompleteOwnerState as _a, Exact as _i, PaginationThemeConfig as _n, FormControlThemeConfig as _r, TableThemeConfig as _t, CSSObject as a, BreadcrumbsOwnerState as aa, fallback as ai, QuoteThemeConfig as an, IconThemeConfig as ar, TableFooterThemeConfig as at, TooltipOwnerState as b, AppBarOwnerState as ba, ViewBorderColorToken as bi, NumberInputThemeConfig as bn, FormThemeConfig as br, TabScrollButtonThemeConfig as bt, ThemeComponents as c, BadgeOwnerState as ca, setNonceSource as ci, PressableThemeConfig as cn, GridThemeConfig as cr, TableContainerThemeConfig as ct, TypographyAlign as d, BackdropOwnerState as da, useTheme as di, PopoverThemeConfig as dn, FormLabelThemeConfig as dr, TableCellThemeConfig as dt, ButtonSize as ea, alpha as ei, RadioOwnerState as en, ImageOwnerState as er, TableHeadOwnerState as et, TypographyOwnerState as f, BackdropSlot as fa, val as fi, PaginationItemOwnerState as fn, FormHelperTextOwnerState as fr, TableBodyOwnerState as ft, TypographyVariant as g, AvatarThemeConfig as ga, ThemeProvider$1 as gi, PaginationSlot as gn, FormControlSlot as gr, TableSlot as gt, TypographyThemeConfig as h, AvatarSlot as ha, withTheme as hi, PaginationOwnerState as hn, FormControlOwnerState as hr, TableOwnerState as ht, AppTheme as i, GapToken$1 as ia, defineTheme as ii, QuoteSlot as in, IconSlot as ir, TableFooterSlot as it, TextInputOwnerState as j, AccordionSummaryThemeConfig as ja, CollapseOwnerState as ji, NativeSelectSlot as jn, DrawerSlot as jr, SnackbarSlot as jt, TextInputClasses as k, AccordionSummaryOwnerState as ka, PaperSlot as ki, NavGroupThemeConfig as kn, FabThemeConfig as kr, SwitchThemeConfig as kt, BackgroundToken as l, BadgeSlot as la, useStyle as li, PopoverOwnerState as ln, FormLabelOwnerState as lr, TableCellOwnerState as lt, TypographySlot as m, AvatarOwnerState as ma, withStyle as mi, PaginationItemThemeConfig as mn, FormHelperTextThemeConfig as mr, TableBodyThemeConfig as mt, AccordionSlot as n, ButtonThemeConfig as na, configureEngine as ni, RadioThemeConfig as nn, ImageThemeConfig as nr, TableHeadThemeConfig as nt, ComponentConfig as o, BreadcrumbsSlot as oa, keyframes as oi, PressableOwnerState as on, GridOwnerState as or, TableContainerOwnerState as ot, TypographyProps as p, BackdropThemeConfig as pa, variable as pi, PaginationItemSlot as pn, FormHelperTextSlot as pr, TableBodySlot as pt, TableRowThemeConfig as q, ButtonGroupSlot as qi, MenuDividerThemeConfig as qn, GapToken as qr, ScrollAreaThemeConfig as qt, AccordionThemeConfig as r, ButtonVariant as ra, css as ri, QuoteOwnerState as rn, IconOwnerState as rr, TableFooterOwnerState as rt, Theme as s, BreadcrumbsThemeConfig as sa, negate as si, PressableSlot as sn, GridSlot as sr, TableContainerSlot as st, AccordionOwnerState as t, ButtonSlot as ta, asIs as ti, RadioSlot as tn, ImageSlot as tr, TableHeadSlot as tt, TextColorToken as u, BadgeThemeConfig as ua, useStyleValue as ui, PopoverSlot as un, FormLabelSlot as ur, TableCellSlot as ut, TransferListSlot as v, AutocompleteSlot as va, View as vi, NumberInputOwnerState as vn, FormOwnerState as vr, TabScrollButtonOwnerState as vt, ToggleButtonGroupSlot as w, AlertTitleSlot as wa, ViewOwnerState as wi, NavLinkOwnerState as wn, FabMenuOwnerState as wr, TabOwnerState as wt, TooltipSlot as x, AppBarSlot as xa, ViewBorderRadiusToken as xi, NavTreeOwnerState as xn, FocusTrapOwnerState as xr, TabPanelOwnerState as xt, TransferListThemeConfig as y, AutocompleteThemeConfig as ya, ViewBackgroundToken as yi, NumberInputSlot as yn, FormSlot as yr, TabScrollButtonSlot as yt, TabsSlot as z, AccordionActionsSlot as za, ChipThemeConfig as zi, MenuListOwnerState as zn, Paper as zr, SidebarOwnerState as zt };
|
package/dist/Alert.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const require_styled = require("./styled-
|
|
3
|
+
const require_styled = require("./styled-Dr3_OY1-.cjs");
|
|
4
4
|
const require_overrides = require("./overrides-DeXScOFK.cjs");
|
|
5
5
|
const require_useDefaultProps = require("./useDefaultProps-DratGGIL.cjs");
|
|
6
|
-
const require_Icon = require("./Icon-
|
|
6
|
+
const require_Icon = require("./Icon-DPIqGixm.cjs");
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
let _gild_ui_core_utils = require("@gild-ui/core/utils");
|
|
9
9
|
let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
|
package/dist/Alert.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ca as AlertTitleOwnerState, D as Theme, Da as AlertSlot, Ea as AlertOwnerState, Oa as AlertThemeConfig, Ta as AlertTitleThemeConfig, ia as StyleOverride, na as SlotProps, wa as AlertTitleSlot } from "./index-DPQxIeZF.cjs";
|
|
2
2
|
import { MouseEvent, ReactNode } from "react";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
export type AlertSeverity = 'success' | 'info' | 'warning' | 'error';
|
package/dist/Alert.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ca as AlertTitleOwnerState, Da as AlertSlot, Ea as AlertOwnerState, Ha as SlotProps, Oa as AlertThemeConfig, Ta as AlertTitleThemeConfig, Wa as StyleOverride, s as Theme, wa as AlertTitleSlot } from "./Accordion.types-DxvwAfZc.mjs";
|
|
2
2
|
import { MouseEvent, ReactNode } from "react";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
export type AlertSeverity = 'success' | 'info' | 'warning' | 'error';
|
package/dist/Alert.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { i as alpha } from "./styleEngine-CLid4cmR.mjs";
|
|
3
|
-
import { t as styled } from "./styled-
|
|
3
|
+
import { t as styled } from "./styled-tLHNvicL.mjs";
|
|
4
4
|
import { t as mergeOverrides } from "./overrides-Ds6QZL5Q.mjs";
|
|
5
5
|
import "./themes-BtfQPcbo.mjs";
|
|
6
6
|
import { t as useDefaultProps } from "./useDefaultProps-BTQGhvfY.mjs";
|
|
7
|
-
import { t as Icon } from "./Icon-
|
|
7
|
+
import { t as Icon } from "./Icon-DBgqmUb3.mjs";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import { getSurfaceRadius } from "@gild-ui/core/utils";
|
|
10
10
|
import { createShouldForwardProp, props } from "@soroush.tech/styled-system/should-forward-prop";
|
package/dist/AppBar.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_styled = require("./styled-
|
|
2
|
+
const require_styled = require("./styled-Dr3_OY1-.cjs");
|
|
3
3
|
const require_overrides = require("./overrides-DeXScOFK.cjs");
|
|
4
4
|
const require_Flex = require("./Flex.cjs");
|
|
5
5
|
let _gild_ui_core_theme = require("@gild-ui/core/theme");
|
package/dist/AppBar.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as Theme,
|
|
1
|
+
import { D as Theme, Sa as AppBarThemeConfig, ba as AppBarOwnerState, na as SlotProps, ui as FlexProps, xa as AppBarSlot } from "./index-DPQxIeZF.cjs";
|
|
2
2
|
/** Valid values for the color prop - derived from theme.background keys. */
|
|
3
3
|
export type AppBarColor = keyof Theme['background'];
|
|
4
4
|
export type AppBarPosition = 'absolute' | 'fixed' | 'relative' | 'static' | 'sticky';
|
package/dist/AppBar.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ha as SlotProps, Sa as AppBarThemeConfig, Wr as FlexProps, ba as AppBarOwnerState, s as Theme, xa as AppBarSlot } from "./Accordion.types-DxvwAfZc.mjs";
|
|
2
2
|
/** Valid values for the color prop - derived from theme.background keys. */
|
|
3
3
|
export type AppBarColor = keyof Theme['background'];
|
|
4
4
|
export type AppBarPosition = 'absolute' | 'fixed' | 'relative' | 'static' | 'sticky';
|
package/dist/AppBar.mjs
CHANGED
package/dist/Autocomplete.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const require_styled = require("./styled-
|
|
3
|
+
const require_styled = require("./styled-Dr3_OY1-.cjs");
|
|
4
4
|
const require_overrides = require("./overrides-DeXScOFK.cjs");
|
|
5
5
|
const require_useDefaultProps = require("./useDefaultProps-DratGGIL.cjs");
|
|
6
6
|
const require_inputVariantStyles = require("./inputVariantStyles-CqCQatKb.cjs");
|
|
7
7
|
const require_FormControl = require("./FormControl.cjs");
|
|
8
8
|
const require_FormControlContext = require("./FormControlContext-Btvm04Sj.cjs");
|
|
9
9
|
const require_Chip = require("./Chip.cjs");
|
|
10
|
-
const require_Icon = require("./Icon-
|
|
10
|
+
const require_Icon = require("./Icon-DPIqGixm.cjs");
|
|
11
11
|
const require_Portal = require("./Portal.cjs");
|
|
12
12
|
const require_useAnchoredPlacement = require("./useAnchoredPlacement-CSotv28V.cjs");
|
|
13
13
|
let react = require("react");
|
package/dist/Autocomplete.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as Theme, _a as AutocompleteOwnerState, ia as StyleOverride, na as SlotProps, va as AutocompleteSlot, ya as AutocompleteThemeConfig } from "./index-DPQxIeZF.cjs";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
/** One value for a single field, a list for `multiple`. */
|
package/dist/Autocomplete.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ha as SlotProps, Wa as StyleOverride, _a as AutocompleteOwnerState, s as Theme, va as AutocompleteSlot, ya as AutocompleteThemeConfig } from "./Accordion.types-DxvwAfZc.mjs";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
/** One value for a single field, a list for `multiple`. */
|
package/dist/Autocomplete.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as styled } from "./styled-
|
|
2
|
+
import { t as styled } from "./styled-tLHNvicL.mjs";
|
|
3
3
|
import { t as mergeOverrides } from "./overrides-Ds6QZL5Q.mjs";
|
|
4
4
|
import "./themes-BtfQPcbo.mjs";
|
|
5
5
|
import { t as useDefaultProps } from "./useDefaultProps-BTQGhvfY.mjs";
|
|
@@ -8,7 +8,7 @@ import { n as getFocusRing, r as getInputMinWidth, t as inputVariantStyles } fro
|
|
|
8
8
|
import { useFormControl } from "./FormControl.mjs";
|
|
9
9
|
import { t as FormControlContext } from "./FormControlContext-CaQLS_sK.mjs";
|
|
10
10
|
import { Chip } from "./Chip.mjs";
|
|
11
|
-
import { t as Icon } from "./Icon-
|
|
11
|
+
import { t as Icon } from "./Icon-DBgqmUb3.mjs";
|
|
12
12
|
import { Portal } from "./Portal.mjs";
|
|
13
13
|
import { t as useAnchoredPlacement } from "./useAnchoredPlacement-VwHtXnAx.mjs";
|
|
14
14
|
import { Fragment, createElement, useCallback, useContext, useEffect, useId, useRef, useState } from "react";
|
package/dist/Avatar.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const require_styled = require("./styled-
|
|
3
|
+
const require_styled = require("./styled-Dr3_OY1-.cjs");
|
|
4
4
|
const require_overrides = require("./overrides-DeXScOFK.cjs");
|
|
5
5
|
const require_Flex = require("./Flex.cjs");
|
|
6
6
|
let react = require("react");
|
package/dist/Avatar.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as Theme,
|
|
1
|
+
import { D as Theme, ga as AvatarThemeConfig, ha as AvatarSlot, ma as AvatarOwnerState, na as SlotProps, ui as FlexProps } from "./index-DPQxIeZF.cjs";
|
|
2
2
|
export type AvatarVariant = 'circular' | 'rounded' | 'square';
|
|
3
3
|
export type AvatarSize = keyof Theme['avatar'];
|
|
4
4
|
export type AvatarRingColor = keyof Theme['border'];
|
package/dist/Avatar.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ha as SlotProps, Wr as FlexProps, ga as AvatarThemeConfig, ha as AvatarSlot, ma as AvatarOwnerState, s as Theme } from "./Accordion.types-DxvwAfZc.mjs";
|
|
2
2
|
export type AvatarVariant = 'circular' | 'rounded' | 'square';
|
|
3
3
|
export type AvatarSize = keyof Theme['avatar'];
|
|
4
4
|
export type AvatarRingColor = keyof Theme['border'];
|
package/dist/Avatar.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as styled } from "./styled-
|
|
2
|
+
import { t as styled } from "./styled-tLHNvicL.mjs";
|
|
3
3
|
import { t as mergeOverrides } from "./overrides-Ds6QZL5Q.mjs";
|
|
4
4
|
import "./themes-BtfQPcbo.mjs";
|
|
5
5
|
import { _ as useTheme } from "./styleEngine-CLid4cmR.mjs";
|
package/dist/Backdrop.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_styled = require("./styled-
|
|
2
|
+
const require_styled = require("./styled-Dr3_OY1-.cjs");
|
|
3
3
|
const require_overrides = require("./overrides-DeXScOFK.cjs");
|
|
4
|
-
const require_View = require("./View-
|
|
4
|
+
const require_View = require("./View-DFnZ41Xe.cjs");
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
6
|
// src/Backdrop/Backdrop.tsx
|
|
7
7
|
const BackdropRoot = require_styled.styled(require_View.View, {
|
package/dist/Backdrop.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { da as BackdropOwnerState, fa as BackdropSlot, na as SlotProps, pa as BackdropThemeConfig, xi as ViewProps } from "./index-DPQxIeZF.cjs";
|
|
2
2
|
export interface BackdropProps extends ViewProps {
|
|
3
3
|
/** Overrides for the slots a theme can style: `style`, `className`, `data-*` and `aria-*`. */
|
|
4
4
|
slotProps?: SlotProps<BackdropSlot>;
|