@soroush.tech/design-system 1.2.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/dist/AppBar.d.cts +2 -2
  2. package/dist/AppBar.d.mts +2 -2
  3. package/dist/AppBar.mjs +1 -1
  4. package/dist/Avatar.d.cts +2 -2
  5. package/dist/Avatar.d.mts +2 -2
  6. package/dist/Avatar.mjs +1 -1
  7. package/dist/Backdrop.d.cts +1 -1
  8. package/dist/Backdrop.d.mts +1 -1
  9. package/dist/Backdrop.mjs +1 -1
  10. package/dist/Button.d.cts +1 -1
  11. package/dist/Button.d.mts +1 -1
  12. package/dist/Button.mjs +1 -1
  13. package/dist/ButtonGroup.d.cts +1 -1
  14. package/dist/ButtonGroup.d.mts +1 -1
  15. package/dist/ButtonGroup.mjs +1 -1
  16. package/dist/Card.d.cts +3 -3
  17. package/dist/Card.d.mts +3 -3
  18. package/dist/Card.mjs +2 -2
  19. package/dist/Checkbox.d.cts +3 -2
  20. package/dist/Checkbox.d.mts +3 -2
  21. package/dist/Checkbox.mjs +1 -1
  22. package/dist/CircularProgress.d.cts +4 -3
  23. package/dist/CircularProgress.d.mts +4 -3
  24. package/dist/CircularProgress.mjs +1 -1
  25. package/dist/Drawer.cjs +1 -1
  26. package/dist/Drawer.d.cts +2 -2
  27. package/dist/Drawer.d.mts +2 -2
  28. package/dist/Drawer.mjs +2 -2
  29. package/dist/Flex.d.cts +1 -1
  30. package/dist/Flex.d.mts +1 -1
  31. package/dist/Flex.mjs +1 -1
  32. package/dist/FocusTrap.mjs +1 -1
  33. package/dist/Form.mjs +1 -1
  34. package/dist/FormControl.d.cts +1 -1
  35. package/dist/FormControl.d.mts +1 -1
  36. package/dist/FormControl.mjs +1 -1
  37. package/dist/FormHelperText.d.cts +1 -1
  38. package/dist/FormHelperText.d.mts +1 -1
  39. package/dist/FormHelperText.mjs +1 -1
  40. package/dist/FormLabel.d.cts +1 -1
  41. package/dist/FormLabel.d.mts +1 -1
  42. package/dist/FormLabel.mjs +1 -1
  43. package/dist/Grid.d.cts +4 -3
  44. package/dist/Grid.d.mts +4 -3
  45. package/dist/Grid.mjs +1 -1
  46. package/dist/{Icon-GgwNXKEY.mjs → Icon-CU_nUmsU.mjs} +1 -1
  47. package/dist/Icon.d.cts +1 -1
  48. package/dist/Icon.d.mts +1 -1
  49. package/dist/Icon.mjs +1 -1
  50. package/dist/Image.d.cts +3 -2
  51. package/dist/Image.d.mts +3 -2
  52. package/dist/Image.mjs +1 -1
  53. package/dist/LinearProgress.d.cts +4 -3
  54. package/dist/LinearProgress.d.mts +4 -3
  55. package/dist/LinearProgress.mjs +1 -1
  56. package/dist/Link.d.cts +1 -1
  57. package/dist/Link.d.mts +1 -1
  58. package/dist/Link.mjs +1 -1
  59. package/dist/MenuItem.d.cts +1 -1
  60. package/dist/MenuItem.d.mts +1 -1
  61. package/dist/MenuItem.mjs +2 -2
  62. package/dist/{Modal-S2nb35q-.cjs → Modal-Bjfv7n4e.cjs} +23 -13
  63. package/dist/{Modal-COLrJoNW.mjs → Modal-Bv-mf8Fn.mjs} +17 -13
  64. package/dist/Modal.cjs +3 -2
  65. package/dist/Modal.d.cts +2 -2
  66. package/dist/Modal.d.mts +2 -2
  67. package/dist/Modal.mjs +2 -2
  68. package/dist/NativeSelect.d.cts +4 -3
  69. package/dist/NativeSelect.d.mts +4 -3
  70. package/dist/NativeSelect.mjs +2 -2
  71. package/dist/Pagination/PaginationItem.d.cts +1 -1
  72. package/dist/Pagination/PaginationItem.d.mts +1 -1
  73. package/dist/Pagination/PaginationItem.mjs +2 -2
  74. package/dist/Pagination.d.cts +2 -2
  75. package/dist/Pagination.d.mts +2 -2
  76. package/dist/Pagination.mjs +1 -1
  77. package/dist/Paper.d.cts +1 -1
  78. package/dist/Paper.d.mts +1 -1
  79. package/dist/Paper.mjs +1 -1
  80. package/dist/{Popover-BjGubpna.mjs → Popover-CH3yI-j-.mjs} +2 -2
  81. package/dist/{Popover-BxN7ts_I.cjs → Popover-COoJ2p2I.cjs} +1 -1
  82. package/dist/Popover.cjs +1 -1
  83. package/dist/Popover.d.cts +3 -3
  84. package/dist/Popover.d.mts +3 -3
  85. package/dist/Popover.mjs +1 -1
  86. package/dist/Pressable.d.cts +1 -1
  87. package/dist/Pressable.d.mts +1 -1
  88. package/dist/Pressable.mjs +1 -1
  89. package/dist/Quote.d.cts +2 -2
  90. package/dist/Quote.d.mts +2 -2
  91. package/dist/Quote.mjs +1 -1
  92. package/dist/Radio.d.cts +3 -2
  93. package/dist/Radio.d.mts +3 -2
  94. package/dist/Radio.mjs +1 -1
  95. package/dist/Select.cjs +1 -1
  96. package/dist/Select.d.cts +4 -3
  97. package/dist/Select.d.mts +4 -3
  98. package/dist/Select.mjs +3 -3
  99. package/dist/Sidebar/Sidebar.d.cts +1 -1
  100. package/dist/Sidebar/Sidebar.d.mts +1 -1
  101. package/dist/Sidebar/Sidebar.mjs +1 -1
  102. package/dist/Sidebar/SidebarItem.d.cts +3 -3
  103. package/dist/Sidebar/SidebarItem.d.mts +3 -3
  104. package/dist/Sidebar/SidebarItem.mjs +2 -2
  105. package/dist/Skeleton.d.cts +3 -2
  106. package/dist/Skeleton.d.mts +3 -2
  107. package/dist/Skeleton.mjs +1 -1
  108. package/dist/Switch.d.cts +3 -2
  109. package/dist/Switch.d.mts +3 -2
  110. package/dist/Switch.mjs +1 -1
  111. package/dist/Table/Table.d.cts +3 -2
  112. package/dist/Table/Table.d.mts +3 -2
  113. package/dist/Table/Table.mjs +1 -1
  114. package/dist/Table/TableBody.d.cts +3 -2
  115. package/dist/Table/TableBody.d.mts +3 -2
  116. package/dist/Table/TableBody.mjs +1 -1
  117. package/dist/Table/TableCell.d.cts +1 -1
  118. package/dist/Table/TableCell.d.mts +1 -1
  119. package/dist/Table/TableCell.mjs +1 -1
  120. package/dist/Table/TableContainer.d.cts +2 -2
  121. package/dist/Table/TableContainer.d.mts +2 -2
  122. package/dist/Table/TableContainer.mjs +1 -1
  123. package/dist/Table/TableControl.d.cts +1 -1
  124. package/dist/Table/TableControl.d.mts +1 -1
  125. package/dist/Table/TableFooter.d.cts +3 -2
  126. package/dist/Table/TableFooter.d.mts +3 -2
  127. package/dist/Table/TableFooter.mjs +1 -1
  128. package/dist/Table/TableHead.d.cts +3 -2
  129. package/dist/Table/TableHead.d.mts +3 -2
  130. package/dist/Table/TableHead.mjs +1 -1
  131. package/dist/Table/TablePagination.d.cts +2 -2
  132. package/dist/Table/TablePagination.d.mts +2 -2
  133. package/dist/Table/TablePagination.mjs +1 -1
  134. package/dist/Table/TablePaginationActions.d.cts +1 -1
  135. package/dist/Table/TablePaginationActions.d.mts +1 -1
  136. package/dist/Table/TablePaginationActions.mjs +1 -1
  137. package/dist/Table/TableRow.d.cts +3 -2
  138. package/dist/Table/TableRow.d.mts +3 -2
  139. package/dist/Table/TableRow.mjs +1 -1
  140. package/dist/Table/TableSortLabel.d.cts +1 -1
  141. package/dist/Table/TableSortLabel.d.mts +1 -1
  142. package/dist/Table/TableSortLabel.mjs +2 -2
  143. package/dist/Table/hooks.d.cts +1 -1
  144. package/dist/Table/hooks.d.mts +1 -1
  145. package/dist/Table.d.cts +4 -4
  146. package/dist/Table.d.mts +4 -4
  147. package/dist/TextInput.cjs +11 -9
  148. package/dist/TextInput.d.cts +3 -2
  149. package/dist/TextInput.d.mts +3 -2
  150. package/dist/TextInput.mjs +12 -10
  151. package/dist/ToggleButton/ToggleButton.d.cts +1 -1
  152. package/dist/ToggleButton/ToggleButton.d.mts +1 -1
  153. package/dist/ToggleButton/ToggleButton.mjs +1 -1
  154. package/dist/ToggleButton/ToggleButtonGroup.d.cts +1 -1
  155. package/dist/ToggleButton/ToggleButtonGroup.d.mts +1 -1
  156. package/dist/ToggleButton/ToggleButtonGroup.mjs +1 -1
  157. package/dist/Typography.d.cts +1 -1
  158. package/dist/Typography.d.mts +1 -1
  159. package/dist/Typography.mjs +1 -1
  160. package/dist/View.d.cts +1 -1
  161. package/dist/View.d.mts +1 -1
  162. package/dist/View.mjs +1 -1
  163. package/dist/{index-DLJ-li1B.d.cts → index-2QPYJgCl.d.cts} +2 -7
  164. package/dist/{index-BwUnDd9W.d.mts → index-3hPS6Lm8.d.mts} +3 -2
  165. package/dist/{index-D8U2tk1L.d.mts → index-BAfSyQaP.d.mts} +3 -2
  166. package/dist/{index-BfpjEqqt.d.cts → index-BBWtMvkm.d.cts} +6 -3
  167. package/dist/{index-DjtGkwRM.d.cts → index-BPzvFTi5.d.cts} +4 -3
  168. package/dist/{index-CYTaYcm3.d.cts → index-BW-9sqFG.d.cts} +2 -2
  169. package/dist/{index--mvTGo8F.d.cts → index-BYYEoNec.d.cts} +4 -3
  170. package/dist/{index-BL3jwIQU.d.mts → index-BjLlSr2P.d.mts} +3 -3
  171. package/dist/{index-CA_X-mXg.d.cts → index-Borai-Wg.d.cts} +3 -3
  172. package/dist/{index-BItZoGZ1.d.mts → index-C1hP7Igl.d.mts} +4 -3
  173. package/dist/{index-B3FrhO2r.d.cts → index-CCfnnT2l.d.cts} +4 -3
  174. package/dist/{index-KZUd8B5E.d.mts → index-CKz1lEdR.d.mts} +2 -2
  175. package/dist/{index-dtLxevvf.d.cts → index-CSXMCqrV.d.cts} +3 -2
  176. package/dist/{index-Ds__py2h.d.mts → index-CTYZyQ2g.d.mts} +6 -3
  177. package/dist/{index-DF3Hweir.d.mts → index-CbGfrKZi.d.mts} +4 -3
  178. package/dist/{index-yr4HkKOj.d.cts → index-CiShdd2j.d.cts} +3 -2
  179. package/dist/{index-CvaEVk-f.d.cts → index-CohsoGjZ.d.cts} +5 -4
  180. package/dist/{index-CO3Qq0I0.d.mts → index-CrXLEJO4.d.mts} +3 -2
  181. package/dist/{index-Ca0Pj5m2.d.mts → index-D07y72Xr.d.mts} +4 -3
  182. package/dist/{index-ATXjtAOY.d.mts → index-DEEHBUUZ.d.cts} +2 -2
  183. package/dist/{index-B7aaTHOe.d.cts → index-DGku7hLP.d.mts} +2 -2
  184. package/dist/{index-zFYi0f1t.d.cts → index-DLUE7t3O.d.cts} +4 -3
  185. package/dist/{index-C7j38wne.d.mts → index-DfhMdqqI.d.mts} +3 -2
  186. package/dist/{index-v99yMdts.d.cts → index-DiLm48XP.d.cts} +4 -3
  187. package/dist/{index-B2hrssyF.d.mts → index-DxBKLmUS.d.mts} +5 -4
  188. package/dist/{index-BNP_iejT.d.cts → index-X4STXeE2.d.cts} +3 -2
  189. package/dist/{index-q6EgsH9R.d.mts → index-m9jUR509.d.mts} +4 -3
  190. package/dist/{index-DEv2QslH.d.mts → index-n2OyTMr6.d.mts} +4 -3
  191. package/dist/{index-D8b5OCLe.d.mts → index-q9peil7T.d.mts} +2 -6
  192. package/dist/{index-BJ8OC_Zh.d.cts → index-uH0EeDBZ.d.cts} +3 -2
  193. package/dist/index.d.cts +1 -1
  194. package/dist/index.d.mts +1 -1
  195. package/dist/index.mjs +1 -1
  196. package/dist/{src-BJy4dM4f.mjs → src-D3tHU94W.mjs} +26 -1
  197. package/dist/{useTablePagination-HaIcJPv-.d.mts → useTablePagination-DOty8Ucb.d.mts} +1 -1
  198. package/dist/{useTablePagination-7jiSvKCh.d.cts → useTablePagination-Dh7o59Wt.d.cts} +1 -1
  199. package/package.json +8 -7
  200. package/dist/rolldown-runtime-BBjsoOtd.mjs +0 -27
@@ -1,4 +1,4 @@
1
- import { a as ButtonGroupProps } from "../index-DF3Hweir.mjs";
1
+ import { a as ButtonGroupProps } from "../index-CbGfrKZi.mjs";
2
2
  import { r as ToggleButtonValue } from "../ToggleButtonGroupContext-CqD-Afho.mjs";
3
3
  //#region src/ToggleButton/ToggleButtonGroup/ToggleButtonGroup.d.ts
4
4
  interface ToggleButtonGroupProps extends Omit<ButtonGroupProps, 'variant' | 'onChange'> {
@@ -1,4 +1,4 @@
1
- import { o as styled } from "../src-BJy4dM4f.mjs";
1
+ import { o as styled } from "../src-D3tHU94W.mjs";
2
2
  import { t as themeDefault } from "../themeDefault-Z3KmyIbm.mjs";
3
3
  import { r as useTheme } from "../theme-Cudynq5K.mjs";
4
4
  import { ButtonGroup } from "../ButtonGroup.mjs";
@@ -1,3 +1,3 @@
1
1
  import { L as TypographyVariant } from "./themes-CUV79qWU.cjs";
2
- import { a as TypographyProps, i as TypographyAlign, n as TextColorToken, r as Typography, t as BackgroundToken } from "./index-CvaEVk-f.cjs";
2
+ import { a as TypographyProps, i as TypographyAlign, n as TextColorToken, r as Typography, t as BackgroundToken } from "./index-CohsoGjZ.cjs";
3
3
  export { BackgroundToken, TextColorToken, Typography, TypographyAlign, TypographyProps, type TypographyVariant };
@@ -1,3 +1,3 @@
1
1
  import { L as TypographyVariant } from "./themes-CUV79qWU.mjs";
2
- import { a as TypographyProps, i as TypographyAlign, n as TextColorToken, r as Typography, t as BackgroundToken } from "./index-B2hrssyF.mjs";
2
+ import { a as TypographyProps, i as TypographyAlign, n as TextColorToken, r as Typography, t as BackgroundToken } from "./index-DxBKLmUS.mjs";
3
3
  export { BackgroundToken, TextColorToken, Typography, TypographyAlign, TypographyProps, type TypographyVariant };
@@ -1,4 +1,4 @@
1
- import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-BJy4dM4f.mjs";
1
+ import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-D3tHU94W.mjs";
2
2
  import { r as useTheme } from "./theme-Cudynq5K.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
package/dist/View.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as ViewBorderWidthToken, i as ViewBorderRadiusToken, n as ViewBackgroundToken, o as ViewColorToken, r as ViewBorderColorToken, s as ViewProps, t as View } from "./index-DjtGkwRM.cjs";
1
+ import { a as ViewBorderWidthToken, i as ViewBorderRadiusToken, n as ViewBackgroundToken, o as ViewColorToken, r as ViewBorderColorToken, s as ViewProps, t as View } from "./index-BPzvFTi5.cjs";
2
2
  export { View, ViewBackgroundToken, ViewBorderColorToken, ViewBorderRadiusToken, ViewBorderWidthToken, ViewColorToken, ViewProps };
package/dist/View.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as ViewBorderWidthToken, i as ViewBorderRadiusToken, n as ViewBackgroundToken, o as ViewColorToken, r as ViewBorderColorToken, s as ViewProps, t as View } from "./index-q6EgsH9R.mjs";
1
+ import { a as ViewBorderWidthToken, i as ViewBorderRadiusToken, n as ViewBackgroundToken, o as ViewColorToken, r as ViewBorderColorToken, s as ViewProps, t as View } from "./index-m9jUR509.mjs";
2
2
  export { View, ViewBackgroundToken, ViewBorderColorToken, ViewBorderRadiusToken, ViewBorderWidthToken, ViewColorToken, ViewProps };
package/dist/View.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-BJy4dM4f.mjs";
1
+ import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-D3tHU94W.mjs";
2
2
  import "react";
3
3
  //#region src/View/View.tsx
4
4
  const shouldForwardProp = createShouldForwardProp([
@@ -1,9 +1,8 @@
1
- import { d as PaletteColor, h as Theme, r as CSSObject$1 } from "./themes-CUV79qWU.cjs";
1
+ import { h as Theme } from "./themes-CUV79qWU.cjs";
2
2
  import { CreateStyledComponent, FilteringStyledOptions, Interpolation, StyledOptions } from "@emotion/styled";
3
3
  import { PropsOf, css, keyframes } from "@emotion/react";
4
4
  import { ComponentClass, ComponentProps, ComponentType, JSX, Ref } from "react";
5
5
  import { createShouldForwardProp, props } from "@soroush.tech/styled-system/should-forward-prop";
6
- //#endregion
7
6
  //#region src/style/styled.d.ts
8
7
  /**
9
8
  * Design-system additions to Emotion's styled options. A styled root that passes
@@ -66,9 +65,5 @@ interface CreateThemedStyled extends StyledTags {
66
65
  * customization (`theme.components[name].styleOverrides` / `.variants`).
67
66
  */
68
67
  declare const styled: CreateThemedStyled;
69
- declare namespace index_d_exports {
70
- export { CSSObject$1 as CSSObject, PaletteColor, Theme, ThemeCustomizationOptions, createShouldForwardProp, css, keyframes, props, styled };
71
- }
72
- import * as import__soroush_tech_styled_system from "@soroush.tech/styled-system";
73
68
  //#endregion
74
- export { props as a, keyframes as i, css as n, ThemeCustomizationOptions as o, index_d_exports as r, styled as s, createShouldForwardProp as t };
69
+ export { ThemeCustomizationOptions as a, props as i, css as n, styled as o, keyframes as r, createShouldForwardProp as t };
@@ -1,5 +1,6 @@
1
1
  import { d as PaletteColor, h as Theme } from "./themes-CUV79qWU.mjs";
2
- import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
2
+ import "./index-q9peil7T.mjs";
3
+ import { SpaceProps } from "@soroush.tech/styled-system";
3
4
  import { ButtonHTMLAttributes, ElementType, ReactNode } from "react";
4
5
  //#region src/Pagination/hooks/usePagination.d.ts
5
6
  type PaginationItemType = 'page' | 'first' | 'previous' | 'next' | 'last' | 'start-ellipsis' | 'end-ellipsis';
@@ -45,7 +46,7 @@ type PaginationItemColor = PaletteColor;
45
46
  type PaginationItemVariant = 'text' | 'outlined';
46
47
  type PaginationItemShape = 'circular' | 'rounded';
47
48
  type PaginationItemSize = keyof Theme['sizes'];
48
- interface PaginationItemProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'type'>, index_d_exports.SpaceProps<Theme> {
49
+ interface PaginationItemProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'type'>, SpaceProps<Theme> {
49
50
  /** What the item renders — a page number, a nav control, or a non-interactive ellipsis. */
50
51
  type?: PaginationItemType;
51
52
  /** The page number/content for `type="page"`. */
@@ -1,5 +1,6 @@
1
1
  import { d as PaletteColor, h as Theme, n as ButtonVariants } from "./themes-CUV79qWU.mjs";
2
- import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
2
+ import "./index-q9peil7T.mjs";
3
+ import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
3
4
  import { ButtonHTMLAttributes, ReactNode } from "react";
4
5
  //#region src/Button/Button.d.ts
5
6
  /** Augmentable via the `ButtonVariants` interface — style new values through `theme.components.Button.variants`. */
@@ -10,7 +11,7 @@ type ButtonShape = 'square' | 'rounded' | 'pill';
10
11
  type ButtonLoadingPosition = 'start' | 'end' | 'center';
11
12
  /** Valid values for the gap prop — resolves against theme.space. */
12
13
  type GapToken = keyof Theme['space'];
13
- interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color'>, index_d_exports.SpaceProps<Theme>, index_d_exports.LayoutProps<Theme>, index_d_exports.BorderProps<Theme>, index_d_exports.TypographyProps<Theme> {
14
+ interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color'>, SpaceProps<Theme>, LayoutProps<Theme>, BorderProps<Theme>, TypographyProps<Theme> {
14
15
  /** Visual style — filled, stroked, or ghost. Default: `'contained'`, overridable via `theme.defaults.buttonVariant`. */
15
16
  variant?: ButtonVariant;
16
17
  /** Color palette — maps to `theme.palette[color]`. Default: `'primary'`, overridable via `theme.defaults.color`. */
@@ -1,5 +1,5 @@
1
- import "./index-DLJ-li1B.cjs";
2
1
  import { h as Theme } from "./themes-CUV79qWU.cjs";
2
+ import "./index-2QPYJgCl.cjs";
3
3
  import { KeyboardEvent, MouseEvent, ReactNode, Ref, RefCallback, SyntheticEvent } from "react";
4
4
  //#region src/Modal/useModal.d.ts
5
5
  type ModalCloseReason = 'escapeKey' | 'backdropClick';
@@ -77,7 +77,10 @@ interface ManagedModal {
77
77
  interface ManagedModalProps {
78
78
  disableScrollLock?: boolean;
79
79
  }
80
- declare function ariaHidden(element: Element, hide: boolean): void;
80
+ /** Hides an element from assistive tech. */
81
+ declare function hideFromAria(element: Element): void;
82
+ /** Reveals an element to assistive tech again. */
83
+ declare function exposeToAria(element: Element): void;
81
84
  /**
82
85
  * Tracks every open modal and the containers they live in. A single shared
83
86
  * instance coordinates stacking (`isTopModal`), scroll-lock, and `aria-hidden`
@@ -92,4 +95,4 @@ declare class ModalManager {
92
95
  isTopModal(modal: ManagedModal): boolean;
93
96
  }
94
97
  //#endregion
95
- export { Modal as a, ModalCloseReason as c, useModal as d, ariaHidden as i, UseModalParameters as l, ManagedModalProps as n, ModalProps as o, ModalManager as r, ModalScroll as s, ManagedModal as t, UseModalReturnValue as u };
98
+ export { hideFromAria as a, ModalScroll as c, UseModalReturnValue as d, useModal as f, exposeToAria as i, ModalCloseReason as l, ManagedModalProps as n, Modal as o, ModalManager as r, ModalProps as s, ManagedModal as t, UseModalParameters as u };
@@ -1,6 +1,7 @@
1
- import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
2
1
  import { h as Theme } from "./themes-CUV79qWU.cjs";
2
+ import "./index-2QPYJgCl.cjs";
3
3
  import { CSSProperties, HTMLAttributes } from "react";
4
+ import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
4
5
  //#region src/View/View.d.ts
5
6
  /** Valid values for the color prop — derived from theme.text keys. */
6
7
  type ViewColorToken = keyof Theme['text'];
@@ -12,7 +13,7 @@ type ViewBorderColorToken = keyof Theme['border'];
12
13
  type ViewBorderWidthToken = keyof Theme['borderWidths'];
13
14
  /** Valid theme tokens for border-radius. Raw CSS pixel values (e.g. '6px', '9999px') are also accepted. */
14
15
  type ViewBorderRadiusToken = keyof Theme['radii'] | `${number}px`;
15
- interface ViewProps extends Omit<HTMLAttributes<HTMLElement>, 'color'>, index_d_exports.SpaceProps<Theme>, index_d_exports.LayoutProps<Theme>, index_d_exports.TypographyProps<Theme>, Omit<index_d_exports.BorderProps<Theme>, 'borderColor' | 'borderWidth' | 'borderRadius'>, index_d_exports.PositionProps<Theme> {
16
+ interface ViewProps extends Omit<HTMLAttributes<HTMLElement>, 'color'>, SpaceProps<Theme>, LayoutProps<Theme>, TypographyProps<Theme>, Omit<BorderProps<Theme>, 'borderColor' | 'borderWidth' | 'borderRadius'>, PositionProps<Theme> {
16
17
  bg?: ViewBackgroundToken;
17
18
  /** Resolves against theme.border — light · primary · dark */
18
19
  borderColor?: ViewBorderColorToken;
@@ -23,7 +24,7 @@ interface ViewProps extends Omit<HTMLAttributes<HTMLElement>, 'color'>, index_d_
23
24
  opacity?: number;
24
25
  cursor?: CSSProperties['cursor'];
25
26
  /** CSS order for flex/grid item placement. Accepts responsive arrays. */
26
- order?: index_d_exports.FlexboxProps<Theme>['order'];
27
+ order?: FlexboxProps<Theme>['order'];
27
28
  }
28
29
  declare const View: import("@emotion/styled").StyledComponent<{
29
30
  theme?: Theme;
@@ -1,6 +1,6 @@
1
- import "./index-DLJ-li1B.cjs";
2
1
  import { h as Theme } from "./themes-CUV79qWU.cjs";
3
- import { n as FlexProps } from "./index-zFYi0f1t.cjs";
2
+ import "./index-2QPYJgCl.cjs";
3
+ import { n as FlexProps } from "./index-DLUE7t3O.cjs";
4
4
  import { CSSProperties, ElementType } from "react";
5
5
  //#region src/Paper/Paper.d.ts
6
6
  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;
@@ -1,11 +1,12 @@
1
- import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
2
1
  import { h as Theme } from "./themes-CUV79qWU.cjs";
3
- import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-BJ8OC_Zh.cjs";
2
+ import "./index-2QPYJgCl.cjs";
3
+ import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-uH0EeDBZ.cjs";
4
4
  import { ElementType, HTMLAttributes } from "react";
5
+ import { SpaceProps } from "@soroush.tech/styled-system";
5
6
  //#region src/ButtonGroup/ButtonGroup.d.ts
6
7
  type ButtonGroupOrientation = 'horizontal' | 'vertical';
7
8
  type ButtonGroupRadius = keyof Theme['radii'];
8
- interface ButtonGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'color'>, index_d_exports.SpaceProps<Theme> {
9
+ interface ButtonGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'color'>, SpaceProps<Theme> {
9
10
  /** Visual style for all child buttons. Default: `'outlined'`. */
10
11
  variant?: ButtonVariant;
11
12
  /** Color palette for all child buttons — resolves against `theme.palette`. Default: 'primary', overridable via `theme.defaults.color`. */
@@ -1,5 +1,5 @@
1
- import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
2
- import { n as TextColorToken } from "./index-B2hrssyF.mjs";
1
+ import { n as TextColorToken } from "./index-DxBKLmUS.mjs";
2
+ import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
3
3
  import { SVGProps } from "react";
4
4
  //#region src/Icon/icons.d.ts
5
5
  /** Registry of available icons, keyed by their asset file name. */
@@ -66,7 +66,7 @@ declare const icons: {
66
66
  type IconName = keyof typeof icons;
67
67
  //#endregion
68
68
  //#region src/Icon/Icon.d.ts
69
- interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'color' | 'ref' | 'width' | 'height' | 'display' | 'overflow'>, index_d_exports.LayoutProps, index_d_exports.SpaceProps {
69
+ interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'color' | 'ref' | 'width' | 'height' | 'display' | 'overflow'>, LayoutProps, SpaceProps {
70
70
  /** Registry key of the icon to render. */
71
71
  name: IconName;
72
72
  /** Resolves against theme.text — applied as `color`, which the SVG inherits via `currentColor`. */
@@ -1,6 +1,6 @@
1
- import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
2
- import { n as TextColorToken } from "./index-CvaEVk-f.cjs";
1
+ import { n as TextColorToken } from "./index-CohsoGjZ.cjs";
3
2
  import { SVGProps } from "react";
3
+ import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
4
4
  //#region src/Icon/icons.d.ts
5
5
  /** Registry of available icons, keyed by their asset file name. */
6
6
  declare const icons: {
@@ -66,7 +66,7 @@ declare const icons: {
66
66
  type IconName = keyof typeof icons;
67
67
  //#endregion
68
68
  //#region src/Icon/Icon.d.ts
69
- interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'color' | 'ref' | 'width' | 'height' | 'display' | 'overflow'>, index_d_exports.LayoutProps, index_d_exports.SpaceProps {
69
+ interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'color' | 'ref' | 'width' | 'height' | 'display' | 'overflow'>, LayoutProps, SpaceProps {
70
70
  /** Registry key of the icon to render. */
71
71
  name: IconName;
72
72
  /** Resolves against theme.text — applied as `color`, which the SVG inherits via `currentColor`. */
@@ -1,10 +1,11 @@
1
1
  import { h as Theme } from "./themes-CUV79qWU.mjs";
2
- import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
3
- import { n as IconProps, r as IconName } from "./index-BL3jwIQU.mjs";
2
+ import "./index-q9peil7T.mjs";
3
+ import { n as IconProps, r as IconName } from "./index-BjLlSr2P.mjs";
4
+ import { SpaceProps } from "@soroush.tech/styled-system";
4
5
  import { ButtonHTMLAttributes } from "react";
5
6
  //#region src/Table/TableSortLabel/TableSortLabel.d.ts
6
7
  type TableSortLabelDirection = 'asc' | 'desc';
7
- interface TableSortLabelProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color'>, index_d_exports.SpaceProps<Theme> {
8
+ interface TableSortLabelProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color'>, SpaceProps<Theme> {
8
9
  /** Marks the currently-sorted column — shows the icon fully opaque. Default: `false`. */
9
10
  isActive?: boolean;
10
11
  /** Current sort direction — rotates the arrow. Default: `'asc'`. */
@@ -1,13 +1,14 @@
1
- import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
2
1
  import { h as Theme } from "./themes-CUV79qWU.cjs";
3
- import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-yr4HkKOj.cjs";
2
+ import "./index-2QPYJgCl.cjs";
3
+ import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-CiShdd2j.cjs";
4
4
  import { HTMLAttributes } from "react";
5
+ import { SpaceProps } from "@soroush.tech/styled-system";
5
6
  //#region src/Pagination/Pagination.d.ts
6
7
  type PaginationColor = PaginationItemColor;
7
8
  type PaginationVariant = PaginationItemVariant;
8
9
  type PaginationShape = PaginationItemShape;
9
10
  type PaginationSize = PaginationItemSize;
10
- interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'onChange'>, UsePaginationProps, index_d_exports.SpaceProps<Theme> {
11
+ interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'onChange'>, UsePaginationProps, SpaceProps<Theme> {
11
12
  /** Selected-item color — resolves against `theme.palette`. Default: 'primary', overridable via `theme.defaults.color`. */
12
13
  color?: PaginationColor;
13
14
  /** Item style — `text` or `outlined`. Default: `'text'`. */
@@ -1,6 +1,6 @@
1
1
  import { h as Theme } from "./themes-CUV79qWU.mjs";
2
- import "./index-D8b5OCLe.mjs";
3
- import { n as FlexProps } from "./index-DEv2QslH.mjs";
2
+ import "./index-q9peil7T.mjs";
3
+ import { n as FlexProps } from "./index-n2OyTMr6.mjs";
4
4
  import { CSSProperties, ElementType } from "react";
5
5
  //#region src/Paper/Paper.d.ts
6
6
  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;
@@ -1,6 +1,7 @@
1
- import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
2
1
  import { d as PaletteColor, h as Theme } from "./themes-CUV79qWU.cjs";
2
+ import "./index-2QPYJgCl.cjs";
3
3
  import { ButtonHTMLAttributes, ElementType } from "react";
4
+ import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
4
5
  //#region src/Pressable/Pressable.d.ts
5
6
  /**
6
7
  * Press feedback: `none` leaves the wrapped content untouched, `opacity` dims it
@@ -8,7 +9,7 @@ import { ButtonHTMLAttributes, ElementType } from "react";
8
9
  */
9
10
  type PressableFeedback = 'none' | 'opacity' | 'highlight';
10
11
  type PressableColor = PaletteColor;
11
- interface PressableProps extends Omit<ButtonHTMLAttributes<HTMLElement>, 'color'>, index_d_exports.SpaceProps<Theme>, index_d_exports.LayoutProps<Theme>, index_d_exports.BorderProps<Theme>, index_d_exports.TypographyProps<Theme> {
12
+ interface PressableProps extends Omit<ButtonHTMLAttributes<HTMLElement>, 'color'>, SpaceProps<Theme>, LayoutProps<Theme>, BorderProps<Theme>, TypographyProps<Theme> {
12
13
  /**
13
14
  * Element to render. Default: `'div'` — which still behaves as a button
14
15
  * (`role`, tab stop, Enter/Space) because a `<button>` may not legally contain
@@ -1,5 +1,5 @@
1
1
  import { h as Theme } from "./themes-CUV79qWU.mjs";
2
- import "./index-D8b5OCLe.mjs";
2
+ import "./index-q9peil7T.mjs";
3
3
  import { KeyboardEvent, MouseEvent, ReactNode, Ref, RefCallback, SyntheticEvent } from "react";
4
4
  //#region src/Modal/useModal.d.ts
5
5
  type ModalCloseReason = 'escapeKey' | 'backdropClick';
@@ -77,7 +77,10 @@ interface ManagedModal {
77
77
  interface ManagedModalProps {
78
78
  disableScrollLock?: boolean;
79
79
  }
80
- declare function ariaHidden(element: Element, hide: boolean): void;
80
+ /** Hides an element from assistive tech. */
81
+ declare function hideFromAria(element: Element): void;
82
+ /** Reveals an element to assistive tech again. */
83
+ declare function exposeToAria(element: Element): void;
81
84
  /**
82
85
  * Tracks every open modal and the containers they live in. A single shared
83
86
  * instance coordinates stacking (`isTopModal`), scroll-lock, and `aria-hidden`
@@ -92,4 +95,4 @@ declare class ModalManager {
92
95
  isTopModal(modal: ManagedModal): boolean;
93
96
  }
94
97
  //#endregion
95
- export { Modal as a, ModalCloseReason as c, useModal as d, ariaHidden as i, UseModalParameters as l, ManagedModalProps as n, ModalProps as o, ModalManager as r, ModalScroll as s, ManagedModal as t, UseModalReturnValue as u };
98
+ export { hideFromAria as a, ModalScroll as c, UseModalReturnValue as d, useModal as f, exposeToAria as i, ModalCloseReason as l, ManagedModalProps as n, Modal as o, ModalManager as r, ModalProps as s, ManagedModal as t, UseModalParameters as u };
@@ -1,11 +1,12 @@
1
1
  import { h as Theme } from "./themes-CUV79qWU.mjs";
2
- import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
3
- import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-D8U2tk1L.mjs";
2
+ import "./index-q9peil7T.mjs";
3
+ import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-BAfSyQaP.mjs";
4
+ import { SpaceProps } from "@soroush.tech/styled-system";
4
5
  import { ElementType, HTMLAttributes } from "react";
5
6
  //#region src/ButtonGroup/ButtonGroup.d.ts
6
7
  type ButtonGroupOrientation = 'horizontal' | 'vertical';
7
8
  type ButtonGroupRadius = keyof Theme['radii'];
8
- interface ButtonGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'color'>, index_d_exports.SpaceProps<Theme> {
9
+ interface ButtonGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'color'>, SpaceProps<Theme> {
9
10
  /** Visual style for all child buttons. Default: `'outlined'`. */
10
11
  variant?: ButtonVariant;
11
12
  /** Color palette for all child buttons — resolves against `theme.palette`. Default: 'primary', overridable via `theme.defaults.color`. */
@@ -1,6 +1,7 @@
1
- import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
2
1
  import { d as PaletteColor, h as Theme } from "./themes-CUV79qWU.cjs";
2
+ import "./index-2QPYJgCl.cjs";
3
3
  import { ButtonHTMLAttributes, ElementType, ReactNode } from "react";
4
+ import { SpaceProps } from "@soroush.tech/styled-system";
4
5
  //#region src/Pagination/hooks/usePagination.d.ts
5
6
  type PaginationItemType = 'page' | 'first' | 'previous' | 'next' | 'last' | 'start-ellipsis' | 'end-ellipsis';
6
7
  /** One renderable pagination item — `Pagination` maps these onto `PaginationItem`s. */
@@ -45,7 +46,7 @@ type PaginationItemColor = PaletteColor;
45
46
  type PaginationItemVariant = 'text' | 'outlined';
46
47
  type PaginationItemShape = 'circular' | 'rounded';
47
48
  type PaginationItemSize = keyof Theme['sizes'];
48
- interface PaginationItemProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'type'>, index_d_exports.SpaceProps<Theme> {
49
+ interface PaginationItemProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'type'>, SpaceProps<Theme> {
49
50
  /** What the item renders — a page number, a nav control, or a non-interactive ellipsis. */
50
51
  type?: PaginationItemType;
51
52
  /** The page number/content for `type="page"`. */
@@ -1,13 +1,14 @@
1
- import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
2
1
  import { L as TypographyVariant, h as Theme } from "./themes-CUV79qWU.cjs";
2
+ import "./index-2QPYJgCl.cjs";
3
3
  import { CSSProperties, ElementType, HTMLAttributes } from "react";
4
+ import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
4
5
  //#region src/Typography/Typography.d.ts
5
6
  type TypographyAlign = 'left' | 'right' | 'center' | 'justify' | 'inherit';
6
7
  /** Valid values for the color prop — derived from theme.text keys. */
7
8
  type TextColorToken = keyof Theme['text'];
8
9
  /** Valid values for the bg prop — derived from theme.background keys. */
9
10
  type BackgroundToken = keyof Theme['background'];
10
- interface TypographyProps extends Omit<HTMLAttributes<HTMLElement>, 'color'>, index_d_exports.SpaceProps<Theme>, index_d_exports.LayoutProps<Theme>, index_d_exports.TypographyProps<Theme>, index_d_exports.FlexboxProps<Theme>, index_d_exports.BorderProps<Theme>, index_d_exports.PositionProps<Theme> {
11
+ interface TypographyProps$1 extends Omit<HTMLAttributes<HTMLElement>, 'color'>, SpaceProps<Theme>, LayoutProps<Theme>, TypographyProps<Theme>, FlexboxProps<Theme>, BorderProps<Theme>, PositionProps<Theme> {
11
12
  /** Resolves against theme.text — inherit · initial · primary · secondary · error · success */
12
13
  color?: TextColorToken;
13
14
  /** Resolves against theme.background */
@@ -22,6 +23,6 @@ interface TypographyProps extends Omit<HTMLAttributes<HTMLElement>, 'color'>, in
22
23
  dateTime?: string;
23
24
  as?: ElementType;
24
25
  }
25
- declare function Typography({ variant, as, ...rest }: Readonly<TypographyProps>): import("react").JSX.Element;
26
+ declare function Typography({ variant, as, ...rest }: Readonly<TypographyProps$1>): import("react").JSX.Element;
26
27
  //#endregion
27
- export { TypographyProps as a, TypographyAlign as i, TextColorToken as n, Typography as r, BackgroundToken as t };
28
+ export { TypographyProps$1 as a, TypographyAlign as i, TextColorToken as n, Typography as r, BackgroundToken as t };
@@ -1,5 +1,6 @@
1
1
  import { d as PaletteColor, h as Theme } from "./themes-CUV79qWU.mjs";
2
- import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
2
+ import "./index-q9peil7T.mjs";
3
+ import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
3
4
  import { ButtonHTMLAttributes, ElementType } from "react";
4
5
  //#region src/Pressable/Pressable.d.ts
5
6
  /**
@@ -8,7 +9,7 @@ import { ButtonHTMLAttributes, ElementType } from "react";
8
9
  */
9
10
  type PressableFeedback = 'none' | 'opacity' | 'highlight';
10
11
  type PressableColor = PaletteColor;
11
- interface PressableProps extends Omit<ButtonHTMLAttributes<HTMLElement>, 'color'>, index_d_exports.SpaceProps<Theme>, index_d_exports.LayoutProps<Theme>, index_d_exports.BorderProps<Theme>, index_d_exports.TypographyProps<Theme> {
12
+ interface PressableProps extends Omit<ButtonHTMLAttributes<HTMLElement>, 'color'>, SpaceProps<Theme>, LayoutProps<Theme>, BorderProps<Theme>, TypographyProps<Theme> {
12
13
  /**
13
14
  * Element to render. Default: `'div'` — which still behaves as a button
14
15
  * (`role`, tab stop, Enter/Space) because a `<button>` may not legally contain
@@ -1,13 +1,14 @@
1
1
  import { h as Theme } from "./themes-CUV79qWU.mjs";
2
- import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
3
- import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-BwUnDd9W.mjs";
2
+ import "./index-q9peil7T.mjs";
3
+ import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-3hPS6Lm8.mjs";
4
+ import { SpaceProps } from "@soroush.tech/styled-system";
4
5
  import { HTMLAttributes } from "react";
5
6
  //#region src/Pagination/Pagination.d.ts
6
7
  type PaginationColor = PaginationItemColor;
7
8
  type PaginationVariant = PaginationItemVariant;
8
9
  type PaginationShape = PaginationItemShape;
9
10
  type PaginationSize = PaginationItemSize;
10
- interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'onChange'>, UsePaginationProps, index_d_exports.SpaceProps<Theme> {
11
+ interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'onChange'>, UsePaginationProps, SpaceProps<Theme> {
11
12
  /** Selected-item color — resolves against `theme.palette`. Default: 'primary', overridable via `theme.defaults.color`. */
12
13
  color?: PaginationColor;
13
14
  /** Item style — `text` or `outlined`. Default: `'text'`. */
@@ -1,5 +1,5 @@
1
- import { a as PaginationItemSize } from "./index-BwUnDd9W.mjs";
2
- import "./index-Ca0Pj5m2.mjs";
1
+ import { a as PaginationItemSize } from "./index-CiShdd2j.cjs";
2
+ import "./index-CCfnnT2l.cjs";
3
3
  import { HTMLAttributes } from "react";
4
4
  //#region src/Table/TablePaginationActions/TablePaginationActions.d.ts
5
5
  type TablePaginationActionType = 'first' | 'previous' | 'next' | 'last';
@@ -1,5 +1,5 @@
1
- import { a as PaginationItemSize } from "./index-yr4HkKOj.cjs";
2
- import "./index-B3FrhO2r.cjs";
1
+ import { a as PaginationItemSize } from "./index-3hPS6Lm8.mjs";
2
+ import "./index-D07y72Xr.mjs";
3
3
  import { HTMLAttributes } from "react";
4
4
  //#region src/Table/TablePaginationActions/TablePaginationActions.d.ts
5
5
  type TablePaginationActionType = 'first' | 'previous' | 'next' | 'last';
@@ -1,10 +1,11 @@
1
- import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
2
1
  import { h as Theme } from "./themes-CUV79qWU.cjs";
3
- import { s as ViewProps } from "./index-DjtGkwRM.cjs";
2
+ import "./index-2QPYJgCl.cjs";
3
+ import { s as ViewProps } from "./index-BPzvFTi5.cjs";
4
+ import { FlexboxProps } from "@soroush.tech/styled-system";
4
5
  //#region src/Flex/Flex.d.ts
5
6
  /** Valid values for the gap prop — derived from theme.space keys. */
6
7
  type GapToken = keyof Theme['space'];
7
- interface FlexProps extends ViewProps, index_d_exports.FlexboxProps<Theme> {}
8
+ interface FlexProps extends ViewProps, FlexboxProps<Theme> {}
8
9
  declare const Flex: import("@emotion/styled").StyledComponent<{
9
10
  theme?: Theme;
10
11
  as?: React.ElementType;
@@ -1,6 +1,7 @@
1
1
  import { h as Theme } from "./themes-CUV79qWU.mjs";
2
- import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
2
+ import "./index-q9peil7T.mjs";
3
3
  import { t as TableCellPadding } from "./TableContext-DV31j6HO.mjs";
4
+ import { BorderProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
4
5
  import { ElementType, ThHTMLAttributes } from "react";
5
6
  //#region src/Table/TableSectionContext.d.ts
6
7
  /** The table section a cell lives in — drives `TableCell`'s th/td element resolution. */
@@ -18,7 +19,7 @@ type TableCellColorToken = keyof Theme['text'];
18
19
  type TableCellBackgroundToken = keyof Theme['background'];
19
20
  /** Valid values for the borderColor prop — derived from theme.border keys. */
20
21
  type TableCellBorderColorToken = keyof Theme['border'];
21
- interface TableCellProps extends Omit<ThHTMLAttributes<HTMLTableCellElement>, 'color' | 'align'>, index_d_exports.SpaceProps<Theme>, index_d_exports.TypographyProps<Theme>, Omit<index_d_exports.BorderProps<Theme>, 'borderColor' | 'borderRadius'> {
22
+ interface TableCellProps extends Omit<ThHTMLAttributes<HTMLTableCellElement>, 'color' | 'align'>, SpaceProps<Theme>, TypographyProps<Theme>, Omit<BorderProps<Theme>, 'borderColor' | 'borderRadius'> {
22
23
  /** Resolves against theme.text */
23
24
  color?: TableCellColorToken;
24
25
  /** Resolves against theme.background */
@@ -1,10 +1,11 @@
1
- import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
2
1
  import { h as Theme } from "./themes-CUV79qWU.cjs";
3
- import { n as IconProps, r as IconName } from "./index-CA_X-mXg.cjs";
2
+ import "./index-2QPYJgCl.cjs";
3
+ import { n as IconProps, r as IconName } from "./index-Borai-Wg.cjs";
4
4
  import { ButtonHTMLAttributes } from "react";
5
+ import { SpaceProps } from "@soroush.tech/styled-system";
5
6
  //#region src/Table/TableSortLabel/TableSortLabel.d.ts
6
7
  type TableSortLabelDirection = 'asc' | 'desc';
7
- interface TableSortLabelProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color'>, index_d_exports.SpaceProps<Theme> {
8
+ interface TableSortLabelProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color'>, SpaceProps<Theme> {
8
9
  /** Marks the currently-sorted column — shows the icon fully opaque. Default: `false`. */
9
10
  isActive?: boolean;
10
11
  /** Current sort direction — rotates the arrow. Default: `'asc'`. */
@@ -1,5 +1,6 @@
1
1
  import { L as TypographyVariant, h as Theme } from "./themes-CUV79qWU.mjs";
2
- import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
2
+ import "./index-q9peil7T.mjs";
3
+ import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
3
4
  import { CSSProperties, ElementType, HTMLAttributes } from "react";
4
5
  //#region src/Typography/Typography.d.ts
5
6
  type TypographyAlign = 'left' | 'right' | 'center' | 'justify' | 'inherit';
@@ -7,7 +8,7 @@ type TypographyAlign = 'left' | 'right' | 'center' | 'justify' | 'inherit';
7
8
  type TextColorToken = keyof Theme['text'];
8
9
  /** Valid values for the bg prop — derived from theme.background keys. */
9
10
  type BackgroundToken = keyof Theme['background'];
10
- interface TypographyProps extends Omit<HTMLAttributes<HTMLElement>, 'color'>, index_d_exports.SpaceProps<Theme>, index_d_exports.LayoutProps<Theme>, index_d_exports.TypographyProps<Theme>, index_d_exports.FlexboxProps<Theme>, index_d_exports.BorderProps<Theme>, index_d_exports.PositionProps<Theme> {
11
+ interface TypographyProps$1 extends Omit<HTMLAttributes<HTMLElement>, 'color'>, SpaceProps<Theme>, LayoutProps<Theme>, TypographyProps<Theme>, FlexboxProps<Theme>, BorderProps<Theme>, PositionProps<Theme> {
11
12
  /** Resolves against theme.text — inherit · initial · primary · secondary · error · success */
12
13
  color?: TextColorToken;
13
14
  /** Resolves against theme.background */
@@ -22,6 +23,6 @@ interface TypographyProps extends Omit<HTMLAttributes<HTMLElement>, 'color'>, in
22
23
  dateTime?: string;
23
24
  as?: ElementType;
24
25
  }
25
- declare function Typography({ variant, as, ...rest }: Readonly<TypographyProps>): import("react").JSX.Element;
26
+ declare function Typography({ variant, as, ...rest }: Readonly<TypographyProps$1>): import("react").JSX.Element;
26
27
  //#endregion
27
- export { TypographyProps as a, TypographyAlign as i, TextColorToken as n, Typography as r, BackgroundToken as t };
28
+ export { TypographyProps$1 as a, TypographyAlign as i, TextColorToken as n, Typography as r, BackgroundToken as t };
@@ -1,7 +1,8 @@
1
- import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
2
1
  import { h as Theme } from "./themes-CUV79qWU.cjs";
2
+ import "./index-2QPYJgCl.cjs";
3
3
  import { t as TableCellPadding } from "./TableContext-BoOxdk8p.cjs";
4
4
  import { ElementType, ThHTMLAttributes } from "react";
5
+ import { BorderProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
5
6
  //#region src/Table/TableSectionContext.d.ts
6
7
  /** The table section a cell lives in — drives `TableCell`'s th/td element resolution. */
7
8
  type TableSection = 'head' | 'body' | 'footer';
@@ -18,7 +19,7 @@ type TableCellColorToken = keyof Theme['text'];
18
19
  type TableCellBackgroundToken = keyof Theme['background'];
19
20
  /** Valid values for the borderColor prop — derived from theme.border keys. */
20
21
  type TableCellBorderColorToken = keyof Theme['border'];
21
- interface TableCellProps extends Omit<ThHTMLAttributes<HTMLTableCellElement>, 'color' | 'align'>, index_d_exports.SpaceProps<Theme>, index_d_exports.TypographyProps<Theme>, Omit<index_d_exports.BorderProps<Theme>, 'borderColor' | 'borderRadius'> {
22
+ interface TableCellProps extends Omit<ThHTMLAttributes<HTMLTableCellElement>, 'color' | 'align'>, SpaceProps<Theme>, TypographyProps<Theme>, Omit<BorderProps<Theme>, 'borderColor' | 'borderRadius'> {
22
23
  /** Resolves against theme.text */
23
24
  color?: TableCellColorToken;
24
25
  /** Resolves against theme.background */
@@ -1,5 +1,6 @@
1
1
  import { h as Theme } from "./themes-CUV79qWU.mjs";
2
- import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
2
+ import "./index-q9peil7T.mjs";
3
+ import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
3
4
  import { CSSProperties, HTMLAttributes } from "react";
4
5
  //#region src/View/View.d.ts
5
6
  /** Valid values for the color prop — derived from theme.text keys. */
@@ -12,7 +13,7 @@ type ViewBorderColorToken = keyof Theme['border'];
12
13
  type ViewBorderWidthToken = keyof Theme['borderWidths'];
13
14
  /** Valid theme tokens for border-radius. Raw CSS pixel values (e.g. '6px', '9999px') are also accepted. */
14
15
  type ViewBorderRadiusToken = keyof Theme['radii'] | `${number}px`;
15
- interface ViewProps extends Omit<HTMLAttributes<HTMLElement>, 'color'>, index_d_exports.SpaceProps<Theme>, index_d_exports.LayoutProps<Theme>, index_d_exports.TypographyProps<Theme>, Omit<index_d_exports.BorderProps<Theme>, 'borderColor' | 'borderWidth' | 'borderRadius'>, index_d_exports.PositionProps<Theme> {
16
+ interface ViewProps extends Omit<HTMLAttributes<HTMLElement>, 'color'>, SpaceProps<Theme>, LayoutProps<Theme>, TypographyProps<Theme>, Omit<BorderProps<Theme>, 'borderColor' | 'borderWidth' | 'borderRadius'>, PositionProps<Theme> {
16
17
  bg?: ViewBackgroundToken;
17
18
  /** Resolves against theme.border — light · primary · dark */
18
19
  borderColor?: ViewBorderColorToken;
@@ -23,7 +24,7 @@ interface ViewProps extends Omit<HTMLAttributes<HTMLElement>, 'color'>, index_d_
23
24
  opacity?: number;
24
25
  cursor?: CSSProperties['cursor'];
25
26
  /** CSS order for flex/grid item placement. Accepts responsive arrays. */
26
- order?: index_d_exports.FlexboxProps<Theme>['order'];
27
+ order?: FlexboxProps<Theme>['order'];
27
28
  }
28
29
  declare const View: import("@emotion/styled").StyledComponent<{
29
30
  theme?: Theme;
@@ -1,10 +1,11 @@
1
1
  import { h as Theme } from "./themes-CUV79qWU.mjs";
2
- import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
3
- import { s as ViewProps } from "./index-q6EgsH9R.mjs";
2
+ import "./index-q9peil7T.mjs";
3
+ import { s as ViewProps } from "./index-m9jUR509.mjs";
4
+ import { FlexboxProps } from "@soroush.tech/styled-system";
4
5
  //#region src/Flex/Flex.d.ts
5
6
  /** Valid values for the gap prop — derived from theme.space keys. */
6
7
  type GapToken = keyof Theme['space'];
7
- interface FlexProps extends ViewProps, index_d_exports.FlexboxProps<Theme> {}
8
+ interface FlexProps extends ViewProps, FlexboxProps<Theme> {}
8
9
  declare const Flex: import("@emotion/styled").StyledComponent<{
9
10
  theme?: Theme;
10
11
  as?: React.ElementType;
@@ -1,4 +1,4 @@
1
- import { d as PaletteColor, h as Theme, r as CSSObject$1 } from "./themes-CUV79qWU.mjs";
1
+ import { h as Theme } from "./themes-CUV79qWU.mjs";
2
2
  import { CreateStyledComponent, FilteringStyledOptions, Interpolation, StyledOptions } from "@emotion/styled";
3
3
  import { PropsOf, css as css$1, keyframes } from "@emotion/react";
4
4
  import { createShouldForwardProp, props } from "@soroush.tech/styled-system/should-forward-prop";
@@ -65,9 +65,5 @@ interface CreateThemedStyled extends StyledTags {
65
65
  * customization (`theme.components[name].styleOverrides` / `.variants`).
66
66
  */
67
67
  declare const styled: CreateThemedStyled;
68
- declare namespace index_d_exports {
69
- export { CSSObject$1 as CSSObject, PaletteColor, Theme, ThemeCustomizationOptions, createShouldForwardProp, css$1 as css, keyframes, props, styled };
70
- }
71
- import * as import__soroush_tech_styled_system from "@soroush.tech/styled-system";
72
68
  //#endregion
73
- export { props as a, keyframes as i, css$1 as n, ThemeCustomizationOptions as o, index_d_exports as r, styled as s, createShouldForwardProp as t };
69
+ export { ThemeCustomizationOptions as a, props as i, css$1 as n, styled as o, keyframes as r, createShouldForwardProp as t };