@gild-ui/react 0.1.0-alpha.1 → 0.1.0-alpha.3
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/README.md +2 -0
- package/dist/Accordion.d.cts +1 -1
- package/dist/Accordion.d.mts +2 -2
- package/dist/Accordion.mjs +3 -3
- package/dist/{Accordion.types-DxvwAfZc.d.mts → Accordion.types-D9BgLxCR.d.mts} +31 -24
- package/dist/Alert.d.cts +1 -1
- package/dist/Alert.d.mts +1 -1
- package/dist/Alert.mjs +3 -3
- package/dist/AppBar.d.cts +1 -1
- package/dist/AppBar.d.mts +1 -1
- package/dist/Autocomplete.d.cts +1 -1
- package/dist/Autocomplete.d.mts +1 -1
- package/dist/Autocomplete.mjs +3 -3
- package/dist/Avatar.d.cts +1 -1
- package/dist/Avatar.d.mts +1 -1
- package/dist/Avatar.mjs +1 -1
- package/dist/Backdrop.d.cts +1 -1
- package/dist/Backdrop.d.mts +1 -1
- package/dist/Badge.cjs +2 -1
- package/dist/Badge.d.cts +1 -1
- package/dist/Badge.d.mts +1 -1
- package/dist/Badge.mjs +3 -2
- package/dist/Breadcrumbs.d.cts +1 -1
- package/dist/Breadcrumbs.d.mts +2 -2
- package/dist/Breadcrumbs.mjs +3 -3
- package/dist/Button.d.cts +1 -1
- package/dist/Button.d.mts +2 -2
- package/dist/Button.mjs +2 -2
- package/dist/ButtonGroup.d.cts +1 -1
- package/dist/ButtonGroup.d.mts +2 -2
- package/dist/ButtonGroup.mjs +1 -1
- package/dist/CacheProvider.mjs +1 -1
- package/dist/Card.d.cts +2 -2
- package/dist/Card.d.mts +4 -4
- package/dist/Card.mjs +3 -3
- 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.d.cts +1 -1
- package/dist/Chip.d.mts +1 -1
- package/dist/Chip.mjs +3 -3
- package/dist/CircularProgress.d.cts +1 -1
- package/dist/CircularProgress.d.mts +2 -2
- package/dist/CircularProgress.mjs +1 -1
- package/dist/Collapse.d.cts +2 -2
- package/dist/Collapse.d.mts +2 -2
- package/dist/Collapse.mjs +2 -2
- package/dist/Direction.cjs +8 -0
- package/dist/Direction.d.cts +2 -0
- package/dist/Direction.d.mts +2 -0
- package/dist/Direction.mjs +1 -0
- package/dist/Drawer.d.cts +1 -1
- package/dist/Drawer.d.mts +3 -3
- package/dist/Drawer.mjs +1 -1
- package/dist/Fab.d.cts +1 -1
- package/dist/Fab.d.mts +2 -2
- package/dist/Fab.mjs +1 -1
- package/dist/FabMenu.d.cts +1 -1
- package/dist/FabMenu.d.mts +2 -2
- package/dist/FabMenu.mjs +3 -3
- package/dist/Fade.d.cts +1 -1
- package/dist/Fade.d.mts +1 -1
- package/dist/Fade.mjs +1 -1
- package/dist/Flex.d.cts +1 -1
- package/dist/Flex.d.mts +1 -1
- package/dist/FocusTrap.d.cts +1 -1
- package/dist/FocusTrap.d.mts +1 -1
- package/dist/Form.d.cts +1 -1
- package/dist/Form.d.mts +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.d.cts +1 -1
- package/dist/FormHelperText.d.mts +2 -2
- package/dist/FormLabel.d.cts +1 -1
- package/dist/FormLabel.d.mts +2 -2
- package/dist/Global.d.cts +1 -1
- package/dist/Global.d.mts +1 -1
- package/dist/Global.mjs +1 -1
- package/dist/Grid.d.cts +1 -4
- package/dist/Grid.d.mts +1 -4
- package/dist/Grow.d.cts +1 -1
- package/dist/Grow.d.mts +1 -1
- package/dist/Grow.mjs +1 -1
- package/dist/{Icon-DBgqmUb3.mjs → Icon-D1gwHK1a.mjs} +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.d.cts +1 -1
- package/dist/Image.d.mts +1 -1
- package/dist/{LayoutProvider-Eb5Vp2BZ.mjs → LayoutProvider-B5BcHN00.mjs} +1 -1
- package/dist/LayoutProvider.mjs +1 -1
- package/dist/LinearProgress.d.cts +1 -1
- package/dist/LinearProgress.d.mts +2 -2
- package/dist/LinearProgress.mjs +1 -1
- package/dist/Link.d.cts +1 -1
- package/dist/Link.d.mts +2 -2
- package/dist/Link.mjs +1 -1
- package/dist/{Menu-Ca7aUnLg.mjs → Menu-Bl9AnuYs.mjs} +3 -3
- package/dist/Menu.d.cts +2 -2
- package/dist/Menu.d.mts +3 -3
- package/dist/Menu.mjs +4 -4
- package/dist/{MenuItem-w7D1-AYW.mjs → MenuItem-BJclGwrq.mjs} +4 -4
- package/dist/MenuItem.d.cts +2 -2
- package/dist/MenuItem.d.mts +2 -2
- package/dist/MenuItem.mjs +1 -1
- package/dist/Modal.d.cts +1 -1
- package/dist/Modal.d.mts +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 +5 -4
- package/dist/NavTree.d.cts +1 -1
- package/dist/NavTree.d.mts +1 -1
- package/dist/NavTree.mjs +7 -6
- package/dist/NumberInput.d.cts +1 -1
- package/dist/NumberInput.d.mts +1 -1
- package/dist/NumberInput.mjs +3 -3
- package/dist/Pagination.cjs +3 -1
- package/dist/Pagination.d.cts +1 -1
- package/dist/Pagination.d.mts +2 -2
- package/dist/Pagination.mjs +5 -3
- package/dist/Paper.d.cts +1 -1
- package/dist/Paper.d.mts +2 -2
- package/dist/Paper.mjs +1 -1
- package/dist/{Popover-ZsN1txGi.mjs → Popover-CfSAd8YI.mjs} +1 -1
- package/dist/Popover.d.cts +1 -1
- package/dist/Popover.d.mts +3 -3
- package/dist/Popover.mjs +1 -1
- package/dist/Pressable.d.cts +1 -1
- package/dist/Pressable.d.mts +2 -2
- package/dist/Pressable.mjs +2 -2
- package/dist/Quote.d.cts +2 -5
- package/dist/Quote.d.mts +2 -5
- 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 +3 -2
- package/dist/RangeInput.d.cts +1 -1
- package/dist/RangeInput.d.mts +1 -1
- package/dist/RangeInput.mjs +6 -5
- package/dist/Rating.d.cts +1 -1
- package/dist/Rating.d.mts +1 -1
- package/dist/Rating.mjs +2 -2
- package/dist/ScrollArea.d.cts +1 -1
- package/dist/ScrollArea.d.mts +1 -1
- package/dist/ScrollArea.mjs +2 -2
- package/dist/Select.d.cts +2 -2
- package/dist/Select.d.mts +2 -2
- package/dist/Select.mjs +4 -4
- package/dist/Sidebar.d.cts +2 -2
- package/dist/Sidebar.d.mts +3 -3
- package/dist/Sidebar.mjs +2 -2
- package/dist/Skeleton.d.cts +1 -1
- package/dist/Skeleton.d.mts +1 -1
- package/dist/Skeleton.mjs +1 -1
- package/dist/Slide.d.cts +1 -1
- package/dist/Slide.d.mts +1 -1
- package/dist/Slide.mjs +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/StyleSheet.mjs +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.d.cts +2 -2
- package/dist/Table.d.mts +3 -3
- package/dist/Table.mjs +2 -2
- package/dist/Tabs.d.cts +1 -1
- package/dist/Tabs.d.mts +1 -1
- package/dist/Tabs.mjs +6 -6
- package/dist/TextInput.d.cts +1 -1
- package/dist/TextInput.d.mts +1 -1
- package/dist/TextInput.mjs +1 -1
- package/dist/{ThemeProvider-DuhfCo2F.mjs → ThemeProvider-Bys1dMk1.mjs} +1 -1
- package/dist/ThemeProvider.d.cts +1 -1
- package/dist/ThemeProvider.d.mts +1 -1
- package/dist/ThemeProvider.mjs +1 -1
- package/dist/ToggleButton.d.cts +1 -1
- package/dist/ToggleButton.d.mts +3 -3
- package/dist/ToggleButton.mjs +1 -1
- package/dist/{Tooltip-Bt5lr52c.mjs → Tooltip-CJy8re2A.mjs} +3 -3
- package/dist/Tooltip.d.cts +1 -1
- package/dist/Tooltip.d.mts +1 -1
- package/dist/Tooltip.mjs +1 -1
- package/dist/TransferList.d.cts +1 -1
- package/dist/TransferList.d.mts +1 -1
- package/dist/TransferList.mjs +2 -2
- package/dist/Typography.d.cts +1 -1
- package/dist/Typography.d.mts +2 -2
- package/dist/Typography.mjs +1 -1
- package/dist/View.d.cts +1 -1
- package/dist/View.d.mts +1 -1
- package/dist/Zoom.d.cts +1 -1
- package/dist/Zoom.d.mts +1 -1
- package/dist/Zoom.mjs +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/css.mjs +1 -1
- package/dist/engine.cjs +17 -1
- package/dist/engine.d.cts +11 -7
- package/dist/engine.d.mts +11 -7
- package/dist/engine.mjs +7 -3
- package/dist/{index-Cqse4F32.d.mts → index-BK5Ar8n0.d.mts} +2 -2
- package/dist/{index-CAMwJg71.d.mts → index-Bod39qW3.d.mts} +1 -1
- package/dist/{index-Djum1XiO.d.mts → index-C6rFzB7A.d.mts} +1 -1
- package/dist/{index-phuw9VpI.d.mts → index-CNqy6U_D.d.mts} +1 -1
- package/dist/{index-Dc7XiT_v.d.cts → index-CP18066J.d.cts} +1 -1
- package/dist/{index-B3jHcw5h.d.cts → index-Ca2px7jQ.d.cts} +1 -1
- package/dist/{index-IB1nBqEO.d.mts → index-DCfS0jjc.d.mts} +2 -2
- package/dist/{index-DtfH-dhY.d.mts → index-DLqz44Uv.d.mts} +2 -2
- package/dist/{index-CsYK-ukA.d.mts → index-DO43Pwto.d.mts} +1 -1
- package/dist/{index-D9Gg2NWm.d.mts → index-DuwQox7g.d.mts} +1 -1
- package/dist/{index-CLQt_mOa.d.mts → index-Ziqkp-mN.d.mts} +1 -1
- package/dist/{index-Bf-ZHQLG.d.mts → index-dDj2BYj-.d.mts} +2 -2
- package/dist/{index-DPQxIeZF.d.cts → index-phg5ivgg.d.cts} +29 -22
- package/dist/index-r0c0HTLB.d.mts +1 -0
- package/dist/index.cjs +7 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +6 -5
- package/dist/keyframes.d.cts +1 -1
- package/dist/keyframes.d.mts +1 -1
- package/dist/keyframes.mjs +1 -1
- package/dist/mirrored-BnvWIH18.mjs +15 -0
- package/dist/mirrored-C7vCkRBd.cjs +32 -0
- package/dist/server.mjs +1 -1
- package/dist/styleEngine-B3C0EmVQ.mjs +1 -0
- package/dist/styled.d.cts +1 -1
- package/dist/styled.d.mts +1 -1
- package/dist/{useDefaultProps-BTQGhvfY.mjs → useDefaultProps-fdTXb3rk.mjs} +1 -1
- package/dist/useDefaultProps.d.cts +1 -1
- package/dist/useDefaultProps.d.mts +1 -1
- package/dist/useDefaultProps.mjs +1 -1
- package/dist/{useLiveValue-CqiwCr56.mjs → useLiveValue-DNV2p3Op.mjs} +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/useStyle.mjs +1 -1
- package/dist/useTheme.d.cts +1 -1
- package/dist/useTheme.d.mts +1 -1
- package/dist/useTheme.mjs +1 -1
- package/dist/{useTransition-BzwifRXe.d.mts → useTransition-BuGPxbx9.d.mts} +1 -1
- package/dist/{useTransition-lt8_WKk-.d.cts → useTransition-CRYyCWcL.d.cts} +1 -1
- package/dist/{useTransitionChild-C18w474Q.mjs → useTransitionChild-BMQ1s7wj.mjs} +1 -1
- package/dist/withStyle.d.cts +1 -1
- package/dist/withStyle.d.mts +1 -1
- package/dist/withStyle.mjs +1 -1
- package/dist/withTheme.d.cts +1 -1
- package/dist/withTheme.d.mts +1 -1
- package/dist/withTheme.mjs +1 -1
- package/package.json +18 -7
- package/dist/index-yCzwpbBP.d.mts +0 -1
- package/dist/styleEngine-CLid4cmR.mjs +0 -1
package/README.md
CHANGED
|
@@ -104,6 +104,8 @@ import { catalog } from '@gild-ui/react/catalog'
|
|
|
104
104
|
|
|
105
105
|
Server rendering with critical CSS (a Vike or other static or server renderer) is a separate, opt-in concern - that's what `CacheProvider` and its paired `styleCache` instance are for. Give `CacheProvider` the `styleCache` (the cache the library's own engine writes to, so there is one cache on the page), render, then read the CSS of the page from the same cache with `styleServer` from `@gild-ui/react/server`: `extractCriticalToChunks(html)` and `constructStyleTagsFromChunks(chunks)` give the `<style data-umber>` tags to put in the head ([docs](./docs/server.md)). Next.js App Router apps collect the styles with `StyleRegistry` from `@gild-ui/react/next` instead, which also works under a strict nonce policy ([docs](./docs/next.md), and `docs/consumer/setup.md`).
|
|
106
106
|
|
|
107
|
+
Right to left is opt-in: `configure({ serverTheme, plugins: [rtl()] })` (`rtl` and `dir` are exported by `@gild-ui/react/engine`) has every class hold both directions, the page picks by the `dir` attribute of `<html>`, and `Direction` (`@gild-ui/react/Direction`) keeps an area in its own direction ([docs](./docs/engine.md#right-to-left)).
|
|
108
|
+
|
|
107
109
|
The cache key and class prefix is `soroush`. Server-rendered style elements carry `data-umber="soroush ..."`, and the live element in the browser is `<style data-style="soroush">`.
|
|
108
110
|
|
|
109
111
|
The engine packages are regular dependencies of this package, not peers, on purpose: an app installs nothing extra to render the components, and has no version to keep in step. An app never imports an engine package: what it needs of the engine is exported from this package (`StyleSheet`, `setNonceSource`, `styleCache`, `styleServer`, `StyleRegistry`).
|
package/dist/Accordion.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ba as AccordionDetailsSlot, Fa as AccordionSummaryThemeConfig, Ga as AccordionOwnerState, Ha as AccordionActionsOwnerState, Ia as AccordionGroupOwnerState, Ka as AccordionSlot, La as AccordionGroupSlot, Na as AccordionSummaryOwnerState, Pa as AccordionSummarySlot, Ra as AccordionGroupThemeConfig, Ua as AccordionActionsSlot, Va as AccordionDetailsThemeConfig, Wa as AccordionActionsThemeConfig, ca as StyleOverride, j as Theme, oa as SlotProps, qa as AccordionThemeConfig, za as AccordionDetailsOwnerState } from "./index-phg5ivgg.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 { Ba as AccordionDetailsSlot, Fa as AccordionSummaryThemeConfig, Ha as AccordionActionsOwnerState, Ia as AccordionGroupOwnerState, Ja as StyleOverride, Ka as SlotProps, La as AccordionGroupSlot, Na as AccordionSummaryOwnerState, Pa as AccordionSummarySlot, Ra as AccordionGroupThemeConfig, Ua as AccordionActionsSlot, Va as AccordionDetailsThemeConfig, Wa as AccordionActionsThemeConfig, l as Theme, n as AccordionSlot, r as AccordionThemeConfig, t as AccordionOwnerState, za as AccordionDetailsOwnerState } from "./Accordion.types-D9BgLxCR.mjs";
|
|
2
|
+
import { r as CollapseProps } from "./index-BK5Ar8n0.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
|
-
import {
|
|
2
|
+
import { p as negate } from "./styleEngine-B3C0EmVQ.mjs";
|
|
3
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
|
-
import { t as useDefaultProps } from "./useDefaultProps-
|
|
6
|
+
import { t as useDefaultProps } from "./useDefaultProps-fdTXb3rk.mjs";
|
|
7
7
|
import { Collapse } from "./Collapse.mjs";
|
|
8
|
-
import { t as Icon } from "./Icon-
|
|
8
|
+
import { t as Icon } from "./Icon-D1gwHK1a.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,8 +1,8 @@
|
|
|
1
1
|
import "./LayoutProvider-DFwC1-h0.mjs";
|
|
2
2
|
import { ButtonHTMLAttributes, CSSProperties, ChangeEventHandler, ComponentClass, ComponentProps, ComponentType, ElementType, FunctionComponent, HTMLAttributes, InputHTMLAttributes, JSX, ReactElement, ReactNode, Ref, TextareaHTMLAttributes } from "react";
|
|
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";
|
|
3
|
+
import { CSSObject as CSSObject$1, Direction, DirectionProps, Global, LiveValue, PropsOf, SheetStyleProp, StyleSheet, StyledStatics, Theme as Theme$1, ThemeRefs, 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$
|
|
5
|
+
import { ButtonVariants, InputVariantKey, OpenScale, Register, RegisteredTheme, Theme as Theme$2, 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
7
|
import { BorderProps, FlexboxProps, LayoutFrameProps, LayoutProps, PositionProps, SpaceProps, SpanProps, TypographyProps as TypographyProps$1 } from "@soroush.tech/styled-system";
|
|
8
8
|
/**
|
|
@@ -320,7 +320,6 @@ type ViewSlot = 'root';
|
|
|
320
320
|
/** What `theme.components.View` takes. */
|
|
321
321
|
type ViewThemeConfig = ComponentConfig<ViewOwnerState, ViewSlot>;
|
|
322
322
|
declare const View: StrictStyled<import("@umber-style/react").StyledComponent<import("react").ElementType, ViewProps, {
|
|
323
|
-
theme?: AppTheme;
|
|
324
323
|
as?: React.ElementType;
|
|
325
324
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & object>>;
|
|
326
325
|
/**
|
|
@@ -432,30 +431,21 @@ interface ThemeCustomizationOptions {
|
|
|
432
431
|
* `StyledTags`, with the `theme` and `as` props a styled component takes.
|
|
433
432
|
*/
|
|
434
433
|
type StyledTags = { [Tag in keyof JSX.IntrinsicElements]: CreateStyledComponent<{
|
|
435
|
-
theme?: AppTheme;
|
|
436
434
|
as?: React.ElementType;
|
|
437
|
-
}, JSX.IntrinsicElements[Tag]>; };
|
|
435
|
+
}, JSX.IntrinsicElements[Tag], object, StyleTheme>; };
|
|
438
436
|
/** Overloads mirroring the engine's, with the theme-customization options added. */
|
|
439
437
|
interface CreateThemedStyled extends StyledTags {
|
|
440
|
-
<C extends ComponentClass<ComponentProps<C>>, ForwardedProps extends keyof ComponentProps<C> & string = keyof ComponentProps<C> & string>(component: C, options: FilteringStyledOptions<ComponentProps<C>, ForwardedProps> & ThemeCustomizationOptions): CreateStyledComponent<Pick<PropsOf<C>, ForwardedProps
|
|
441
|
-
theme?: AppTheme;
|
|
442
|
-
}, {}, {
|
|
438
|
+
<C extends ComponentClass<ComponentProps<C>>, ForwardedProps extends keyof ComponentProps<C> & string = keyof ComponentProps<C> & string>(component: C, options: FilteringStyledOptions<ComponentProps<C>, ForwardedProps> & ThemeCustomizationOptions): CreateStyledComponent<Pick<PropsOf<C>, ForwardedProps>, {}, {
|
|
443
439
|
ref?: Ref<InstanceType<C>>;
|
|
444
|
-
}>;
|
|
445
|
-
<C extends ComponentType<ComponentProps<C>>, ForwardedProps extends keyof ComponentProps<C> & string = keyof ComponentProps<C> & string>(component: C, options: FilteringStyledOptions<ComponentProps<C>, ForwardedProps> & ThemeCustomizationOptions): CreateStyledComponent<Pick<PropsOf<C>, ForwardedProps
|
|
446
|
-
|
|
447
|
-
}>;
|
|
448
|
-
<C extends ComponentType<ComponentProps<C>>>(component: C, options?: StyledOptions<ComponentProps<C>> & ThemeCustomizationOptions): CreateStyledComponent<PropsOf<C> & {
|
|
449
|
-
theme?: AppTheme;
|
|
450
|
-
}>;
|
|
440
|
+
}, StyleTheme>;
|
|
441
|
+
<C extends ComponentType<ComponentProps<C>>, ForwardedProps extends keyof ComponentProps<C> & string = keyof ComponentProps<C> & string>(component: C, options: FilteringStyledOptions<ComponentProps<C>, ForwardedProps> & ThemeCustomizationOptions): CreateStyledComponent<Pick<PropsOf<C>, ForwardedProps>, object, object, StyleTheme>;
|
|
442
|
+
<C extends ComponentType<ComponentProps<C>>>(component: C, options?: StyledOptions<ComponentProps<C>> & ThemeCustomizationOptions): CreateStyledComponent<PropsOf<C> & object, object, object, StyleTheme>;
|
|
451
443
|
<Tag extends keyof JSX.IntrinsicElements, ForwardedProps extends keyof JSX.IntrinsicElements[Tag] & string = keyof JSX.IntrinsicElements[Tag] & string>(tag: Tag, options: FilteringStyledOptions<JSX.IntrinsicElements[Tag], ForwardedProps> & ThemeCustomizationOptions): CreateStyledComponent<{
|
|
452
|
-
theme?: AppTheme;
|
|
453
444
|
as?: React.ElementType;
|
|
454
|
-
}, Pick<JSX.IntrinsicElements[Tag], ForwardedProps
|
|
445
|
+
}, Pick<JSX.IntrinsicElements[Tag], ForwardedProps>, object, StyleTheme>;
|
|
455
446
|
<Tag extends keyof JSX.IntrinsicElements>(tag: Tag, options?: StyledOptions<JSX.IntrinsicElements[Tag]> & ThemeCustomizationOptions): CreateStyledComponent<{
|
|
456
|
-
theme?: AppTheme;
|
|
457
447
|
as?: React.ElementType;
|
|
458
|
-
}, JSX.IntrinsicElements[Tag]>;
|
|
448
|
+
}, JSX.IntrinsicElements[Tag], object, StyleTheme>;
|
|
459
449
|
}
|
|
460
450
|
/**
|
|
461
451
|
* The design system's `styled` - the engine's styled plus theme-level component
|
|
@@ -477,7 +467,6 @@ type FlexSlot = 'root';
|
|
|
477
467
|
/** What `theme.components.Flex` takes. */
|
|
478
468
|
type FlexThemeConfig = ComponentConfig<FlexOwnerState, FlexSlot>;
|
|
479
469
|
declare const Flex: StrictStyled<import("@umber-style/react").StyledComponent<import("react").ElementType, FlexProps, Omit<Omit<{
|
|
480
|
-
theme?: AppTheme;
|
|
481
470
|
as?: React.ElementType;
|
|
482
471
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & object, "as" | keyof ViewProps> & Omit<ViewProps, "style"> & {
|
|
483
472
|
as?: "a" | "abbr" | "address" | "animate" | "animateMotion" | "animateTransform" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "circle" | "cite" | "clipPath" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "defs" | "del" | "desc" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "ellipse" | "em" | "embed" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "fieldset" | "figcaption" | "figure" | "filter" | "footer" | "foreignObject" | "form" | "g" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "image" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "line" | "linearGradient" | "link" | "main" | "map" | "mark" | "marker" | "mask" | "menu" | "menuitem" | "meta" | "metadata" | "meter" | "mpath" | "nav" | "noindex" | "noscript" | "object" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "path" | "pattern" | "picture" | "polygon" | "polyline" | "pre" | "progress" | "q" | "radialGradient" | "rect" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "search" | "section" | "select" | "set" | "slot" | "small" | "source" | "span" | "stop" | "strong" | "style" | "sub" | "summary" | "sup" | "svg" | "switch" | "symbol" | "table" | "tbody" | "td" | "template" | "text" | "textPath" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "tspan" | "u" | "ul" | "use" | "var" | "video" | "view" | "wbr" | "webview" | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
|
@@ -485,8 +474,6 @@ declare const Flex: StrictStyled<import("@umber-style/react").StyledComponent<im
|
|
|
485
474
|
}, "slotProps" | "style"> & {
|
|
486
475
|
style?: StyleOverride;
|
|
487
476
|
slotProps?: SlotProps<'root'>;
|
|
488
|
-
} & {
|
|
489
|
-
theme?: AppTheme;
|
|
490
477
|
} & object>>;
|
|
491
478
|
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;
|
|
492
479
|
interface PaperProps extends FlexProps {
|
|
@@ -1277,7 +1264,7 @@ interface ComponentConfig<OwnerState = Record<string, unknown>, Slot extends str
|
|
|
1277
1264
|
readonly $owner?: OwnerState;
|
|
1278
1265
|
}
|
|
1279
1266
|
/** The core's theme, with the typing of `theme.components` that the libraries and the app add. */
|
|
1280
|
-
interface Theme extends Theme$
|
|
1267
|
+
interface Theme extends Theme$2 {
|
|
1281
1268
|
/** Optional per-component customization - see `ThemeComponents`. */
|
|
1282
1269
|
components?: OpenScale<ThemeComponents>;
|
|
1283
1270
|
}
|
|
@@ -1285,6 +1272,26 @@ interface Theme extends Theme$1 {
|
|
|
1285
1272
|
type GildTheme = Theme;
|
|
1286
1273
|
/** The theme the app registered (see `Register` in the core), or this package's `Theme` when it registered none. */
|
|
1287
1274
|
type AppTheme = RegisteredTheme<Theme>;
|
|
1275
|
+
/** The parts of the theme that a style function reads as they are: the same ones `baseTheme` marks with `asIs`. */
|
|
1276
|
+
interface StyleThemeModes {
|
|
1277
|
+
readonly $modes: {
|
|
1278
|
+
readonly defaults: 'asIs';
|
|
1279
|
+
readonly typography: 'asIs';
|
|
1280
|
+
readonly sizes: 'asIs';
|
|
1281
|
+
readonly layout: 'asIs';
|
|
1282
|
+
readonly transitions: 'asIs';
|
|
1283
|
+
};
|
|
1284
|
+
}
|
|
1285
|
+
/**
|
|
1286
|
+
* The theme a style function is given (`styled`, `StyleSheet.create`, `keyframes`, `Global`): each token
|
|
1287
|
+
* is the CSS variable that holds it, and the parts that are not CSS values (`sizes`, `typography`,
|
|
1288
|
+
* `layout`, `transitions`, `breakpoints`, `components`, `defaults`) are what they are. A function given to
|
|
1289
|
+
* `Global`, `StyleSheet.create` or `keyframes` (the engine's own, with no modes of the theme) is given
|
|
1290
|
+
* `EngineStyleTheme`.
|
|
1291
|
+
*/
|
|
1292
|
+
type StyleTheme = ThemeRefs<AppTheme & StyleThemeModes>;
|
|
1293
|
+
/** The theme the engine hands a style function it was not told the modes for: `Global`, `StyleSheet.create`, `keyframes`. */
|
|
1294
|
+
type EngineStyleTheme = ThemeRefs<Theme$1>;
|
|
1288
1295
|
/** The defaults a theme may set for every `Accordion`. */
|
|
1289
1296
|
interface AccordionOwnerState {
|
|
1290
1297
|
hasGutters?: boolean;
|
|
@@ -1296,4 +1303,4 @@ interface AccordionOwnerState {
|
|
|
1296
1303
|
type AccordionSlot = 'root' | 'region';
|
|
1297
1304
|
/** What `theme.components.Accordion` takes. */
|
|
1298
1305
|
type AccordionThemeConfig = ComponentConfig<AccordionOwnerState, AccordionSlot>;
|
|
1299
|
-
export {
|
|
1306
|
+
export { TablePaginationOwnerState as $, ButtonColor as $i, LinearProgressOwnerState as $n, Direction as $r, RangeInputOwnerState as $t, ToggleButtonThemeConfig as A, AlertOwnerState as Aa, ViewSlot as Ai, NavGroupSlot as An, FabSlot as Ar, SwitchSlot as At, TabsOwnerState as B, AccordionDetailsSlot as Ba, CircularProgressThemeConfig as Bi, ModalThemeConfig as Bn, MenuThemeConfig as Br, SidebarItemThemeConfig as Bt, TooltipSlot as C, AutocompleteThemeConfig as Ca, ViewBackgroundToken as Ci, NavTreeOwnerState as Cn, FocusTrapOwnerState as Cr, TabPanelOwnerState as Ct, ToggleButtonGroupThemeConfig as D, AlertTitleOwnerState as Da, ViewColorToken as Di, NavLinkSlot as Dn, FabMenuSlot as Dr, TabSlot as Dt, ToggleButtonGroupSlot as E, AppBarThemeConfig as Ea, ViewBorderWidthToken as Ei, NavLinkOwnerState as En, FabMenuOwnerState as Er, TabOwnerState as Et, TextInputSize as F, AccordionSummaryThemeConfig as Fa, CollapseOwnerState as Fi, ModalCloseReason as Fn, ContextMenuOwnerState as Fr, SkeletonOwnerState as Ft, TableSortLabelSlot as G, SlotOverride as Ga, CheckboxSlot as Gi, MenuItemSlot as Gn, FlexOwnerState as Gr, SelectSlot as Gt, TabsThemeConfig as H, AccordionActionsOwnerState as Ha, ChipSlot as Hi, MenuListSlot as Hn, PaperElevation as Hr, SidebarSlot as Ht, TextInputSlot as I, AccordionGroupOwnerState as Ia, CollapseSlot as Ii, ModalOwnerState as In, ContextMenuSlot as Ir, SkeletonSlot as It, TableRowSlot as J, StyleOverride as Ja, CardSlot as Ji, MenuDividerSlot as Jn, FlexThemeConfig as Jr, ScrollAreaSlot as Jt, TableSortLabelThemeConfig as K, SlotProps as Ka, CheckboxThemeConfig as Ki, MenuItemThemeConfig as Kn, FlexProps as Kr, SelectThemeConfig as Kt, TextInputTextColor as L, AccordionGroupSlot as La, CollapseThemeConfig as Li, ModalProps as Ln, ContextMenuThemeConfig as Lr, SkeletonThemeConfig as Lt, TextInputColor as M, AlertThemeConfig as Ma, PaperOwnerState as Mi, NativeSelectOwnerState as Mn, DrawerOwnerState as Mr, SnackbarOwnerState as Mt, TextInputOwnerState as N, AccordionSummaryOwnerState as Na, PaperSlot as Ni, NativeSelectSlot as Nn, DrawerSlot as Nr, SnackbarSlot as Nt, ToggleButtonOwnerState as O, AlertTitleSlot as Oa, ViewOwnerState as Oi, NavLinkThemeConfig as On, FabMenuThemeConfig as Or, TabThemeConfig as Ot, TextInputProps as P, AccordionSummarySlot as Pa, PaperThemeConfig as Pi, NativeSelectThemeConfig as Pn, DrawerThemeConfig as Pr, SnackbarThemeConfig as Pt, TablePaginationActionsThemeConfig as Q, ButtonGroupThemeConfig as Qi, LinkThemeConfig as Qn, useDefaultProps as Qr, RatingThemeConfig as Qt, TextInputThemeConfig as R, AccordionGroupThemeConfig as Ra, CircularProgressOwnerState as Ri, ModalScroll as Rn, MenuOwnerState as Rr, SidebarItemOwnerState as Rt, TooltipOwnerState as S, AutocompleteSlot as Sa, View as Si, NumberInputThemeConfig as Sn, FormThemeConfig as Sr, TabScrollButtonThemeConfig as St, ToggleButtonGroupOwnerState as T, AppBarSlot as Ta, ViewBorderRadiusToken as Ti, NavTreeThemeConfig as Tn, FocusTrapThemeConfig as Tr, TabPanelThemeConfig as Tt, TabsVariant as U, AccordionActionsSlot as Ua, ChipThemeConfig as Ui, MenuListThemeConfig as Un, PaperProps as Ur, SidebarThemeConfig as Ut, TabsSlot as V, AccordionDetailsThemeConfig as Va, ChipOwnerState as Vi, MenuListOwnerState as Vn, Paper as Vr, SidebarOwnerState as Vt, TableSortLabelOwnerState as W, AccordionActionsThemeConfig as Wa, CheckboxOwnerState as Wi, MenuItemOwnerState as Wn, Flex as Wr, SelectOwnerState as Wt, TablePaginationActionsOwnerState as X, ButtonGroupOwnerState as Xi, LinkOwnerState as Xn, styled as Xr, RatingOwnerState as Xt, TableRowThemeConfig as Y, CardThemeConfig as Yi, MenuDividerThemeConfig as Yn, GapToken as Yr, ScrollAreaThemeConfig as Yt, TablePaginationActionsSlot as Z, ButtonGroupSlot as Zi, LinkSlot as Zn, useMediaQuery as Zr, RatingSlot as Zt, TypographyThemeConfig as _, BackdropThemeConfig as _a, variable as _i, PaginationOwnerState as _n, FormControlOwnerState as _r, TableOwnerState as _t, CSSObject as a, ButtonSlot as aa, asIs as ai, QuoteOwnerState as an, IconOwnerState as ar, TableFooterOwnerState as at, TransferListSlot as b, AvatarThemeConfig as ba, ThemeProvider$1 as bi, NumberInputOwnerState as bn, FormOwnerState as br, TabScrollButtonOwnerState as bt, StyleTheme as c, GapToken$1 as ca, defineTheme as ci, PressableOwnerState as cn, GridOwnerState as cr, TableContainerOwnerState as ct, BackgroundToken as d, BreadcrumbsThemeConfig as da, negate as di, PopoverOwnerState as dn, FormLabelOwnerState as dr, TableCellOwnerState as dt, ButtonLoadingPosition as ea, DirectionProps as ei, RangeInputSlot as en, LinearProgressSlot as er, TablePaginationSlot as et, TextColorToken as f, BadgeOwnerState as fa, setNonceSource as fi, PopoverSlot as fn, FormLabelSlot as fr, TableCellSlot as ft, TypographySlot as g, BackdropSlot as ga, val as gi, PaginationItemThemeConfig as gn, FormHelperTextThemeConfig as gr, TableBodyThemeConfig as gt, TypographyProps as h, BackdropOwnerState as ha, useTheme as hi, PaginationItemSlot as hn, FormHelperTextSlot as hr, TableBodySlot as ht, AppTheme as i, ButtonSize as ia, alpha as ii, RadioThemeConfig as in, ImageThemeConfig as ir, TableHeadThemeConfig as it, TextInputClasses as j, AlertSlot as ja, ViewThemeConfig as ji, NavGroupThemeConfig as jn, FabThemeConfig as jr, SwitchThemeConfig as jt, ToggleButtonSlot as k, AlertTitleThemeConfig as ka, ViewProps as ki, NavGroupOwnerState as kn, FabOwnerState as kr, SwitchOwnerState as kt, Theme as l, BreadcrumbsOwnerState as la, fallback as li, PressableSlot as ln, GridSlot as lr, TableContainerSlot as lt, TypographyOwnerState as m, BadgeThemeConfig as ma, useStyleValue as mi, PaginationItemOwnerState as mn, FormHelperTextOwnerState as mr, TableBodyOwnerState as mt, AccordionSlot as n, ButtonProps as na, LiveValue as ni, RadioOwnerState as nn, ImageOwnerState as nr, TableHeadOwnerState as nt, ComponentConfig as o, ButtonThemeConfig as oa, configureEngine as oi, QuoteSlot as on, IconSlot as or, TableFooterSlot as ot, TypographyAlign as p, BadgeSlot as pa, useStyle as pi, PopoverThemeConfig as pn, FormLabelThemeConfig as pr, TableCellThemeConfig as pt, TableRowOwnerState as q, StrictStyled as qa, CardOwnerState as qi, MenuDividerOwnerState as qn, FlexSlot as qr, ScrollAreaOwnerState as qt, AccordionThemeConfig as r, ButtonShape as ra, StyleSheet as ri, RadioSlot as rn, ImageSlot as rr, TableHeadSlot as rt, EngineStyleTheme as s, ButtonVariant as sa, css as si, QuoteThemeConfig as sn, IconThemeConfig as sr, TableFooterThemeConfig as st, AccordionOwnerState as t, ButtonOwnerState as ta, Global as ti, RangeInputThemeConfig as tn, LinearProgressThemeConfig as tr, TablePaginationThemeConfig as tt, ThemeComponents as u, BreadcrumbsSlot as ua, keyframes as ui, PressableThemeConfig as un, GridThemeConfig as ur, TableContainerThemeConfig as ut, TypographyVariant as v, AvatarOwnerState as va, withStyle as vi, PaginationSlot as vn, FormControlSlot as vr, TableSlot as vt, TooltipThemeConfig as w, AppBarOwnerState as wa, ViewBorderColorToken as wi, NavTreeSlot as wn, FocusTrapSlot as wr, TabPanelSlot as wt, TransferListThemeConfig as x, AutocompleteOwnerState as xa, Exact as xi, NumberInputSlot as xn, FormSlot as xr, TabScrollButtonSlot as xt, TransferListOwnerState as y, AvatarSlot as ya, withTheme as yi, PaginationThemeConfig as yn, FormControlThemeConfig as yr, TableThemeConfig as yt, TextInputVariant as z, AccordionDetailsOwnerState as za, CircularProgressSlot as zi, ModalSlot as zn, MenuSlot as zr, SidebarItemSlot as zt };
|
package/dist/Alert.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Aa as AlertOwnerState, Da as AlertTitleOwnerState, Ma as AlertThemeConfig, Oa as AlertTitleSlot, ca as StyleOverride, j as Theme, ja as AlertSlot, ka as AlertTitleThemeConfig, oa as SlotProps } from "./index-phg5ivgg.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 { Aa as AlertOwnerState, Da as AlertTitleOwnerState, Ja as StyleOverride, Ka as SlotProps, Ma as AlertThemeConfig, Oa as AlertTitleSlot, ja as AlertSlot, ka as AlertTitleThemeConfig, l as Theme } from "./Accordion.types-D9BgLxCR.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
|
-
import {
|
|
2
|
+
import { a as alpha } from "./styleEngine-B3C0EmVQ.mjs";
|
|
3
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
|
-
import { t as useDefaultProps } from "./useDefaultProps-
|
|
7
|
-
import { t as Icon } from "./Icon-
|
|
6
|
+
import { t as useDefaultProps } from "./useDefaultProps-fdTXb3rk.mjs";
|
|
7
|
+
import { t as Icon } from "./Icon-D1gwHK1a.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.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ea as AppBarThemeConfig, Ta as AppBarSlot, j as Theme, mi as FlexProps, oa as SlotProps, wa as AppBarOwnerState } from "./index-phg5ivgg.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 { Ea as AppBarThemeConfig, Ka as SlotProps, Kr as FlexProps, Ta as AppBarSlot, l as Theme, wa as AppBarOwnerState } from "./Accordion.types-D9BgLxCR.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/Autocomplete.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ca as AutocompleteThemeConfig, Sa as AutocompleteSlot, ca as StyleOverride, j as Theme, oa as SlotProps, xa as AutocompleteOwnerState } from "./index-phg5ivgg.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 { Ca as AutocompleteThemeConfig, Ja as StyleOverride, Ka as SlotProps, Sa as AutocompleteSlot, l as Theme, xa as AutocompleteOwnerState } from "./Accordion.types-D9BgLxCR.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
|
@@ -2,13 +2,13 @@
|
|
|
2
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
|
-
import { t as useDefaultProps } from "./useDefaultProps-
|
|
6
|
-
import {
|
|
5
|
+
import { t as useDefaultProps } from "./useDefaultProps-fdTXb3rk.mjs";
|
|
6
|
+
import { v as useTheme } from "./styleEngine-B3C0EmVQ.mjs";
|
|
7
7
|
import { n as getFocusRing, r as getInputMinWidth, t as inputVariantStyles } from "./inputVariantStyles-B-4lHxUZ.mjs";
|
|
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-D1gwHK1a.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.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ba as AvatarThemeConfig, j as Theme, mi as FlexProps, oa as SlotProps, va as AvatarOwnerState, ya as AvatarSlot } from "./index-phg5ivgg.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 { Ka as SlotProps, Kr as FlexProps, ba as AvatarThemeConfig, l as Theme, va as AvatarOwnerState, ya as AvatarSlot } from "./Accordion.types-D9BgLxCR.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
|
@@ -2,7 +2,7 @@
|
|
|
2
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
|
-
import {
|
|
5
|
+
import { v as useTheme } from "./styleEngine-B3C0EmVQ.mjs";
|
|
6
6
|
import { Flex } from "./Flex.mjs";
|
|
7
7
|
import { useState } from "react";
|
|
8
8
|
import { themeDefault } from "@gild-ui/core/theme";
|
package/dist/Backdrop.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ti as ViewProps, _a as BackdropThemeConfig, ga as BackdropSlot, ha as BackdropOwnerState, oa as SlotProps } from "./index-phg5ivgg.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>;
|
package/dist/Backdrop.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ka as SlotProps, _a as BackdropThemeConfig, ga as BackdropSlot, ha as BackdropOwnerState, ki as ViewProps } from "./Accordion.types-D9BgLxCR.mjs";
|
|
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>;
|
package/dist/Badge.cjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_styled = require("./styled-Dr3_OY1-.cjs");
|
|
3
|
+
const require_mirrored = require("./mirrored-C7vCkRBd.cjs");
|
|
3
4
|
const require_overrides = require("./overrides-DeXScOFK.cjs");
|
|
4
5
|
const require_useDefaultProps = require("./useDefaultProps-DratGGIL.cjs");
|
|
5
6
|
let react = require("react");
|
|
@@ -69,7 +70,7 @@ const BadgeMark = require_styled.styled("span", {
|
|
|
69
70
|
insetInlineEnd: horizontal === "end" ? offset : "auto",
|
|
70
71
|
insetInlineStart: horizontal === "start" ? offset : "auto",
|
|
71
72
|
transform: `translate(${x}, ${y})`,
|
|
72
|
-
"[dir=\"rtl\"] &": { transform: `translate(${horizontal === "end" ? "-50%" : "50%"}, ${y})` }
|
|
73
|
+
...!require_mirrored.isMirrored() && { "[dir=\"rtl\"] &": { transform: `translate(${horizontal === "end" ? "-50%" : "50%"}, ${y})` } }
|
|
73
74
|
};
|
|
74
75
|
});
|
|
75
76
|
const VisuallyHidden = require_styled.styled("span", {
|
package/dist/Badge.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ca as StyleOverride, fa as BadgeOwnerState, j as Theme, ma as BadgeThemeConfig, oa as SlotProps, pa as BadgeSlot } from "./index-phg5ivgg.cjs";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
export type BadgeVariant = 'standard' | 'dot';
|
package/dist/Badge.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ja as StyleOverride, Ka as SlotProps, fa as BadgeOwnerState, l as Theme, ma as BadgeThemeConfig, pa as BadgeSlot } from "./Accordion.types-D9BgLxCR.mjs";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
export type BadgeVariant = 'standard' | 'dot';
|
package/dist/Badge.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { t as styled } from "./styled-tLHNvicL.mjs";
|
|
2
|
+
import { t as isMirrored } from "./mirrored-BnvWIH18.mjs";
|
|
2
3
|
import { t as mergeOverrides } from "./overrides-Ds6QZL5Q.mjs";
|
|
3
4
|
import "./themes-BtfQPcbo.mjs";
|
|
4
|
-
import { t as useDefaultProps } from "./useDefaultProps-
|
|
5
|
+
import { t as useDefaultProps } from "./useDefaultProps-fdTXb3rk.mjs";
|
|
5
6
|
import { cloneElement, isValidElement, useId } from "react";
|
|
6
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
8
|
import { createShouldForwardProp, props } from "@soroush.tech/styled-system/should-forward-prop";
|
|
@@ -69,7 +70,7 @@ const BadgeMark = styled("span", {
|
|
|
69
70
|
insetInlineEnd: horizontal === "end" ? offset : "auto",
|
|
70
71
|
insetInlineStart: horizontal === "start" ? offset : "auto",
|
|
71
72
|
transform: `translate(${x}, ${y})`,
|
|
72
|
-
"[dir=\"rtl\"] &": { transform: `translate(${horizontal === "end" ? "-50%" : "50%"}, ${y})` }
|
|
73
|
+
...!isMirrored() && { "[dir=\"rtl\"] &": { transform: `translate(${horizontal === "end" ? "-50%" : "50%"}, ${y})` } }
|
|
73
74
|
};
|
|
74
75
|
});
|
|
75
76
|
const VisuallyHidden = styled("span", {
|
package/dist/Breadcrumbs.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { B as TypographyVariant, L as TypographyProps, da as BreadcrumbsThemeConfig, la as BreadcrumbsOwnerState, oa as SlotProps, ua as BreadcrumbsSlot } from "./index-phg5ivgg.cjs";
|
|
2
2
|
import "./Typography.cjs";
|
|
3
3
|
import { ElementType, ReactNode } from "react";
|
|
4
4
|
export interface BreadcrumbsProps extends Omit<TypographyProps, 'children' | 'variant'> {
|
package/dist/Breadcrumbs.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
1
|
+
import { Ka as SlotProps, da as BreadcrumbsThemeConfig, h as TypographyProps, la as BreadcrumbsOwnerState, ua as BreadcrumbsSlot, v as TypographyVariant } from "./Accordion.types-D9BgLxCR.mjs";
|
|
2
|
+
import "./index-DO43Pwto.mjs";
|
|
3
3
|
import { ElementType, ReactNode } from "react";
|
|
4
4
|
export interface BreadcrumbsProps extends Omit<TypographyProps, 'children' | 'variant'> {
|
|
5
5
|
/** The crumbs - the app's `Link`s, and the current page as `Typography` or a `Link` with `aria-current="page"`. */
|
package/dist/Breadcrumbs.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { a as alpha } from "./styleEngine-B3C0EmVQ.mjs";
|
|
3
3
|
import { t as styled } from "./styled-tLHNvicL.mjs";
|
|
4
|
-
import { t as useDefaultProps } from "./useDefaultProps-
|
|
5
|
-
import { t as Icon } from "./Icon-
|
|
4
|
+
import { t as useDefaultProps } from "./useDefaultProps-fdTXb3rk.mjs";
|
|
5
|
+
import { t as Icon } from "./Icon-D1gwHK1a.mjs";
|
|
6
6
|
import { t as mergeOverrides } from "./overrides-Ds6QZL5Q.mjs";
|
|
7
7
|
import { Typography } from "./Typography.mjs";
|
|
8
8
|
import { Children, isValidElement, useLayoutEffect, useRef, useState } from "react";
|
package/dist/Button.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $i as
|
|
1
|
+
import { $i as ButtonShape, Qi as ButtonProps, Xi as ButtonLoadingPosition, Yi as ButtonColor, Zi as ButtonOwnerState, ea as ButtonSize, ia as GapToken, na as ButtonThemeConfig, ra as ButtonVariant, ta as ButtonSlot } from "./index-phg5ivgg.cjs";
|
|
2
2
|
export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
3
3
|
export { ButtonColor, ButtonLoadingPosition, ButtonOwnerState, ButtonProps, ButtonShape, ButtonSize, ButtonSlot, ButtonThemeConfig, ButtonVariant, GapToken };
|
package/dist/Button.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $i as
|
|
2
|
-
import { t as Button } from "./index-
|
|
1
|
+
import { $i as ButtonColor, aa as ButtonSlot, ca as GapToken, ea as ButtonLoadingPosition, ia as ButtonSize, na as ButtonProps, oa as ButtonThemeConfig, ra as ButtonShape, sa as ButtonVariant, ta as ButtonOwnerState } from "./Accordion.types-D9BgLxCR.mjs";
|
|
2
|
+
import { t as Button } from "./index-Ziqkp-mN.mjs";
|
|
3
3
|
export { Button, ButtonColor, ButtonLoadingPosition, ButtonOwnerState, ButtonProps, ButtonShape, ButtonSize, ButtonSlot, ButtonThemeConfig, ButtonVariant, GapToken };
|
package/dist/Button.mjs
CHANGED
|
@@ -3,8 +3,8 @@ import { CircularProgress } from "./CircularProgress.mjs";
|
|
|
3
3
|
import { t as ButtonGroupContext } from "./ButtonGroupContext-D5Fg5Slq.mjs";
|
|
4
4
|
import { t as styled } from "./styled-tLHNvicL.mjs";
|
|
5
5
|
import "./themes-BtfQPcbo.mjs";
|
|
6
|
-
import { t as useDefaultProps } from "./useDefaultProps-
|
|
7
|
-
import {
|
|
6
|
+
import { t as useDefaultProps } from "./useDefaultProps-fdTXb3rk.mjs";
|
|
7
|
+
import { a as alpha, v as useTheme } from "./styleEngine-B3C0EmVQ.mjs";
|
|
8
8
|
import { t as mergeOverrides } from "./overrides-Ds6QZL5Q.mjs";
|
|
9
9
|
import { forwardRef, useContext } from "react";
|
|
10
10
|
import { themeDefault } from "@gild-ui/core/theme";
|
package/dist/ButtonGroup.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./Button.cjs";
|
|
2
|
-
import {
|
|
2
|
+
import { Ji as ButtonGroupThemeConfig, Ki as ButtonGroupOwnerState, Yi as ButtonColor, ca as StyleOverride, ea as ButtonSize, j as Theme, oa as SlotProps, qi as ButtonGroupSlot, ra as ButtonVariant } from "./index-phg5ivgg.cjs";
|
|
3
3
|
import { ElementType, HTMLAttributes } from "react";
|
|
4
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
export type ButtonGroupOrientation = 'horizontal' | 'vertical';
|
package/dist/ButtonGroup.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as ButtonGroupProps, i as ButtonGroupOrientation, n as ButtonGroupContextValue, o as ButtonGroupRadius, r as ButtonGroup, t as ButtonGroupContext } from "./index-
|
|
1
|
+
import { Qi as ButtonGroupThemeConfig, Xi as ButtonGroupOwnerState, Zi as ButtonGroupSlot } from "./Accordion.types-D9BgLxCR.mjs";
|
|
2
|
+
import { a as ButtonGroupProps, i as ButtonGroupOrientation, n as ButtonGroupContextValue, o as ButtonGroupRadius, r as ButtonGroup, t as ButtonGroupContext } from "./index-DLqz44Uv.mjs";
|
|
3
3
|
export { ButtonGroup, ButtonGroupContext, ButtonGroupContextValue, ButtonGroupOrientation, ButtonGroupOwnerState, ButtonGroupProps, ButtonGroupRadius, ButtonGroupSlot, ButtonGroupThemeConfig };
|
package/dist/ButtonGroup.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { a as alpha, p as negate } from "./styleEngine-B3C0EmVQ.mjs";
|
|
3
3
|
import { t as ButtonGroupContext } from "./ButtonGroupContext-D5Fg5Slq.mjs";
|
|
4
4
|
import { t as styled } from "./styled-tLHNvicL.mjs";
|
|
5
5
|
import "./themes-BtfQPcbo.mjs";
|
package/dist/CacheProvider.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { d as getEngine } from "./styleEngine-B3C0EmVQ.mjs";
|
|
3
3
|
import { createElement } from "react";
|
|
4
4
|
import { CacheProvider as CacheProvider$1 } from "@umber-style/react";
|
|
5
5
|
// src/theme/CacheProvider.ts
|
package/dist/Card.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./Paper.cjs";
|
|
2
2
|
import "./Typography.cjs";
|
|
3
|
-
import {
|
|
4
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
3
|
+
import { Gi as CardThemeConfig, L as TypographyProps, Ui as CardOwnerState, Wi as CardSlot, di as PaperProps, oa as SlotProps } from "./index-phg5ivgg.cjs";
|
|
4
|
+
import { n as IconProps, r as IconName } from "./index-Ca2px7jQ.cjs";
|
|
5
5
|
import { ReactNode } from "react";
|
|
6
6
|
export type CardVariant = 'paper' | 'bracketBox' | 'interactive';
|
|
7
7
|
export interface CardProps extends Omit<PaperProps, 'title'> {
|
package/dist/Card.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./index-
|
|
2
|
-
import "./index-
|
|
3
|
-
import {
|
|
4
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
1
|
+
import "./index-r0c0HTLB.mjs";
|
|
2
|
+
import "./index-DO43Pwto.mjs";
|
|
3
|
+
import { Ji as CardSlot, Ka as SlotProps, Ur as PaperProps, Yi as CardThemeConfig, h as TypographyProps, qi as CardOwnerState } from "./Accordion.types-D9BgLxCR.mjs";
|
|
4
|
+
import { n as IconProps, r as IconName } from "./index-DCfS0jjc.mjs";
|
|
5
5
|
import { ReactNode } from "react";
|
|
6
6
|
export type CardVariant = 'paper' | 'bracketBox' | 'interactive';
|
|
7
7
|
export interface CardProps extends Omit<PaperProps, 'title'> {
|
package/dist/Card.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as styled } from "./styled-tLHNvicL.mjs";
|
|
2
2
|
import "./themes-BtfQPcbo.mjs";
|
|
3
|
-
import { t as useDefaultProps } from "./useDefaultProps-
|
|
4
|
-
import {
|
|
3
|
+
import { t as useDefaultProps } from "./useDefaultProps-fdTXb3rk.mjs";
|
|
4
|
+
import { v as useTheme } from "./styleEngine-B3C0EmVQ.mjs";
|
|
5
5
|
import { Paper } from "./Paper.mjs";
|
|
6
6
|
import { Typography } from "./Typography.mjs";
|
|
7
7
|
import { t as mergeOverrides } from "./overrides-Ds6QZL5Q.mjs";
|
|
8
|
-
import { t as Icon } from "./Icon-
|
|
8
|
+
import { t as Icon } from "./Icon-D1gwHK1a.mjs";
|
|
9
9
|
import "react";
|
|
10
10
|
import { themeDefault } from "@gild-ui/core/theme";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
package/dist/Checkbox.cjs
CHANGED
|
@@ -102,7 +102,7 @@ const baseStyle = ({ disabled, theme }) => ({
|
|
|
102
102
|
alignItems: "center",
|
|
103
103
|
position: "relative",
|
|
104
104
|
cursor: disabled ? "not-allowed" : "pointer",
|
|
105
|
-
gap:
|
|
105
|
+
gap: theme.space[1],
|
|
106
106
|
userSelect: "none",
|
|
107
107
|
...disabled && { opacity: .5 },
|
|
108
108
|
"& input:not(:checked):not(:indeterminate) ~ span > .cb-checked": { display: "none" },
|
package/dist/Checkbox.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bi as CheckboxOwnerState, Hi as CheckboxThemeConfig, Vi as CheckboxSlot, ca as StyleOverride, j as Theme$1, oa as SlotProps } from "./index-phg5ivgg.cjs";
|
|
2
2
|
import { ChangeEvent, ReactNode } from "react";
|
|
3
3
|
import { PaletteColor } from "@gild-ui/core/theme";
|
|
4
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
package/dist/Checkbox.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gi as CheckboxSlot, Ja as StyleOverride, Ka as SlotProps, Ki as CheckboxThemeConfig, Wi as CheckboxOwnerState, l as Theme$1 } from "./Accordion.types-D9BgLxCR.mjs";
|
|
2
2
|
import { ChangeEvent, ReactNode } from "react";
|
|
3
3
|
import { PaletteColor } from "@gild-ui/core/theme";
|
|
4
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
package/dist/Checkbox.mjs
CHANGED
|
@@ -102,7 +102,7 @@ const baseStyle = ({ disabled, theme }) => ({
|
|
|
102
102
|
alignItems: "center",
|
|
103
103
|
position: "relative",
|
|
104
104
|
cursor: disabled ? "not-allowed" : "pointer",
|
|
105
|
-
gap:
|
|
105
|
+
gap: theme.space[1],
|
|
106
106
|
userSelect: "none",
|
|
107
107
|
...disabled && { opacity: .5 },
|
|
108
108
|
"& input:not(:checked):not(:indeterminate) ~ span > .cb-checked": { display: "none" },
|
package/dist/Chip.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Li as ChipOwnerState, Ri as ChipSlot, ca as StyleOverride, j as Theme, oa as SlotProps, zi as ChipThemeConfig } from "./index-phg5ivgg.cjs";
|
|
2
2
|
import { MouseEvent, ReactNode, SyntheticEvent } from "react";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { Shape } from "@gild-ui/core/utils";
|
package/dist/Chip.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Hi as ChipSlot, Ja as StyleOverride, Ka as SlotProps, Ui as ChipThemeConfig, Vi as ChipOwnerState, l as Theme } from "./Accordion.types-D9BgLxCR.mjs";
|
|
2
2
|
import { MouseEvent, ReactNode, SyntheticEvent } from "react";
|
|
3
3
|
import { Shape } from "@gild-ui/core/utils";
|
|
4
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|