@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.
Files changed (262) hide show
  1. package/README.md +2 -0
  2. package/dist/Accordion.d.cts +1 -1
  3. package/dist/Accordion.d.mts +2 -2
  4. package/dist/Accordion.mjs +3 -3
  5. package/dist/{Accordion.types-DxvwAfZc.d.mts → Accordion.types-D9BgLxCR.d.mts} +31 -24
  6. package/dist/Alert.d.cts +1 -1
  7. package/dist/Alert.d.mts +1 -1
  8. package/dist/Alert.mjs +3 -3
  9. package/dist/AppBar.d.cts +1 -1
  10. package/dist/AppBar.d.mts +1 -1
  11. package/dist/Autocomplete.d.cts +1 -1
  12. package/dist/Autocomplete.d.mts +1 -1
  13. package/dist/Autocomplete.mjs +3 -3
  14. package/dist/Avatar.d.cts +1 -1
  15. package/dist/Avatar.d.mts +1 -1
  16. package/dist/Avatar.mjs +1 -1
  17. package/dist/Backdrop.d.cts +1 -1
  18. package/dist/Backdrop.d.mts +1 -1
  19. package/dist/Badge.cjs +2 -1
  20. package/dist/Badge.d.cts +1 -1
  21. package/dist/Badge.d.mts +1 -1
  22. package/dist/Badge.mjs +3 -2
  23. package/dist/Breadcrumbs.d.cts +1 -1
  24. package/dist/Breadcrumbs.d.mts +2 -2
  25. package/dist/Breadcrumbs.mjs +3 -3
  26. package/dist/Button.d.cts +1 -1
  27. package/dist/Button.d.mts +2 -2
  28. package/dist/Button.mjs +2 -2
  29. package/dist/ButtonGroup.d.cts +1 -1
  30. package/dist/ButtonGroup.d.mts +2 -2
  31. package/dist/ButtonGroup.mjs +1 -1
  32. package/dist/CacheProvider.mjs +1 -1
  33. package/dist/Card.d.cts +2 -2
  34. package/dist/Card.d.mts +4 -4
  35. package/dist/Card.mjs +3 -3
  36. package/dist/Checkbox.cjs +1 -1
  37. package/dist/Checkbox.d.cts +1 -1
  38. package/dist/Checkbox.d.mts +1 -1
  39. package/dist/Checkbox.mjs +1 -1
  40. package/dist/Chip.d.cts +1 -1
  41. package/dist/Chip.d.mts +1 -1
  42. package/dist/Chip.mjs +3 -3
  43. package/dist/CircularProgress.d.cts +1 -1
  44. package/dist/CircularProgress.d.mts +2 -2
  45. package/dist/CircularProgress.mjs +1 -1
  46. package/dist/Collapse.d.cts +2 -2
  47. package/dist/Collapse.d.mts +2 -2
  48. package/dist/Collapse.mjs +2 -2
  49. package/dist/Direction.cjs +8 -0
  50. package/dist/Direction.d.cts +2 -0
  51. package/dist/Direction.d.mts +2 -0
  52. package/dist/Direction.mjs +1 -0
  53. package/dist/Drawer.d.cts +1 -1
  54. package/dist/Drawer.d.mts +3 -3
  55. package/dist/Drawer.mjs +1 -1
  56. package/dist/Fab.d.cts +1 -1
  57. package/dist/Fab.d.mts +2 -2
  58. package/dist/Fab.mjs +1 -1
  59. package/dist/FabMenu.d.cts +1 -1
  60. package/dist/FabMenu.d.mts +2 -2
  61. package/dist/FabMenu.mjs +3 -3
  62. package/dist/Fade.d.cts +1 -1
  63. package/dist/Fade.d.mts +1 -1
  64. package/dist/Fade.mjs +1 -1
  65. package/dist/Flex.d.cts +1 -1
  66. package/dist/Flex.d.mts +1 -1
  67. package/dist/FocusTrap.d.cts +1 -1
  68. package/dist/FocusTrap.d.mts +1 -1
  69. package/dist/Form.d.cts +1 -1
  70. package/dist/Form.d.mts +1 -1
  71. package/dist/FormControl.d.cts +1 -1
  72. package/dist/FormControl.d.mts +1 -1
  73. package/dist/FormControl.mjs +1 -1
  74. package/dist/FormHelperText.d.cts +1 -1
  75. package/dist/FormHelperText.d.mts +2 -2
  76. package/dist/FormLabel.d.cts +1 -1
  77. package/dist/FormLabel.d.mts +2 -2
  78. package/dist/Global.d.cts +1 -1
  79. package/dist/Global.d.mts +1 -1
  80. package/dist/Global.mjs +1 -1
  81. package/dist/Grid.d.cts +1 -4
  82. package/dist/Grid.d.mts +1 -4
  83. package/dist/Grow.d.cts +1 -1
  84. package/dist/Grow.d.mts +1 -1
  85. package/dist/Grow.mjs +1 -1
  86. package/dist/{Icon-DBgqmUb3.mjs → Icon-D1gwHK1a.mjs} +1 -1
  87. package/dist/Icon.d.cts +2 -2
  88. package/dist/Icon.d.mts +2 -2
  89. package/dist/Icon.mjs +1 -1
  90. package/dist/Image.d.cts +1 -1
  91. package/dist/Image.d.mts +1 -1
  92. package/dist/{LayoutProvider-Eb5Vp2BZ.mjs → LayoutProvider-B5BcHN00.mjs} +1 -1
  93. package/dist/LayoutProvider.mjs +1 -1
  94. package/dist/LinearProgress.d.cts +1 -1
  95. package/dist/LinearProgress.d.mts +2 -2
  96. package/dist/LinearProgress.mjs +1 -1
  97. package/dist/Link.d.cts +1 -1
  98. package/dist/Link.d.mts +2 -2
  99. package/dist/Link.mjs +1 -1
  100. package/dist/{Menu-Ca7aUnLg.mjs → Menu-Bl9AnuYs.mjs} +3 -3
  101. package/dist/Menu.d.cts +2 -2
  102. package/dist/Menu.d.mts +3 -3
  103. package/dist/Menu.mjs +4 -4
  104. package/dist/{MenuItem-w7D1-AYW.mjs → MenuItem-BJclGwrq.mjs} +4 -4
  105. package/dist/MenuItem.d.cts +2 -2
  106. package/dist/MenuItem.d.mts +2 -2
  107. package/dist/MenuItem.mjs +1 -1
  108. package/dist/Modal.d.cts +1 -1
  109. package/dist/Modal.d.mts +2 -2
  110. package/dist/NativeSelect.d.cts +2 -2
  111. package/dist/NativeSelect.d.mts +2 -2
  112. package/dist/NativeSelect.mjs +2 -2
  113. package/dist/NavTree.cjs +5 -4
  114. package/dist/NavTree.d.cts +1 -1
  115. package/dist/NavTree.d.mts +1 -1
  116. package/dist/NavTree.mjs +7 -6
  117. package/dist/NumberInput.d.cts +1 -1
  118. package/dist/NumberInput.d.mts +1 -1
  119. package/dist/NumberInput.mjs +3 -3
  120. package/dist/Pagination.cjs +3 -1
  121. package/dist/Pagination.d.cts +1 -1
  122. package/dist/Pagination.d.mts +2 -2
  123. package/dist/Pagination.mjs +5 -3
  124. package/dist/Paper.d.cts +1 -1
  125. package/dist/Paper.d.mts +2 -2
  126. package/dist/Paper.mjs +1 -1
  127. package/dist/{Popover-ZsN1txGi.mjs → Popover-CfSAd8YI.mjs} +1 -1
  128. package/dist/Popover.d.cts +1 -1
  129. package/dist/Popover.d.mts +3 -3
  130. package/dist/Popover.mjs +1 -1
  131. package/dist/Pressable.d.cts +1 -1
  132. package/dist/Pressable.d.mts +2 -2
  133. package/dist/Pressable.mjs +2 -2
  134. package/dist/Quote.d.cts +2 -5
  135. package/dist/Quote.d.mts +2 -5
  136. package/dist/Radio.cjs +1 -1
  137. package/dist/Radio.d.cts +1 -1
  138. package/dist/Radio.d.mts +1 -1
  139. package/dist/Radio.mjs +1 -1
  140. package/dist/RangeInput.cjs +3 -2
  141. package/dist/RangeInput.d.cts +1 -1
  142. package/dist/RangeInput.d.mts +1 -1
  143. package/dist/RangeInput.mjs +6 -5
  144. package/dist/Rating.d.cts +1 -1
  145. package/dist/Rating.d.mts +1 -1
  146. package/dist/Rating.mjs +2 -2
  147. package/dist/ScrollArea.d.cts +1 -1
  148. package/dist/ScrollArea.d.mts +1 -1
  149. package/dist/ScrollArea.mjs +2 -2
  150. package/dist/Select.d.cts +2 -2
  151. package/dist/Select.d.mts +2 -2
  152. package/dist/Select.mjs +4 -4
  153. package/dist/Sidebar.d.cts +2 -2
  154. package/dist/Sidebar.d.mts +3 -3
  155. package/dist/Sidebar.mjs +2 -2
  156. package/dist/Skeleton.d.cts +1 -1
  157. package/dist/Skeleton.d.mts +1 -1
  158. package/dist/Skeleton.mjs +1 -1
  159. package/dist/Slide.d.cts +1 -1
  160. package/dist/Slide.d.mts +1 -1
  161. package/dist/Slide.mjs +1 -1
  162. package/dist/Snackbar.d.cts +2 -2
  163. package/dist/Snackbar.d.mts +2 -2
  164. package/dist/Snackbar.mjs +1 -1
  165. package/dist/StyleSheet.d.cts +1 -1
  166. package/dist/StyleSheet.d.mts +1 -1
  167. package/dist/StyleSheet.mjs +1 -1
  168. package/dist/Switch.d.cts +1 -1
  169. package/dist/Switch.d.mts +1 -1
  170. package/dist/Switch.mjs +1 -1
  171. package/dist/Table.d.cts +2 -2
  172. package/dist/Table.d.mts +3 -3
  173. package/dist/Table.mjs +2 -2
  174. package/dist/Tabs.d.cts +1 -1
  175. package/dist/Tabs.d.mts +1 -1
  176. package/dist/Tabs.mjs +6 -6
  177. package/dist/TextInput.d.cts +1 -1
  178. package/dist/TextInput.d.mts +1 -1
  179. package/dist/TextInput.mjs +1 -1
  180. package/dist/{ThemeProvider-DuhfCo2F.mjs → ThemeProvider-Bys1dMk1.mjs} +1 -1
  181. package/dist/ThemeProvider.d.cts +1 -1
  182. package/dist/ThemeProvider.d.mts +1 -1
  183. package/dist/ThemeProvider.mjs +1 -1
  184. package/dist/ToggleButton.d.cts +1 -1
  185. package/dist/ToggleButton.d.mts +3 -3
  186. package/dist/ToggleButton.mjs +1 -1
  187. package/dist/{Tooltip-Bt5lr52c.mjs → Tooltip-CJy8re2A.mjs} +3 -3
  188. package/dist/Tooltip.d.cts +1 -1
  189. package/dist/Tooltip.d.mts +1 -1
  190. package/dist/Tooltip.mjs +1 -1
  191. package/dist/TransferList.d.cts +1 -1
  192. package/dist/TransferList.d.mts +1 -1
  193. package/dist/TransferList.mjs +2 -2
  194. package/dist/Typography.d.cts +1 -1
  195. package/dist/Typography.d.mts +2 -2
  196. package/dist/Typography.mjs +1 -1
  197. package/dist/View.d.cts +1 -1
  198. package/dist/View.d.mts +1 -1
  199. package/dist/Zoom.d.cts +1 -1
  200. package/dist/Zoom.d.mts +1 -1
  201. package/dist/Zoom.mjs +1 -1
  202. package/dist/catalog.d.cts +1 -1
  203. package/dist/catalog.d.mts +1 -1
  204. package/dist/css.d.cts +1 -1
  205. package/dist/css.d.mts +1 -1
  206. package/dist/css.mjs +1 -1
  207. package/dist/engine.cjs +17 -1
  208. package/dist/engine.d.cts +11 -7
  209. package/dist/engine.d.mts +11 -7
  210. package/dist/engine.mjs +7 -3
  211. package/dist/{index-Cqse4F32.d.mts → index-BK5Ar8n0.d.mts} +2 -2
  212. package/dist/{index-CAMwJg71.d.mts → index-Bod39qW3.d.mts} +1 -1
  213. package/dist/{index-Djum1XiO.d.mts → index-C6rFzB7A.d.mts} +1 -1
  214. package/dist/{index-phuw9VpI.d.mts → index-CNqy6U_D.d.mts} +1 -1
  215. package/dist/{index-Dc7XiT_v.d.cts → index-CP18066J.d.cts} +1 -1
  216. package/dist/{index-B3jHcw5h.d.cts → index-Ca2px7jQ.d.cts} +1 -1
  217. package/dist/{index-IB1nBqEO.d.mts → index-DCfS0jjc.d.mts} +2 -2
  218. package/dist/{index-DtfH-dhY.d.mts → index-DLqz44Uv.d.mts} +2 -2
  219. package/dist/{index-CsYK-ukA.d.mts → index-DO43Pwto.d.mts} +1 -1
  220. package/dist/{index-D9Gg2NWm.d.mts → index-DuwQox7g.d.mts} +1 -1
  221. package/dist/{index-CLQt_mOa.d.mts → index-Ziqkp-mN.d.mts} +1 -1
  222. package/dist/{index-Bf-ZHQLG.d.mts → index-dDj2BYj-.d.mts} +2 -2
  223. package/dist/{index-DPQxIeZF.d.cts → index-phg5ivgg.d.cts} +29 -22
  224. package/dist/index-r0c0HTLB.d.mts +1 -0
  225. package/dist/index.cjs +7 -0
  226. package/dist/index.d.cts +2 -2
  227. package/dist/index.d.mts +2 -2
  228. package/dist/index.mjs +6 -5
  229. package/dist/keyframes.d.cts +1 -1
  230. package/dist/keyframes.d.mts +1 -1
  231. package/dist/keyframes.mjs +1 -1
  232. package/dist/mirrored-BnvWIH18.mjs +15 -0
  233. package/dist/mirrored-C7vCkRBd.cjs +32 -0
  234. package/dist/server.mjs +1 -1
  235. package/dist/styleEngine-B3C0EmVQ.mjs +1 -0
  236. package/dist/styled.d.cts +1 -1
  237. package/dist/styled.d.mts +1 -1
  238. package/dist/{useDefaultProps-BTQGhvfY.mjs → useDefaultProps-fdTXb3rk.mjs} +1 -1
  239. package/dist/useDefaultProps.d.cts +1 -1
  240. package/dist/useDefaultProps.d.mts +1 -1
  241. package/dist/useDefaultProps.mjs +1 -1
  242. package/dist/{useLiveValue-CqiwCr56.mjs → useLiveValue-DNV2p3Op.mjs} +1 -1
  243. package/dist/useMediaQuery.d.cts +1 -1
  244. package/dist/useMediaQuery.d.mts +1 -1
  245. package/dist/useStyle.d.cts +1 -1
  246. package/dist/useStyle.d.mts +1 -1
  247. package/dist/useStyle.mjs +1 -1
  248. package/dist/useTheme.d.cts +1 -1
  249. package/dist/useTheme.d.mts +1 -1
  250. package/dist/useTheme.mjs +1 -1
  251. package/dist/{useTransition-BzwifRXe.d.mts → useTransition-BuGPxbx9.d.mts} +1 -1
  252. package/dist/{useTransition-lt8_WKk-.d.cts → useTransition-CRYyCWcL.d.cts} +1 -1
  253. package/dist/{useTransitionChild-C18w474Q.mjs → useTransitionChild-BMQ1s7wj.mjs} +1 -1
  254. package/dist/withStyle.d.cts +1 -1
  255. package/dist/withStyle.d.mts +1 -1
  256. package/dist/withStyle.mjs +1 -1
  257. package/dist/withTheme.d.cts +1 -1
  258. package/dist/withTheme.d.mts +1 -1
  259. package/dist/withTheme.mjs +1 -1
  260. package/package.json +18 -7
  261. package/dist/index-yCzwpbBP.d.mts +0 -1
  262. 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`).
@@ -1,4 +1,4 @@
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";
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";
@@ -1,5 +1,5 @@
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";
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. */
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { f as negate } from "./styleEngine-CLid4cmR.mjs";
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-BTQGhvfY.mjs";
6
+ import { t as useDefaultProps } from "./useDefaultProps-fdTXb3rk.mjs";
7
7
  import { Collapse } from "./Collapse.mjs";
8
- import { t as Icon } from "./Icon-DBgqmUb3.mjs";
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$1, ThemeBackground, ThemeColor, ThemeDefaults, ThemeFonts, ThemeRadii, ThemeSize, ThemeSpaceKey, ThemeText, ThemeTransitionEasing, ThemeTypography, ThemeZOrder, TypographyVariant, VariantOf } from "@gild-ui/core/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
- theme?: AppTheme;
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$1 {
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 { 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 };
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 { 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";
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 { 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";
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 { i as alpha } from "./styleEngine-CLid4cmR.mjs";
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-BTQGhvfY.mjs";
7
- import { t as Icon } from "./Icon-DBgqmUb3.mjs";
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 { D as Theme, Sa as AppBarThemeConfig, ba as AppBarOwnerState, na as SlotProps, ui as FlexProps, xa as AppBarSlot } from "./index-DPQxIeZF.cjs";
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 { Ha as SlotProps, Sa as AppBarThemeConfig, Wr as FlexProps, ba as AppBarOwnerState, s as Theme, xa as AppBarSlot } from "./Accordion.types-DxvwAfZc.mjs";
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';
@@ -1,4 +1,4 @@
1
- import { D as Theme, _a as AutocompleteOwnerState, ia as StyleOverride, na as SlotProps, va as AutocompleteSlot, ya as AutocompleteThemeConfig } from "./index-DPQxIeZF.cjs";
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`. */
@@ -1,4 +1,4 @@
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";
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`. */
@@ -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-BTQGhvfY.mjs";
6
- import { _ as useTheme } from "./styleEngine-CLid4cmR.mjs";
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-DBgqmUb3.mjs";
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 { D as Theme, ga as AvatarThemeConfig, ha as AvatarSlot, ma as AvatarOwnerState, na as SlotProps, ui as FlexProps } from "./index-DPQxIeZF.cjs";
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 { Ha as SlotProps, Wr as FlexProps, ga as AvatarThemeConfig, ha as AvatarSlot, ma as AvatarOwnerState, s as Theme } from "./Accordion.types-DxvwAfZc.mjs";
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 { _ as useTheme } from "./styleEngine-CLid4cmR.mjs";
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";
@@ -1,4 +1,4 @@
1
- import { da as BackdropOwnerState, fa as BackdropSlot, na as SlotProps, pa as BackdropThemeConfig, xi as ViewProps } from "./index-DPQxIeZF.cjs";
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>;
@@ -1,4 +1,4 @@
1
- import { Ha as SlotProps, Ti as ViewProps, da as BackdropOwnerState, fa as BackdropSlot, pa as BackdropThemeConfig } from "./Accordion.types-DxvwAfZc.mjs";
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 { D as Theme, ca as BadgeOwnerState, ia as StyleOverride, la as BadgeSlot, na as SlotProps, ua as BadgeThemeConfig } from "./index-DPQxIeZF.cjs";
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 { Ha as SlotProps, Wa as StyleOverride, ca as BadgeOwnerState, la as BadgeSlot, s as Theme, ua as BadgeThemeConfig } from "./Accordion.types-DxvwAfZc.mjs";
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-BTQGhvfY.mjs";
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", {
@@ -1,4 +1,4 @@
1
- import { I as TypographyVariant, N as TypographyProps, aa as BreadcrumbsOwnerState, na as SlotProps, oa as BreadcrumbsSlot, sa as BreadcrumbsThemeConfig } from "./index-DPQxIeZF.cjs";
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'> {
@@ -1,5 +1,5 @@
1
- import { Ha as SlotProps, aa as BreadcrumbsOwnerState, g as TypographyVariant, oa as BreadcrumbsSlot, p as TypographyProps, sa as BreadcrumbsThemeConfig } from "./Accordion.types-DxvwAfZc.mjs";
2
- import "./index-CsYK-ukA.mjs";
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"`. */
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { i as alpha } from "./styleEngine-CLid4cmR.mjs";
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-BTQGhvfY.mjs";
5
- import { t as Icon } from "./Icon-DBgqmUb3.mjs";
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 ButtonVariant, Gi as ButtonColor, Ji as ButtonProps, Ki as ButtonLoadingPosition, Qi as ButtonThemeConfig, Xi as ButtonSize, Yi as ButtonShape, Zi as ButtonSlot, ea as GapToken, qi as ButtonOwnerState } from "./index-DPQxIeZF.cjs";
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 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 "./Accordion.types-DxvwAfZc.mjs";
2
- import { t as Button } from "./index-CLQt_mOa.mjs";
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-BTQGhvfY.mjs";
7
- import { _ as useTheme, i as alpha } from "./styleEngine-CLid4cmR.mjs";
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";
@@ -1,5 +1,5 @@
1
1
  import "./Button.cjs";
2
- import { $i as ButtonVariant, D as Theme, Gi as ButtonColor, Hi as ButtonGroupOwnerState, Ui as ButtonGroupSlot, Wi as ButtonGroupThemeConfig, Xi as ButtonSize, ia as StyleOverride, na as SlotProps } from "./index-DPQxIeZF.cjs";
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';
@@ -1,3 +1,3 @@
1
- import { Ji as ButtonGroupThemeConfig, Ki as ButtonGroupOwnerState, qi as ButtonGroupSlot } from "./Accordion.types-DxvwAfZc.mjs";
2
- import { a as ButtonGroupProps, i as ButtonGroupOrientation, n as ButtonGroupContextValue, o as ButtonGroupRadius, r as ButtonGroup, t as ButtonGroupContext } from "./index-DtfH-dhY.mjs";
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 };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { f as negate, i as alpha } from "./styleEngine-CLid4cmR.mjs";
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";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { u as getEngine } from "./styleEngine-CLid4cmR.mjs";
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 { Bi as CardSlot, N as TypographyProps, Vi as CardThemeConfig, na as SlotProps, si as PaperProps, zi as CardOwnerState } from "./index-DPQxIeZF.cjs";
4
- import { n as IconProps, r as IconName } from "./index-B3jHcw5h.cjs";
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-yCzwpbBP.mjs";
2
- import "./index-CsYK-ukA.mjs";
3
- import { Gi as CardThemeConfig, Ha as SlotProps, Ui as CardOwnerState, Vr as PaperProps, Wi as CardSlot, p as TypographyProps } from "./Accordion.types-DxvwAfZc.mjs";
4
- import { n as IconProps, r as IconName } from "./index-IB1nBqEO.mjs";
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-BTQGhvfY.mjs";
4
- import { _ as useTheme } from "./styleEngine-CLid4cmR.mjs";
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-DBgqmUb3.mjs";
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: (theme?.space)?.[1],
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" },
@@ -1,4 +1,4 @@
1
- import { D as Theme$1, Ii as CheckboxOwnerState, Li as CheckboxSlot, Ri as CheckboxThemeConfig, ia as StyleOverride, na as SlotProps } from "./index-DPQxIeZF.cjs";
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";
@@ -1,4 +1,4 @@
1
- import { Bi as CheckboxOwnerState, Ha as SlotProps, Hi as CheckboxThemeConfig, Vi as CheckboxSlot, Wa as StyleOverride, s as Theme$1 } from "./Accordion.types-DxvwAfZc.mjs";
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: (theme?.space)?.[1],
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 { D as Theme, Fi as ChipThemeConfig, Ni as ChipOwnerState, Pi as ChipSlot, ia as StyleOverride, na as SlotProps } from "./index-DPQxIeZF.cjs";
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 { Ha as SlotProps, Li as ChipOwnerState, Ri as ChipSlot, Wa as StyleOverride, s as Theme, zi as ChipThemeConfig } from "./Accordion.types-DxvwAfZc.mjs";
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";