@soroush.tech/design-system 2.0.0-alpha.1 → 2.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/dist/AppBar.d.cts +3 -3
- package/dist/AppBar.d.mts +3 -3
- package/dist/Avatar.d.cts +3 -3
- package/dist/Avatar.d.mts +3 -3
- package/dist/Backdrop.d.cts +1 -1
- package/dist/Backdrop.d.mts +1 -1
- package/dist/Button.d.cts +1 -1
- package/dist/Button.d.mts +1 -1
- package/dist/ButtonGroup.d.cts +1 -1
- package/dist/ButtonGroup.d.mts +1 -1
- package/dist/Card.d.cts +3 -3
- package/dist/Card.d.mts +3 -3
- package/dist/Checkbox.d.cts +2 -2
- package/dist/Checkbox.d.mts +2 -2
- package/dist/CircularProgress.d.cts +3 -3
- package/dist/CircularProgress.d.mts +3 -3
- package/dist/Drawer.d.cts +2 -2
- package/dist/Drawer.d.mts +2 -2
- package/dist/Flex.d.cts +1 -1
- package/dist/Flex.d.mts +1 -1
- package/dist/Form.d.cts +1 -1
- package/dist/Form.d.mts +1 -1
- package/dist/FormControl.d.cts +2 -2
- package/dist/FormControl.d.mts +2 -2
- package/dist/FormHelperText.d.cts +1 -1
- package/dist/FormHelperText.d.mts +1 -1
- package/dist/FormLabel.d.cts +1 -1
- package/dist/FormLabel.d.mts +1 -1
- package/dist/Grid.d.cts +8 -5
- package/dist/Grid.d.mts +8 -5
- package/dist/Icon.d.cts +1 -1
- package/dist/Icon.d.mts +1 -1
- package/dist/Image.d.cts +2 -2
- package/dist/Image.d.mts +2 -2
- package/dist/LinearProgress.d.cts +3 -3
- package/dist/LinearProgress.d.mts +3 -3
- package/dist/Link.d.cts +1 -1
- package/dist/Link.d.mts +1 -1
- package/dist/MenuItem.d.cts +2 -2
- package/dist/MenuItem.d.mts +2 -2
- package/dist/Modal.d.cts +1 -1
- package/dist/Modal.d.mts +1 -1
- package/dist/NativeSelect.d.cts +3 -3
- package/dist/NativeSelect.d.mts +3 -3
- package/dist/Pagination/PaginationItem.d.cts +1 -1
- package/dist/Pagination/PaginationItem.d.mts +1 -1
- package/dist/Pagination.d.cts +2 -2
- package/dist/Pagination.d.mts +2 -2
- package/dist/Paper.d.cts +1 -1
- package/dist/Paper.d.mts +1 -1
- package/dist/Popover.d.cts +4 -4
- package/dist/Popover.d.mts +4 -4
- package/dist/Pressable.d.cts +1 -1
- package/dist/Pressable.d.mts +1 -1
- package/dist/Quote.d.cts +4 -4
- package/dist/Quote.d.mts +4 -4
- package/dist/Radio.d.cts +2 -2
- package/dist/Radio.d.mts +2 -2
- package/dist/Select.d.cts +3 -3
- package/dist/Select.d.mts +3 -3
- package/dist/Sidebar/Sidebar.d.cts +1 -1
- package/dist/Sidebar/Sidebar.d.mts +1 -1
- package/dist/Sidebar/SidebarItem.d.cts +4 -4
- package/dist/Sidebar/SidebarItem.d.mts +4 -4
- package/dist/Skeleton.d.cts +2 -2
- package/dist/Skeleton.d.mts +2 -2
- package/dist/Switch.d.cts +2 -2
- package/dist/Switch.d.mts +2 -2
- package/dist/Table/Table.d.cts +3 -3
- package/dist/Table/Table.d.mts +3 -3
- package/dist/Table/TableBody.d.cts +2 -2
- package/dist/Table/TableBody.d.mts +2 -2
- package/dist/Table/TableCell.d.cts +1 -1
- package/dist/Table/TableCell.d.mts +1 -1
- package/dist/Table/TableContainer.d.cts +4 -4
- package/dist/Table/TableContainer.d.mts +4 -4
- package/dist/Table/TableControl.d.cts +1 -1
- package/dist/Table/TableControl.d.mts +1 -1
- package/dist/Table/TableFooter.d.cts +2 -2
- package/dist/Table/TableFooter.d.mts +2 -2
- package/dist/Table/TableHead.d.cts +2 -2
- package/dist/Table/TableHead.d.mts +2 -2
- package/dist/Table/TablePagination.d.cts +2 -2
- package/dist/Table/TablePagination.d.mts +2 -2
- package/dist/Table/TablePaginationActions.d.cts +1 -1
- package/dist/Table/TablePaginationActions.d.mts +1 -1
- package/dist/Table/TableRow.d.cts +2 -2
- package/dist/Table/TableRow.d.mts +2 -2
- package/dist/Table/TableSortLabel.d.cts +1 -1
- package/dist/Table/TableSortLabel.d.mts +1 -1
- package/dist/Table/hooks.d.cts +1 -1
- package/dist/Table/hooks.d.mts +1 -1
- package/dist/Table.d.cts +5 -5
- package/dist/Table.d.mts +5 -5
- package/dist/{TableContext-98M9MAm7.d.cts → TableContext-BowhBZkZ.d.cts} +1 -1
- package/dist/{TableContext-BwK_fB9Q.d.mts → TableContext-GmYLRYpc.d.mts} +1 -1
- package/dist/TextInput.d.cts +2 -2
- package/dist/TextInput.d.mts +2 -2
- package/dist/ToggleButton/ToggleButton.d.cts +1 -1
- package/dist/ToggleButton/ToggleButton.d.mts +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.d.cts +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.d.mts +1 -1
- package/dist/Typography.d.cts +2 -2
- package/dist/Typography.d.mts +2 -2
- package/dist/View.cjs +4 -2
- package/dist/View.d.cts +1 -1
- package/dist/View.d.mts +1 -1
- package/dist/View.mjs +4 -2
- package/dist/engine.d.cts +1 -1
- package/dist/engine.d.mts +1 -1
- package/dist/{index-DLtzp-Mg.d.mts → index-B2eLreA5.d.cts} +3 -3
- package/dist/{index-Dyfu-Otn.d.mts → index-BBV7_p-W.d.mts} +1 -1
- package/dist/{index-C2e925FY.d.cts → index-BHyJ6P_D.d.mts} +1 -1
- package/dist/{index-iHyGhLkM.d.mts → index-BO-vkjtm.d.cts} +1 -1
- package/dist/{index-CJWXZFFZ.d.cts → index-BT-mcuE6.d.mts} +4 -4
- package/dist/{index-FTr8Mn3p.d.cts → index-BW4rc8cK.d.cts} +2 -2
- package/dist/{index-CHr4HUzH.d.mts → index-BbngAEDY.d.mts} +2 -2
- package/dist/{index-CkYiijiE.d.cts → index-BsUsSWXP.d.cts} +1 -1
- package/dist/{index-BvLNPm5C.d.cts → index-C-kvrbCi.d.cts} +2 -2
- package/dist/{index-COKAN6-s.d.mts → index-C58AZZQ2.d.cts} +4 -4
- package/dist/{index-Fcf_SOl_.d.mts → index-C7bEBYuv.d.mts} +3 -3
- package/dist/{index-B2LR3Y5d.d.cts → index-C8SeYUxJ.d.cts} +4 -4
- package/dist/{index-D3kNrl9W.d.cts → index-CGCO5eo7.d.mts} +4 -4
- package/dist/{index-BS5dkngf.d.mts → index-CMKzrxOO.d.mts} +2 -2
- package/dist/{index-BAb24XNa.d.cts → index-CNzkJGNq.d.cts} +3 -3
- package/dist/{index-D8jHpwh5.d.cts → index-CPNzQhUu.d.cts} +2 -2
- package/dist/{index-C-ACdUhw.d.mts → index-CS4yFHlC.d.cts} +7 -5
- package/dist/{index-Da9Sr6v7.d.cts → index-CWYckiaS.d.mts} +7 -5
- package/dist/{index-D4M18wt_.d.mts → index-CmscFo1L.d.mts} +2 -2
- package/dist/{index-wJbUPxSk.d.cts → index-CxDY_w-H.d.cts} +1 -1
- package/dist/{index-CaCfFN31.d.mts → index-D0XX9v0b.d.cts} +4 -4
- package/dist/{index-BC98RYwO.d.mts → index-D2yMhmE_.d.mts} +3 -3
- package/dist/{index-COYl2TN0.d.mts → index-D5Rj4uWe.d.cts} +3 -3
- package/dist/{index-DClEfecw.d.cts → index-DJ8NTYR8.d.mts} +3 -3
- package/dist/{index-BjMQ1Sfq.d.cts → index-DTeurv8z.d.cts} +3 -3
- package/dist/{index-6BHvkjdp.d.cts → index-DYtIEMr9.d.mts} +3 -3
- package/dist/{index-CorVAOY7.d.mts → index-Ddetmkqd.d.cts} +3 -3
- package/dist/{index-DVG64KQ4.d.mts → index-Dkqk_6g2.d.mts} +1 -1
- package/dist/{index-BfOZMmZA.d.cts → index-VwsWkazt.d.cts} +2 -2
- package/dist/{index-BAKGyLEF.d.mts → index-di-L2lJ9.d.mts} +2 -2
- package/dist/{index-OWbQXOvw.d.cts → index-suqlMrTp.d.mts} +3 -3
- package/dist/{index-AlVOmB-K.d.mts → index-t6XUvJ_3.d.mts} +4 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/style.d.cts +2 -2
- package/dist/style.d.mts +2 -2
- package/dist/theme.d.cts +2 -2
- package/dist/theme.d.mts +2 -2
- package/dist/{themes-CCguU8uo.d.mts → themes-C3RTORGO.d.mts} +2 -1
- package/dist/{themes-CtTQTVqe.d.cts → themes-Dswy4M6B.d.cts} +2 -1
- package/dist/{useTablePagination-BG93T2Od.d.cts → useTablePagination-BueH0_dG.d.cts} +1 -1
- package/dist/{useTablePagination-jBWK8cmx.d.mts → useTablePagination-CxBh-gU8.d.mts} +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ButtonGroupProps } from "../index-
|
|
1
|
+
import { a as ButtonGroupProps } from "../index-D0XX9v0b.cjs";
|
|
2
2
|
import { r as ToggleButtonValue } from "../ToggleButtonGroupContext-10jEsQdg.cjs";
|
|
3
3
|
//#region src/ToggleButton/ToggleButtonGroup/ToggleButtonGroup.d.ts
|
|
4
4
|
interface ToggleButtonGroupProps extends Omit<ButtonGroupProps, 'variant' | 'onChange'> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ButtonGroupProps } from "../index-
|
|
1
|
+
import { a as ButtonGroupProps } from "../index-BT-mcuE6.mjs";
|
|
2
2
|
import { r as ToggleButtonValue } from "../ToggleButtonGroupContext-10jEsQdg.mjs";
|
|
3
3
|
//#region src/ToggleButton/ToggleButtonGroup/ToggleButtonGroup.d.ts
|
|
4
4
|
interface ToggleButtonGroupProps extends Omit<ButtonGroupProps, 'variant' | 'onChange'> {
|
package/dist/Typography.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Y as TypographyVariant } from "./themes-
|
|
2
|
-
import { a as TypographyProps, i as TypographyAlign, n as TextColorToken, r as Typography, t as BackgroundToken } from "./index-
|
|
1
|
+
import { Y as TypographyVariant } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import { a as TypographyProps, i as TypographyAlign, n as TextColorToken, r as Typography, t as BackgroundToken } from "./index-D5Rj4uWe.cjs";
|
|
3
3
|
export { BackgroundToken, TextColorToken, Typography, TypographyAlign, TypographyProps, type TypographyVariant };
|
package/dist/Typography.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Y as TypographyVariant } from "./themes-
|
|
2
|
-
import { a as TypographyProps, i as TypographyAlign, n as TextColorToken, r as Typography, t as BackgroundToken } from "./index-
|
|
1
|
+
import { Y as TypographyVariant } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import { a as TypographyProps, i as TypographyAlign, n as TextColorToken, r as Typography, t as BackgroundToken } from "./index-DJ8NTYR8.mjs";
|
|
3
3
|
export { BackgroundToken, TextColorToken, Typography, TypographyAlign, TypographyProps, type TypographyVariant };
|
package/dist/View.cjs
CHANGED
|
@@ -6,7 +6,8 @@ let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/sty
|
|
|
6
6
|
const shouldForwardProp = (0, _soroush_tech_styled_system_should_forward_prop.createShouldForwardProp)([
|
|
7
7
|
..._soroush_tech_styled_system_should_forward_prop.props,
|
|
8
8
|
"cursor",
|
|
9
|
-
"order"
|
|
9
|
+
"order",
|
|
10
|
+
"layout"
|
|
10
11
|
]);
|
|
11
12
|
const colorSystem = (0, require_src.src_exports.system)({
|
|
12
13
|
bg: {
|
|
@@ -32,7 +33,8 @@ const View = require_src.styled("div", {
|
|
|
32
33
|
require_src.src_exports.typography,
|
|
33
34
|
require_src.src_exports.border,
|
|
34
35
|
require_src.src_exports.position,
|
|
35
|
-
require_src.src_exports.span
|
|
36
|
+
require_src.src_exports.span,
|
|
37
|
+
require_src.src_exports.layoutFrame
|
|
36
38
|
]
|
|
37
39
|
})();
|
|
38
40
|
//#endregion
|
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-
|
|
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-C8SeYUxJ.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-
|
|
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-t6XUvJ_3.mjs";
|
|
2
2
|
export { View, ViewBackgroundToken, ViewBorderColorToken, ViewBorderRadiusToken, ViewBorderWidthToken, ViewColorToken, ViewProps };
|
package/dist/View.mjs
CHANGED
|
@@ -4,7 +4,8 @@ import "react";
|
|
|
4
4
|
const shouldForwardProp = createShouldForwardProp([
|
|
5
5
|
...props,
|
|
6
6
|
"cursor",
|
|
7
|
-
"order"
|
|
7
|
+
"order",
|
|
8
|
+
"layout"
|
|
8
9
|
]);
|
|
9
10
|
const colorSystem = (0, src_exports.system)({
|
|
10
11
|
bg: {
|
|
@@ -30,7 +31,8 @@ const View = styled("div", {
|
|
|
30
31
|
src_exports.typography,
|
|
31
32
|
src_exports.border,
|
|
32
33
|
src_exports.position,
|
|
33
|
-
src_exports.span
|
|
34
|
+
src_exports.span,
|
|
35
|
+
src_exports.layoutFrame
|
|
34
36
|
]
|
|
35
37
|
})();
|
|
36
38
|
//#endregion
|
package/dist/engine.d.cts
CHANGED
package/dist/engine.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as Theme, i as ButtonVariants, x as PaletteColor } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
1
|
+
import { T as Theme, i as ButtonVariants, x as PaletteColor } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.cjs";
|
|
4
3
|
import { ButtonHTMLAttributes, ReactNode } from "react";
|
|
4
|
+
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Button/Button.d.ts
|
|
6
6
|
/** Augmentable via the `ButtonVariants` interface - style new values through `theme.components.Button.variants`. */
|
|
7
7
|
type ButtonVariant = keyof ButtonVariants;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as TextColorToken } from "./index-
|
|
1
|
+
import { n as TextColorToken } from "./index-DJ8NTYR8.mjs";
|
|
2
2
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
3
3
|
import { SVGProps } from "react";
|
|
4
4
|
//#region src/Icon/icons/AccountTree.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as ThemeDefaults, T as Theme, j as ThemeComponents } from "./themes-
|
|
1
|
+
import { M as ThemeDefaults, T as Theme, j as ThemeComponents } from "./themes-C3RTORGO.mjs";
|
|
2
2
|
import { ComponentType, ReactNode } from "react";
|
|
3
3
|
//#region src/theme/ThemeProvider.d.ts
|
|
4
4
|
interface ThemeProviderProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as ThemeDefaults, T as Theme, j as ThemeComponents } from "./themes-
|
|
1
|
+
import { M as ThemeDefaults, T as Theme, j as ThemeComponents } from "./themes-Dswy4M6B.cjs";
|
|
2
2
|
import { ComponentType, ReactNode } from "react";
|
|
3
3
|
//#region src/theme/ThemeProvider.d.ts
|
|
4
4
|
interface ThemeProviderProps {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-
|
|
4
|
-
import { ElementType, HTMLAttributes } from "react";
|
|
1
|
+
import { T as Theme } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import "./index-Dkqk_6g2.mjs";
|
|
3
|
+
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-DYtIEMr9.mjs";
|
|
5
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
5
|
+
import { ElementType, HTMLAttributes } from "react";
|
|
6
6
|
//#region src/ButtonGroup/ButtonGroup.d.ts
|
|
7
7
|
type ButtonGroupOrientation = 'horizontal' | 'vertical';
|
|
8
8
|
type ButtonGroupRadius = keyof Theme['radii'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.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';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import "./index-Dkqk_6g2.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';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
1
|
+
import { T as Theme } from "./themes-Dswy4M6B.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";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PaginationItemSize } from "./index-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { a as PaginationItemSize } from "./index-VwsWkazt.cjs";
|
|
2
|
+
import "./index-C58AZZQ2.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,8 +1,8 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-
|
|
4
|
-
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
1
|
+
import { T as Theme } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.cjs";
|
|
3
|
+
import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-VwsWkazt.cjs";
|
|
5
4
|
import { HTMLAttributes } from "react";
|
|
5
|
+
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
6
6
|
//#region src/Pagination/Pagination.d.ts
|
|
7
7
|
type PaginationColor = PaginationItemColor;
|
|
8
8
|
type PaginationVariant = PaginationItemVariant;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
1
|
+
import { T as Theme } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import "./index-Dkqk_6g2.mjs";
|
|
3
|
+
import { n as IconProps, r as IconName } from "./index-BBV7_p-W.mjs";
|
|
4
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
import { ButtonHTMLAttributes } from "react";
|
|
6
6
|
//#region src/Table/TableSortLabel/TableSortLabel.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.cjs";
|
|
3
3
|
import { CSSProperties, HTMLAttributes } from "react";
|
|
4
|
-
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, SpanProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
|
+
import { BorderProps, FlexboxProps, LayoutFrameProps, LayoutProps, PositionProps, SpaceProps, SpanProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/View/View.d.ts
|
|
6
6
|
/** Valid values for the color prop - derived from theme.text keys. */
|
|
7
7
|
type ViewColorToken = keyof Theme['text'];
|
|
@@ -13,7 +13,7 @@ type ViewBorderColorToken = keyof Theme['border'];
|
|
|
13
13
|
type ViewBorderWidthToken = keyof Theme['borderWidths'];
|
|
14
14
|
/** Valid theme tokens for border-radius. Raw CSS pixel values (e.g. '6px', '9999px') are also accepted. */
|
|
15
15
|
type ViewBorderRadiusToken = keyof Theme['radii'] | `${number}px`;
|
|
16
|
-
interface ViewProps extends Omit<HTMLAttributes<HTMLElement>, 'color'>, SpaceProps<Theme>, LayoutProps<Theme>, TypographyProps<Theme>, Omit<BorderProps<Theme>, 'borderColor' | 'borderWidth' | 'borderRadius'>, PositionProps<Theme>, SpanProps<Theme> {
|
|
16
|
+
interface ViewProps extends Omit<HTMLAttributes<HTMLElement>, 'color'>, SpaceProps<Theme>, LayoutProps<Theme>, TypographyProps<Theme>, Omit<BorderProps<Theme>, 'borderColor' | 'borderWidth' | 'borderRadius'>, PositionProps<Theme>, SpanProps<Theme>, LayoutFrameProps<Theme> {
|
|
17
17
|
bg?: ViewBackgroundToken;
|
|
18
18
|
/** Resolves against theme.border - light · primary · dark */
|
|
19
19
|
borderColor?: ViewBorderColorToken;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-
|
|
4
|
-
import { HTMLAttributes } from "react";
|
|
1
|
+
import { T as Theme } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import "./index-Dkqk_6g2.mjs";
|
|
3
|
+
import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-CMKzrxOO.mjs";
|
|
5
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
5
|
+
import { HTMLAttributes } from "react";
|
|
6
6
|
//#region src/Pagination/Pagination.d.ts
|
|
7
7
|
type PaginationColor = PaginationItemColor;
|
|
8
8
|
type PaginationVariant = PaginationItemVariant;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme, x as PaletteColor } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme, x as PaletteColor } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import "./index-Dkqk_6g2.mjs";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { ButtonHTMLAttributes, ElementType, ReactNode } from "react";
|
|
5
5
|
//#region src/Pagination/hooks/usePagination.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
1
|
+
import { T as Theme } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.cjs";
|
|
3
|
+
import { n as IconProps, r as IconName } from "./index-CxDY_w-H.cjs";
|
|
4
4
|
import { ButtonHTMLAttributes } from "react";
|
|
5
5
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
6
6
|
//#region src/Table/TableSortLabel/TableSortLabel.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme, x as PaletteColor } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme, x as PaletteColor } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.cjs";
|
|
3
3
|
import { ButtonHTMLAttributes, ElementType } from "react";
|
|
4
4
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Pressable/Pressable.d.ts
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { s as ViewProps } from "./index-
|
|
1
|
+
import { T as Theme } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.cjs";
|
|
3
|
+
import { s as ViewProps } from "./index-C8SeYUxJ.cjs";
|
|
4
4
|
import { FlexboxProps, LayoutGridProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Flex/Flex.d.ts
|
|
6
6
|
/** Valid values for the gap prop - derived from theme.space keys. */
|
|
7
7
|
type GapToken = keyof Theme['space'];
|
|
8
8
|
/**
|
|
9
9
|
* `layout` lays a wrapping row out from `theme.layout` - the theme's gutter and margin per
|
|
10
|
-
* breakpoint, with `--layout-columns` / `--layout-gutter` for the children's `span`.
|
|
10
|
+
* breakpoint, with `--layout-columns` / `--layout-gutter` for the children's `span`. Entries
|
|
11
|
+
* work as on `Grid`: `layout={{ gutter: 8 }}` at every breakpoint, `{ md: { gutter: 4 } }` at one.
|
|
12
|
+
* View draws the frame; Flex adds the row. Column spacing comes from `gutter`, rows take `rowGap`.
|
|
11
13
|
*/
|
|
12
|
-
interface FlexProps extends ViewProps, FlexboxProps<Theme>, LayoutGridProps<Theme> {}
|
|
14
|
+
interface FlexProps extends Omit<ViewProps, 'layout'>, FlexboxProps<Theme>, LayoutGridProps<Theme> {}
|
|
13
15
|
declare const Flex: import("@emotion/styled").StyledComponent<{
|
|
14
16
|
theme?: Theme;
|
|
15
17
|
as?: React.ElementType;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { s as ViewProps } from "./index-
|
|
1
|
+
import { T as Theme } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import "./index-Dkqk_6g2.mjs";
|
|
3
|
+
import { s as ViewProps } from "./index-t6XUvJ_3.mjs";
|
|
4
4
|
import { FlexboxProps, LayoutGridProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Flex/Flex.d.ts
|
|
6
6
|
/** Valid values for the gap prop - derived from theme.space keys. */
|
|
7
7
|
type GapToken = keyof Theme['space'];
|
|
8
8
|
/**
|
|
9
9
|
* `layout` lays a wrapping row out from `theme.layout` - the theme's gutter and margin per
|
|
10
|
-
* breakpoint, with `--layout-columns` / `--layout-gutter` for the children's `span`.
|
|
10
|
+
* breakpoint, with `--layout-columns` / `--layout-gutter` for the children's `span`. Entries
|
|
11
|
+
* work as on `Grid`: `layout={{ gutter: 8 }}` at every breakpoint, `{ md: { gutter: 4 } }` at one.
|
|
12
|
+
* View draws the frame; Flex adds the row. Column spacing comes from `gutter`, rows take `rowGap`.
|
|
11
13
|
*/
|
|
12
|
-
interface FlexProps extends ViewProps, FlexboxProps<Theme>, LayoutGridProps<Theme> {}
|
|
14
|
+
interface FlexProps extends Omit<ViewProps, 'layout'>, FlexboxProps<Theme>, LayoutGridProps<Theme> {}
|
|
13
15
|
declare const Flex: import("@emotion/styled").StyledComponent<{
|
|
14
16
|
theme?: Theme;
|
|
15
17
|
as?: React.ElementType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme, x as PaletteColor } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme, x as PaletteColor } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import "./index-Dkqk_6g2.mjs";
|
|
3
3
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { ButtonHTMLAttributes, ElementType } from "react";
|
|
5
5
|
//#region src/Pressable/Pressable.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as TextColorToken } from "./index-
|
|
1
|
+
import { n as TextColorToken } from "./index-D5Rj4uWe.cjs";
|
|
2
2
|
import { SVGProps } from "react";
|
|
3
3
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
//#region src/Icon/icons/AccountTree.d.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-
|
|
4
|
-
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
1
|
+
import { T as Theme } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.cjs";
|
|
3
|
+
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-B2eLreA5.cjs";
|
|
5
4
|
import { ElementType, HTMLAttributes } from "react";
|
|
5
|
+
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
6
6
|
//#region src/ButtonGroup/ButtonGroup.d.ts
|
|
7
7
|
type ButtonGroupOrientation = 'horizontal' | 'vertical';
|
|
8
8
|
type ButtonGroupRadius = keyof Theme['radii'];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { t as TableCellPadding } from "./TableContext-
|
|
1
|
+
import { T as Theme } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import "./index-Dkqk_6g2.mjs";
|
|
3
|
+
import { t as TableCellPadding } from "./TableContext-GmYLRYpc.mjs";
|
|
4
4
|
import { BorderProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
5
5
|
import { ElementType, ThHTMLAttributes } from "react";
|
|
6
6
|
//#region src/Table/TableSectionContext.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as Theme, Y as TypographyVariant } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
1
|
+
import { T as Theme, Y as TypographyVariant } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.cjs";
|
|
4
3
|
import { CSSProperties, ElementType, HTMLAttributes } from "react";
|
|
4
|
+
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Typography/Typography.d.ts
|
|
6
6
|
type TypographyAlign = 'left' | 'right' | 'center' | 'justify' | 'inherit';
|
|
7
7
|
/** Valid values for the color prop - derived from theme.text keys. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as Theme, Y as TypographyVariant } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { CSSProperties, ElementType, HTMLAttributes } from "react";
|
|
1
|
+
import { T as Theme, Y as TypographyVariant } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import "./index-Dkqk_6g2.mjs";
|
|
4
3
|
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
|
+
import { CSSProperties, ElementType, HTMLAttributes } from "react";
|
|
5
5
|
//#region src/Typography/Typography.d.ts
|
|
6
6
|
type TypographyAlign = 'left' | 'right' | 'center' | 'justify' | 'inherit';
|
|
7
7
|
/** Valid values for the color prop - derived from theme.text keys. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { t as TableCellPadding } from "./TableContext-
|
|
1
|
+
import { T as Theme } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.cjs";
|
|
3
|
+
import { t as TableCellPadding } from "./TableContext-BowhBZkZ.cjs";
|
|
4
4
|
import { ElementType, ThHTMLAttributes } from "react";
|
|
5
5
|
import { BorderProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
6
6
|
//#region src/Table/TableSectionContext.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as Theme, i as ButtonVariants, x as PaletteColor } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { ButtonHTMLAttributes, ReactNode } from "react";
|
|
1
|
+
import { T as Theme, i as ButtonVariants, x as PaletteColor } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import "./index-Dkqk_6g2.mjs";
|
|
4
3
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
|
+
import { ButtonHTMLAttributes, ReactNode } from "react";
|
|
5
5
|
//#region src/Button/Button.d.ts
|
|
6
6
|
/** Augmentable via the `ButtonVariants` interface - style new values through `theme.components.Button.variants`. */
|
|
7
7
|
type ButtonVariant = keyof ButtonVariants;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as FlexProps } from "./index-
|
|
1
|
+
import { T as Theme } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.cjs";
|
|
3
|
+
import { n as FlexProps } from "./index-CS4yFHlC.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,4 +1,4 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
1
|
+
import { T as Theme } from "./themes-C3RTORGO.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";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme, x as PaletteColor } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme, x as PaletteColor } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.cjs";
|
|
3
3
|
import { ButtonHTMLAttributes, ElementType, ReactNode } from "react";
|
|
4
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Pagination/hooks/usePagination.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PaginationItemSize } from "./index-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { a as PaginationItemSize } from "./index-CMKzrxOO.mjs";
|
|
2
|
+
import "./index-CGCO5eo7.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,6 +1,6 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as FlexProps } from "./index-
|
|
1
|
+
import { T as Theme } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import "./index-Dkqk_6g2.mjs";
|
|
3
|
+
import { n as FlexProps } from "./index-CWYckiaS.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,6 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, SpanProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
1
|
+
import { T as Theme } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import "./index-Dkqk_6g2.mjs";
|
|
3
|
+
import { BorderProps, FlexboxProps, LayoutFrameProps, LayoutProps, PositionProps, SpaceProps, SpanProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { CSSProperties, HTMLAttributes } from "react";
|
|
5
5
|
//#region src/View/View.d.ts
|
|
6
6
|
/** Valid values for the color prop - derived from theme.text keys. */
|
|
@@ -13,7 +13,7 @@ type ViewBorderColorToken = keyof Theme['border'];
|
|
|
13
13
|
type ViewBorderWidthToken = keyof Theme['borderWidths'];
|
|
14
14
|
/** Valid theme tokens for border-radius. Raw CSS pixel values (e.g. '6px', '9999px') are also accepted. */
|
|
15
15
|
type ViewBorderRadiusToken = keyof Theme['radii'] | `${number}px`;
|
|
16
|
-
interface ViewProps extends Omit<HTMLAttributes<HTMLElement>, 'color'>, SpaceProps<Theme>, LayoutProps<Theme>, TypographyProps<Theme>, Omit<BorderProps<Theme>, 'borderColor' | 'borderWidth' | 'borderRadius'>, PositionProps<Theme>, SpanProps<Theme> {
|
|
16
|
+
interface ViewProps extends Omit<HTMLAttributes<HTMLElement>, 'color'>, SpaceProps<Theme>, LayoutProps<Theme>, TypographyProps<Theme>, Omit<BorderProps<Theme>, 'borderColor' | 'borderWidth' | 'borderRadius'>, PositionProps<Theme>, SpanProps<Theme>, LayoutFrameProps<Theme> {
|
|
17
17
|
bg?: ViewBackgroundToken;
|
|
18
18
|
/** Resolves against theme.border - light · primary · dark */
|
|
19
19
|
borderColor?: ViewBorderColorToken;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as Theme, a as CSSObject, x as PaletteColor } from "./themes-
|
|
2
|
-
import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-
|
|
1
|
+
import { T as Theme, a as CSSObject, x as PaletteColor } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-BsUsSWXP.cjs";
|
|
3
3
|
export * from "@soroush.tech/styled-system";
|
|
4
4
|
export { type CSSObject, type PaletteColor, type Theme, type ThemeCustomizationOptions, createShouldForwardProp, css, keyframes, props, styled };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as Theme, a as CSSObject, x as PaletteColor } from "./themes-
|
|
2
|
-
import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-
|
|
1
|
+
import { T as Theme, a as CSSObject, x as PaletteColor } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-Dkqk_6g2.mjs";
|
|
3
3
|
export * from "@soroush.tech/styled-system";
|
|
4
4
|
export { type CSSObject, type PaletteColor, type Theme, type ThemeCustomizationOptions, createShouldForwardProp, css, keyframes, props, styled };
|
package/dist/style.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme, a as CSSObject } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme, a as CSSObject } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BO-vkjtm.cjs";
|
|
3
3
|
import { ComponentType, ReactNode } from "react";
|
|
4
4
|
//#region src/style/hooks/useStyle.d.ts
|
|
5
5
|
type StyleFactory = {
|
package/dist/style.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme, a as CSSObject } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme, a as CSSObject } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import "./index-BHyJ6P_D.mjs";
|
|
3
3
|
import { ComponentType, ReactNode } from "react";
|
|
4
4
|
//#region src/style/hooks/useStyle.d.ts
|
|
5
5
|
type StyleFactory = {
|
package/dist/theme.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as between, A as ThemeBreakpoints, B as ThemeRadii, C as PressableOwnerState, Ct as withBreakpointHelpers, D as ThemeBackground, E as ThemeAvatarSizes, F as ThemeIconSizes, G as ThemeSwitch, H as ThemeSizes, I as ThemeLayout, J as ThemeZOrder, K as ThemeText, L as ThemeLetterSpacings, M as ThemeDefaults, N as ThemeFontWeights, O as ThemeBorder, P as ThemeFonts, Q as baseTheme, R as ThemeLineHeights, S as PaletteEntry, St as BreakpointHelpers, T as Theme, U as ThemeSkeleton, V as ThemeShadow, W as ThemeSpace, X as TypographyVariantStyle, Y as TypographyVariant, Z as avatar, _ as LayoutPanel, _t as up, a as CSSObject, at as fontWeights, b as OpenScale, bt as ThemeOverride, c as CardSlotTypographyProps, ct as layout, d as ComponentVariant, dt as not, et as borderWidths, f as DefaultBreakpoints, ft as only, g as LayoutLength, gt as typography, h as LayoutEntry, ht as space, i as ButtonVariants, it as fontSizes, j as ThemeComponents, k as ThemeBorderWidths, l as ComponentConfig, lt as letterSpacings, m as LayoutContent, mt as sizes, n as BreakpointOverrides, nt as containerQueries, o as CardOwnerState, ot as fonts, p as LayoutBars, pt as radii, q as ThemeTypographyVariants, r as ButtonOwnerState, rt as down, s as CardSlotIconProps, st as icon, t as BreakpointKey, tt as breakpoints, u as ComponentStyle, ut as lineHeights, v as LayoutPanels, vt as zOrder, w as SizeEntry, x as PaletteColor, xt as createTheme, y as LayoutSpace, yt as DeepPartial, z as ThemePalette } from "./themes-
|
|
2
|
-
import { a as ThemeProvider, i as themeDefault, n as useDefaultProps, r as useTheme, t as withTheme } from "./index-
|
|
1
|
+
import { $ as between, A as ThemeBreakpoints, B as ThemeRadii, C as PressableOwnerState, Ct as withBreakpointHelpers, D as ThemeBackground, E as ThemeAvatarSizes, F as ThemeIconSizes, G as ThemeSwitch, H as ThemeSizes, I as ThemeLayout, J as ThemeZOrder, K as ThemeText, L as ThemeLetterSpacings, M as ThemeDefaults, N as ThemeFontWeights, O as ThemeBorder, P as ThemeFonts, Q as baseTheme, R as ThemeLineHeights, S as PaletteEntry, St as BreakpointHelpers, T as Theme, U as ThemeSkeleton, V as ThemeShadow, W as ThemeSpace, X as TypographyVariantStyle, Y as TypographyVariant, Z as avatar, _ as LayoutPanel, _t as up, a as CSSObject, at as fontWeights, b as OpenScale, bt as ThemeOverride, c as CardSlotTypographyProps, ct as layout, d as ComponentVariant, dt as not, et as borderWidths, f as DefaultBreakpoints, ft as only, g as LayoutLength, gt as typography, h as LayoutEntry, ht as space, i as ButtonVariants, it as fontSizes, j as ThemeComponents, k as ThemeBorderWidths, l as ComponentConfig, lt as letterSpacings, m as LayoutContent, mt as sizes, n as BreakpointOverrides, nt as containerQueries, o as CardOwnerState, ot as fonts, p as LayoutBars, pt as radii, q as ThemeTypographyVariants, r as ButtonOwnerState, rt as down, s as CardSlotIconProps, st as icon, t as BreakpointKey, tt as breakpoints, u as ComponentStyle, ut as lineHeights, v as LayoutPanels, vt as zOrder, w as SizeEntry, x as PaletteColor, xt as createTheme, y as LayoutSpace, yt as DeepPartial, z as ThemePalette } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import { a as ThemeProvider, i as themeDefault, n as useDefaultProps, r as useTheme, t as withTheme } from "./index-BO-vkjtm.cjs";
|
|
3
3
|
export { BreakpointHelpers, BreakpointKey, BreakpointOverrides, ButtonOwnerState, ButtonVariants, CSSObject, CardOwnerState, CardSlotIconProps, CardSlotTypographyProps, ComponentConfig, ComponentStyle, ComponentVariant, type DeepPartial, DefaultBreakpoints, LayoutBars, LayoutContent, LayoutEntry, LayoutLength, LayoutPanel, LayoutPanels, LayoutSpace, OpenScale, PaletteColor, PaletteEntry, PressableOwnerState, SizeEntry, Theme, ThemeAvatarSizes, ThemeBackground, ThemeBorder, ThemeBorderWidths, ThemeBreakpoints, ThemeComponents, ThemeDefaults, ThemeFontWeights, ThemeFonts, ThemeIconSizes, ThemeLayout, ThemeLetterSpacings, ThemeLineHeights, type ThemeOverride, ThemePalette, ThemeProvider, ThemeRadii, ThemeShadow, ThemeSizes, ThemeSkeleton, ThemeSpace, ThemeSwitch, ThemeText, ThemeTypographyVariants, ThemeZOrder, TypographyVariant, TypographyVariantStyle, avatar, baseTheme, between, borderWidths, breakpoints, containerQueries, createTheme, down, fontSizes, fontWeights, fonts, icon, layout, letterSpacings, lineHeights, not, only, radii, sizes, space, themeDefault, typography, up, useDefaultProps, useTheme, withBreakpointHelpers, withTheme, zOrder };
|
package/dist/theme.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as between, A as ThemeBreakpoints, B as ThemeRadii, C as PressableOwnerState, Ct as withBreakpointHelpers, D as ThemeBackground, E as ThemeAvatarSizes, F as ThemeIconSizes, G as ThemeSwitch, H as ThemeSizes, I as ThemeLayout, J as ThemeZOrder, K as ThemeText, L as ThemeLetterSpacings, M as ThemeDefaults, N as ThemeFontWeights, O as ThemeBorder, P as ThemeFonts, Q as baseTheme, R as ThemeLineHeights, S as PaletteEntry, St as BreakpointHelpers, T as Theme, U as ThemeSkeleton, V as ThemeShadow, W as ThemeSpace, X as TypographyVariantStyle, Y as TypographyVariant, Z as avatar, _ as LayoutPanel, _t as up, a as CSSObject, at as fontWeights, b as OpenScale, bt as ThemeOverride, c as CardSlotTypographyProps, ct as layout, d as ComponentVariant, dt as not, et as borderWidths, f as DefaultBreakpoints, ft as only, g as LayoutLength, gt as typography, h as LayoutEntry, ht as space, i as ButtonVariants, it as fontSizes, j as ThemeComponents, k as ThemeBorderWidths, l as ComponentConfig, lt as letterSpacings, m as LayoutContent, mt as sizes, n as BreakpointOverrides, nt as containerQueries, o as CardOwnerState, ot as fonts, p as LayoutBars, pt as radii, q as ThemeTypographyVariants, r as ButtonOwnerState, rt as down, s as CardSlotIconProps, st as icon, t as BreakpointKey, tt as breakpoints, u as ComponentStyle, ut as lineHeights, v as LayoutPanels, vt as zOrder, w as SizeEntry, x as PaletteColor, xt as createTheme, y as LayoutSpace, yt as DeepPartial, z as ThemePalette } from "./themes-
|
|
2
|
-
import { a as ThemeProvider, i as themeDefault, n as useDefaultProps, r as useTheme, t as withTheme } from "./index-
|
|
1
|
+
import { $ as between, A as ThemeBreakpoints, B as ThemeRadii, C as PressableOwnerState, Ct as withBreakpointHelpers, D as ThemeBackground, E as ThemeAvatarSizes, F as ThemeIconSizes, G as ThemeSwitch, H as ThemeSizes, I as ThemeLayout, J as ThemeZOrder, K as ThemeText, L as ThemeLetterSpacings, M as ThemeDefaults, N as ThemeFontWeights, O as ThemeBorder, P as ThemeFonts, Q as baseTheme, R as ThemeLineHeights, S as PaletteEntry, St as BreakpointHelpers, T as Theme, U as ThemeSkeleton, V as ThemeShadow, W as ThemeSpace, X as TypographyVariantStyle, Y as TypographyVariant, Z as avatar, _ as LayoutPanel, _t as up, a as CSSObject, at as fontWeights, b as OpenScale, bt as ThemeOverride, c as CardSlotTypographyProps, ct as layout, d as ComponentVariant, dt as not, et as borderWidths, f as DefaultBreakpoints, ft as only, g as LayoutLength, gt as typography, h as LayoutEntry, ht as space, i as ButtonVariants, it as fontSizes, j as ThemeComponents, k as ThemeBorderWidths, l as ComponentConfig, lt as letterSpacings, m as LayoutContent, mt as sizes, n as BreakpointOverrides, nt as containerQueries, o as CardOwnerState, ot as fonts, p as LayoutBars, pt as radii, q as ThemeTypographyVariants, r as ButtonOwnerState, rt as down, s as CardSlotIconProps, st as icon, t as BreakpointKey, tt as breakpoints, u as ComponentStyle, ut as lineHeights, v as LayoutPanels, vt as zOrder, w as SizeEntry, x as PaletteColor, xt as createTheme, y as LayoutSpace, yt as DeepPartial, z as ThemePalette } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import { a as ThemeProvider, i as themeDefault, n as useDefaultProps, r as useTheme, t as withTheme } from "./index-BHyJ6P_D.mjs";
|
|
3
3
|
export { BreakpointHelpers, BreakpointKey, BreakpointOverrides, ButtonOwnerState, ButtonVariants, CSSObject, CardOwnerState, CardSlotIconProps, CardSlotTypographyProps, ComponentConfig, ComponentStyle, ComponentVariant, type DeepPartial, DefaultBreakpoints, LayoutBars, LayoutContent, LayoutEntry, LayoutLength, LayoutPanel, LayoutPanels, LayoutSpace, OpenScale, PaletteColor, PaletteEntry, PressableOwnerState, SizeEntry, Theme, ThemeAvatarSizes, ThemeBackground, ThemeBorder, ThemeBorderWidths, ThemeBreakpoints, ThemeComponents, ThemeDefaults, ThemeFontWeights, ThemeFonts, ThemeIconSizes, ThemeLayout, ThemeLetterSpacings, ThemeLineHeights, type ThemeOverride, ThemePalette, ThemeProvider, ThemeRadii, ThemeShadow, ThemeSizes, ThemeSkeleton, ThemeSpace, ThemeSwitch, ThemeText, ThemeTypographyVariants, ThemeZOrder, TypographyVariant, TypographyVariantStyle, avatar, baseTheme, between, borderWidths, breakpoints, containerQueries, createTheme, down, fontSizes, fontWeights, fonts, icon, layout, letterSpacings, lineHeights, not, only, radii, sizes, space, themeDefault, typography, up, useDefaultProps, useTheme, withBreakpointHelpers, withTheme, zOrder };
|
|
@@ -227,8 +227,9 @@ interface DefaultBreakpoints {
|
|
|
227
227
|
* }
|
|
228
228
|
*/
|
|
229
229
|
interface BreakpointOverrides {}
|
|
230
|
+
type RemovedBreakpoints = keyof { [K in keyof BreakpointOverrides as BreakpointOverrides[K] extends false ? K : never]: true; };
|
|
230
231
|
/** The theme's breakpoint names: the defaults, plus every override set to `true`, minus every one set to `false`. */
|
|
231
|
-
type BreakpointKey = Exclude<keyof DefaultBreakpoints | keyof BreakpointOverrides,
|
|
232
|
+
type BreakpointKey = Exclude<keyof DefaultBreakpoints | keyof BreakpointOverrides, RemovedBreakpoints>;
|
|
232
233
|
/**
|
|
233
234
|
* `theme.breakpoints`: where each window class starts, ascending, in declared order. A key holds
|
|
234
235
|
* from its value until the next key, so `xs: '0px'` applies everywhere until `sm` overrides it;
|
|
@@ -227,8 +227,9 @@ interface DefaultBreakpoints {
|
|
|
227
227
|
* }
|
|
228
228
|
*/
|
|
229
229
|
interface BreakpointOverrides {}
|
|
230
|
+
type RemovedBreakpoints = keyof { [K in keyof BreakpointOverrides as BreakpointOverrides[K] extends false ? K : never]: true; };
|
|
230
231
|
/** The theme's breakpoint names: the defaults, plus every override set to `true`, minus every one set to `false`. */
|
|
231
|
-
type BreakpointKey = Exclude<keyof DefaultBreakpoints | keyof BreakpointOverrides,
|
|
232
|
+
type BreakpointKey = Exclude<keyof DefaultBreakpoints | keyof BreakpointOverrides, RemovedBreakpoints>;
|
|
232
233
|
/**
|
|
233
234
|
* `theme.breakpoints`: where each window class starts, ascending, in declared order. A key holds
|
|
234
235
|
* from its value until the next key, so `xs: '0px'` applies everywhere until `sm` overrides it;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as TableSortLabelDirection } from "./index-
|
|
1
|
+
import { n as TableSortLabelDirection } from "./index-CNzkJGNq.cjs";
|
|
2
2
|
//#region src/Table/hooks/useTableSort.d.ts
|
|
3
3
|
/** One column's sort state - spreads directly onto `TableSortLabel`. */
|
|
4
4
|
interface TableSortEntry {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as TableSortLabelDirection } from "./index-
|
|
1
|
+
import { n as TableSortLabelDirection } from "./index-C7bEBYuv.mjs";
|
|
2
2
|
//#region src/Table/hooks/useTableSort.d.ts
|
|
3
3
|
/** One column's sort state - spreads directly onto `TableSortLabel`. */
|
|
4
4
|
interface TableSortEntry {
|