@soroush.tech/design-system 2.0.0-alpha.0 → 2.0.0-alpha.2
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 +37 -34
- package/dist/AppBar.cjs +0 -4
- package/dist/AppBar.d.cts +3 -3
- package/dist/AppBar.d.mts +3 -3
- package/dist/AppBar.mjs +0 -4
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.d.cts +3 -3
- package/dist/Avatar.d.mts +3 -3
- package/dist/Avatar.mjs +1 -1
- package/dist/Backdrop.d.cts +1 -1
- package/dist/Backdrop.d.mts +1 -1
- package/dist/Button.cjs +1 -1
- package/dist/Button.d.cts +1 -1
- package/dist/Button.d.mts +1 -1
- package/dist/Button.mjs +1 -1
- package/dist/ButtonGroup.d.cts +1 -1
- package/dist/ButtonGroup.d.mts +1 -1
- package/dist/Card.cjs +2 -2
- package/dist/Card.d.cts +3 -3
- package/dist/Card.d.mts +3 -3
- package/dist/Card.mjs +2 -2
- 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.cjs +109 -17
- package/dist/Drawer.d.cts +43 -7
- package/dist/Drawer.d.mts +43 -7
- package/dist/Drawer.mjs +109 -18
- package/dist/Flex.cjs +6 -2
- package/dist/Flex.d.cts +1 -1
- package/dist/Flex.d.mts +1 -1
- package/dist/Flex.mjs +6 -2
- package/dist/Form.d.cts +1 -1
- package/dist/Form.d.mts +1 -1
- package/dist/FormControl.cjs +1 -1
- package/dist/FormControl.d.cts +2 -2
- package/dist/FormControl.d.mts +2 -2
- package/dist/FormControl.mjs +1 -1
- 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.cjs +7 -2
- package/dist/Grid.d.cts +20 -1
- package/dist/Grid.d.mts +20 -1
- package/dist/Grid.mjs +7 -2
- package/dist/{Icon-CkQGOBmm.mjs → Icon-BGcd6yy0.mjs} +1 -1
- package/dist/{Icon-CKLBJ7CC.cjs → Icon-Cn6Zx8wb.cjs} +1 -1
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.d.cts +1 -1
- package/dist/Icon.d.mts +1 -1
- package/dist/Icon.mjs +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.cjs +1 -1
- package/dist/Link.d.cts +1 -1
- package/dist/Link.d.mts +1 -1
- package/dist/Link.mjs +1 -1
- package/dist/MenuItem.cjs +2 -2
- package/dist/MenuItem.d.cts +2 -2
- package/dist/MenuItem.d.mts +2 -2
- package/dist/MenuItem.mjs +2 -2
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.d.cts +1 -1
- package/dist/Modal.d.mts +1 -1
- package/dist/Modal.mjs +1 -1
- package/dist/NativeSelect.cjs +2 -2
- package/dist/NativeSelect.d.cts +3 -3
- package/dist/NativeSelect.d.mts +3 -3
- package/dist/NativeSelect.mjs +2 -2
- package/dist/Pagination/PaginationItem.cjs +1 -1
- package/dist/Pagination/PaginationItem.d.cts +1 -1
- package/dist/Pagination/PaginationItem.d.mts +1 -1
- package/dist/Pagination/PaginationItem.mjs +1 -1
- package/dist/Pagination.d.cts +2 -2
- package/dist/Pagination.d.mts +2 -2
- package/dist/Paper.cjs +1 -1
- package/dist/Paper.d.cts +1 -1
- package/dist/Paper.d.mts +1 -1
- package/dist/Paper.mjs +1 -1
- package/dist/{Popover-Dz6h3A_9.cjs → Popover-CrSABgRk.cjs} +2 -2
- package/dist/{Popover-DWOrf7sy.mjs → Popover-DlpXdcwt.mjs} +2 -2
- package/dist/Popover.cjs +1 -1
- package/dist/Popover.d.cts +4 -4
- package/dist/Popover.d.mts +4 -4
- package/dist/Popover.mjs +1 -1
- package/dist/Pressable.cjs +1 -1
- package/dist/Pressable.d.cts +1 -1
- package/dist/Pressable.d.mts +1 -1
- package/dist/Pressable.mjs +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.cjs +3 -3
- package/dist/Select.d.cts +3 -3
- package/dist/Select.d.mts +3 -3
- package/dist/Select.mjs +3 -3
- package/dist/Sidebar/Sidebar.cjs +6 -25
- package/dist/Sidebar/Sidebar.d.cts +2 -5
- package/dist/Sidebar/Sidebar.d.mts +2 -5
- package/dist/Sidebar/Sidebar.mjs +7 -26
- package/dist/Sidebar/SidebarItem.cjs +1 -2
- package/dist/Sidebar/SidebarItem.d.cts +4 -4
- package/dist/Sidebar/SidebarItem.d.mts +4 -4
- package/dist/Sidebar/SidebarItem.mjs +1 -2
- package/dist/Skeleton.d.cts +2 -2
- package/dist/Skeleton.d.mts +2 -2
- package/dist/Switch.cjs +1 -1
- package/dist/Switch.d.cts +2 -2
- package/dist/Switch.d.mts +2 -2
- package/dist/Switch.mjs +1 -1
- 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.cjs +1 -1
- package/dist/Table/TablePaginationActions.d.cts +1 -1
- package/dist/Table/TablePaginationActions.d.mts +1 -1
- package/dist/Table/TablePaginationActions.mjs +1 -1
- package/dist/Table/TableRow.d.cts +2 -2
- package/dist/Table/TableRow.d.mts +2 -2
- package/dist/Table/TableSortLabel.cjs +1 -1
- package/dist/Table/TableSortLabel.d.cts +1 -1
- package/dist/Table/TableSortLabel.d.mts +1 -1
- package/dist/Table/TableSortLabel.mjs +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-DRAhXvq3.d.cts → TableContext-BowhBZkZ.d.cts} +1 -1
- package/dist/{TableContext-DBOk01Xl.d.mts → TableContext-GmYLRYpc.d.mts} +1 -1
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.d.cts +2 -2
- package/dist/TextInput.d.mts +2 -2
- package/dist/TextInput.mjs +1 -1
- package/dist/ToggleButton/ToggleButton.cjs +1 -1
- package/dist/ToggleButton/ToggleButton.d.cts +1 -1
- package/dist/ToggleButton/ToggleButton.d.mts +1 -1
- package/dist/ToggleButton/ToggleButton.mjs +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.cjs +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.d.cts +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.d.mts +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.mjs +1 -1
- package/dist/Typography.cjs +1 -1
- package/dist/Typography.d.cts +2 -2
- package/dist/Typography.d.mts +2 -2
- package/dist/Typography.mjs +1 -1
- package/dist/View.cjs +2 -1
- package/dist/View.d.cts +1 -1
- package/dist/View.d.mts +1 -1
- package/dist/View.mjs +2 -1
- package/dist/engine.d.cts +1 -1
- package/dist/engine.d.mts +1 -1
- package/dist/{index-D4i9vrQM.d.mts → index-B2eLreA5.d.cts} +3 -3
- package/dist/{index-DPHwCZYf.d.cts → index-BBV7_p-W.d.mts} +2 -2
- package/dist/{index-CoHrw2p7.d.mts → index-BHyJ6P_D.d.mts} +1 -1
- package/dist/{index-BDD-L8uL.d.cts → index-BO-vkjtm.d.cts} +1 -1
- package/dist/{index-BNpkmtaM.d.mts → index-BT-mcuE6.d.mts} +3 -3
- package/dist/{index-qtKJ56yu.d.mts → index-BW4rc8cK.d.cts} +2 -2
- package/dist/{index-B8KscJic.d.cts → index-BbngAEDY.d.mts} +2 -2
- package/dist/{index-BSR9zrAA.d.mts → index-Bqk30r0W.d.mts} +3 -3
- package/dist/{index-DkJzi96w.d.cts → index-BsUsSWXP.d.cts} +1 -1
- package/dist/{index-EYR0z1Qv.d.cts → index-C-kvrbCi.d.cts} +2 -2
- package/dist/{index-CvWslVk6.d.cts → index-C0-SB0dL.d.mts} +4 -4
- package/dist/{index-DsKd9VW5.d.mts → index-C58AZZQ2.d.cts} +4 -4
- package/dist/{index-IEvuh6Cd.d.mts → index-C7bEBYuv.d.mts} +3 -3
- package/dist/{index-CohgpyUj.d.cts → index-CGCO5eo7.d.mts} +4 -4
- package/dist/{index-CzmA09Yf.d.mts → index-CMKzrxOO.d.mts} +2 -2
- package/dist/{index-DNNg9RoR.d.cts → index-CNzkJGNq.d.cts} +3 -3
- package/dist/{index-CtrxW81j.d.cts → index-CPNzQhUu.d.cts} +2 -2
- package/dist/{index-8mHoIUt5.d.mts → index-CmscFo1L.d.mts} +2 -2
- package/dist/{index-r2avCy1z.d.mts → index-CxDY_w-H.d.cts} +2 -2
- package/dist/{index-CCrocxBL.d.cts → index-D0XX9v0b.d.cts} +3 -3
- package/dist/{index-CVb5zbas.d.mts → index-D2yMhmE_.d.mts} +3 -3
- package/dist/{index-bN91IhZi.d.cts → index-D5Rj4uWe.d.cts} +2 -2
- package/dist/{index-DuefjNlC.d.mts → index-DJ8NTYR8.d.mts} +2 -2
- package/dist/{index-B6vxRNLt.d.cts → index-DTeurv8z.d.cts} +3 -3
- package/dist/{index-S3NZS-Qp.d.cts → index-DYtIEMr9.d.mts} +3 -3
- package/dist/{index-CEqa8xx8.d.mts → index-Dkqk_6g2.d.mts} +1 -1
- package/dist/index-EuWfYhf8.d.mts +21 -0
- package/dist/{index-BGD4OzzG.d.cts → index-H30eNjJf.d.cts} +3 -3
- package/dist/{index-tv-TGYSG.d.mts → index-JSOR69Iy.d.cts} +4 -4
- package/dist/{index-CLttbRhG.d.cts → index-VwsWkazt.d.cts} +2 -2
- package/dist/{index-Cjlax0-f.d.mts → index-di-L2lJ9.d.mts} +2 -2
- package/dist/index-ue1Ccvln.d.cts +21 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/style.cjs +1 -1
- package/dist/style.d.cts +2 -2
- package/dist/style.d.mts +2 -2
- package/dist/style.mjs +1 -1
- package/dist/{theme-BQGlZoma.mjs → theme-C1o9qa2E.mjs} +75 -27
- package/dist/{theme-BmEAXmwh.cjs → theme-DfAqr7qo.cjs} +116 -26
- package/dist/theme.cjs +8 -1
- package/dist/theme.d.cts +3 -3
- package/dist/theme.d.mts +3 -3
- package/dist/theme.mjs +2 -2
- package/dist/{themes-9YNnlVyY.d.mts → themes-C3RTORGO.d.mts} +63 -21
- package/dist/{themes-9YNnlVyY.d.cts → themes-Dswy4M6B.d.cts} +63 -21
- package/dist/{useTablePagination-RelVsdMR.d.mts → useTablePagination-BueH0_dG.d.cts} +1 -1
- package/dist/{useTablePagination-CLoac5oX.d.cts → useTablePagination-CxBh-gU8.d.mts} +1 -1
- package/package.json +2 -12
- package/dist/PageLayout/LayoutGrid.cjs +0 -21
- package/dist/PageLayout/LayoutGrid.d.cts +0 -22
- package/dist/PageLayout/LayoutGrid.d.mts +0 -22
- package/dist/PageLayout/LayoutGrid.mjs +0 -20
- package/dist/PageLayout/PageLayout.cjs +0 -148
- package/dist/PageLayout/PageLayout.d.cts +0 -31
- package/dist/PageLayout/PageLayout.d.mts +0 -31
- package/dist/PageLayout/PageLayout.mjs +0 -147
- package/dist/PageLayout.cjs +0 -7
- package/dist/PageLayout.d.cts +0 -19
- package/dist/PageLayout.d.mts +0 -19
- package/dist/PageLayout.mjs +0 -4
- package/dist/PageLayoutContext-DjJ1_7Xc.mjs +0 -5
- package/dist/PageLayoutContext-agXGhegE.cjs +0 -9
- package/dist/index-B41OXLX8.d.mts +0 -16
- package/dist/index-BJ5Tsf7u.d.cts +0 -16
- package/dist/index-BMJ3tyIw.d.cts +0 -16
- package/dist/index-BnFxdnEL.d.mts +0 -16
- package/dist/layoutStyles-B4Z1K6HZ.cjs +0 -67
- package/dist/layoutStyles-f0ISNjsC.mjs +0 -56
- package/dist/{Modal-CYNcPk-2.mjs → Modal-BcsyrrpH.mjs} +1 -1
- package/dist/{Modal-CApyh_V5.cjs → Modal-CM3osOqj.cjs} +1 -1
package/dist/NativeSelect.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_src = require("./src-DU81aGy9.cjs");
|
|
3
3
|
const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
|
|
4
|
-
const require_theme = require("./theme-
|
|
5
|
-
const require_Icon = require("./Icon-
|
|
4
|
+
const require_theme = require("./theme-DfAqr7qo.cjs");
|
|
5
|
+
const require_Icon = require("./Icon-Cn6Zx8wb.cjs");
|
|
6
6
|
const require_FormControl = require("./FormControl.cjs");
|
|
7
7
|
const require_inputVariantStyles = require("./inputVariantStyles-BBkkYQtE.cjs");
|
|
8
8
|
require("react");
|
package/dist/NativeSelect.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
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 { SelectHTMLAttributes } from "react";
|
|
5
5
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
6
6
|
//#region src/NativeSelect/NativeSelect.d.ts
|
package/dist/NativeSelect.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
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 { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
import { SelectHTMLAttributes } from "react";
|
|
6
6
|
//#region src/NativeSelect/NativeSelect.d.ts
|
package/dist/NativeSelect.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-DLGYOJMh.mjs";
|
|
2
2
|
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
3
|
-
import { r as useTheme } from "./theme-
|
|
4
|
-
import { t as Icon } from "./Icon-
|
|
3
|
+
import { r as useTheme } from "./theme-C1o9qa2E.mjs";
|
|
4
|
+
import { t as Icon } from "./Icon-BGcd6yy0.mjs";
|
|
5
5
|
import { useFormControl } from "./FormControl.mjs";
|
|
6
6
|
import { t as inputVariantStyles } from "./inputVariantStyles-CcqpGfuP.mjs";
|
|
7
7
|
import "react";
|
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_src = require("../src-DU81aGy9.cjs");
|
|
3
3
|
const require_themeDefault = require("../themeDefault-Cebi08Cv.cjs");
|
|
4
4
|
const require_utils = require("../utils.cjs");
|
|
5
|
-
const require_Icon = require("../Icon-
|
|
5
|
+
const require_Icon = require("../Icon-Cn6Zx8wb.cjs");
|
|
6
6
|
require("react");
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PaginationItemSize, i as PaginationItemShape, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, t as PaginationItem } from "../index-
|
|
1
|
+
import { a as PaginationItemSize, i as PaginationItemShape, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, t as PaginationItem } from "../index-VwsWkazt.cjs";
|
|
2
2
|
export { PaginationItem, PaginationItemColor, PaginationItemProps, PaginationItemShape, PaginationItemSize, PaginationItemVariant };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PaginationItemSize, i as PaginationItemShape, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, t as PaginationItem } from "../index-
|
|
1
|
+
import { a as PaginationItemSize, i as PaginationItemShape, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, t as PaginationItem } from "../index-CMKzrxOO.mjs";
|
|
2
2
|
export { PaginationItem, PaginationItemColor, PaginationItemProps, PaginationItemShape, PaginationItemSize, PaginationItemVariant };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "../src-DLGYOJMh.mjs";
|
|
2
2
|
import { t as themeDefault } from "../themeDefault-Z3KmyIbm.mjs";
|
|
3
3
|
import { alpha } from "../utils.mjs";
|
|
4
|
-
import { t as Icon } from "../Icon-
|
|
4
|
+
import { t as Icon } from "../Icon-BGcd6yy0.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/Pagination/PaginationItem/PaginationItem.tsx
|
package/dist/Pagination.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as PaginationItemSize, c as UsePaginationItem, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, s as PaginationItemType, t as PaginationItem, u as usePagination } from "./index-
|
|
2
|
-
import { a as PaginationSize, i as PaginationShape, n as PaginationColor, o as PaginationVariant, r as PaginationProps, t as Pagination } from "./index-
|
|
1
|
+
import { a as PaginationItemSize, c as UsePaginationItem, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, s as PaginationItemType, t as PaginationItem, u as usePagination } from "./index-VwsWkazt.cjs";
|
|
2
|
+
import { a as PaginationSize, i as PaginationShape, n as PaginationColor, o as PaginationVariant, r as PaginationProps, t as Pagination } from "./index-C58AZZQ2.cjs";
|
|
3
3
|
export { Pagination, PaginationColor, PaginationItem, PaginationItemColor, PaginationItemProps, PaginationItemShape, PaginationItemSize, PaginationItemType, PaginationItemVariant, PaginationProps, PaginationShape, PaginationSize, PaginationVariant, UsePaginationItem, UsePaginationProps, usePagination };
|
package/dist/Pagination.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as PaginationItemSize, c as UsePaginationItem, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, s as PaginationItemType, t as PaginationItem, u as usePagination } from "./index-
|
|
2
|
-
import { a as PaginationSize, i as PaginationShape, n as PaginationColor, o as PaginationVariant, r as PaginationProps, t as Pagination } from "./index-
|
|
1
|
+
import { a as PaginationItemSize, c as UsePaginationItem, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, s as PaginationItemType, t as PaginationItem, u as usePagination } from "./index-CMKzrxOO.mjs";
|
|
2
|
+
import { a as PaginationSize, i as PaginationShape, n as PaginationColor, o as PaginationVariant, r as PaginationProps, t as Pagination } from "./index-CGCO5eo7.mjs";
|
|
3
3
|
export { Pagination, PaginationColor, PaginationItem, PaginationItemColor, PaginationItemProps, PaginationItemShape, PaginationItemSize, PaginationItemType, PaginationItemVariant, PaginationProps, PaginationShape, PaginationSize, PaginationVariant, UsePaginationItem, UsePaginationProps, usePagination };
|
package/dist/Paper.cjs
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_src = require("./src-DU81aGy9.cjs");
|
|
3
3
|
const require_Flex = require("./Flex.cjs");
|
|
4
4
|
const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
|
|
5
|
-
const require_theme = require("./theme-
|
|
5
|
+
const require_theme = require("./theme-DfAqr7qo.cjs");
|
|
6
6
|
require("react");
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
//#region src/Paper/Paper.tsx
|
package/dist/Paper.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PaperElevation, r as PaperProps, t as Paper } from "./index-
|
|
1
|
+
import { n as PaperElevation, r as PaperProps, t as Paper } from "./index-H30eNjJf.cjs";
|
|
2
2
|
export { Paper, PaperElevation, PaperProps };
|
package/dist/Paper.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PaperElevation, r as PaperProps, t as Paper } from "./index-
|
|
1
|
+
import { n as PaperElevation, r as PaperProps, t as Paper } from "./index-Bqk30r0W.mjs";
|
|
2
2
|
export { Paper, PaperElevation, PaperProps };
|
package/dist/Paper.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as src_exports, o as styled, t as createShouldForwardProp } from "./src-DLGYOJMh.mjs";
|
|
2
2
|
import { Flex } from "./Flex.mjs";
|
|
3
3
|
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
4
|
-
import { r as useTheme } from "./theme-
|
|
4
|
+
import { r as useTheme } from "./theme-C1o9qa2E.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/Paper/Paper.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_src = require("./src-DU81aGy9.cjs");
|
|
2
|
-
const require_theme = require("./theme-
|
|
2
|
+
const require_theme = require("./theme-DfAqr7qo.cjs");
|
|
3
3
|
const require_Paper = require("./Paper.cjs");
|
|
4
|
-
const require_Modal = require("./Modal-
|
|
4
|
+
const require_Modal = require("./Modal-CM3osOqj.cjs");
|
|
5
5
|
let react = require("react");
|
|
6
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as styled, t as createShouldForwardProp } from "./src-DLGYOJMh.mjs";
|
|
2
|
-
import { r as useTheme } from "./theme-
|
|
2
|
+
import { r as useTheme } from "./theme-C1o9qa2E.mjs";
|
|
3
3
|
import { Paper } from "./Paper.mjs";
|
|
4
|
-
import { t as Modal } from "./Modal-
|
|
4
|
+
import { t as Modal } from "./Modal-BcsyrrpH.mjs";
|
|
5
5
|
import { useCallback, useEffect, useImperativeHandle, useLayoutEffect, useRef, useState } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/Popover/utils/resolveAnchorEl.ts
|
package/dist/Popover.cjs
CHANGED
package/dist/Popover.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as PaperElevation, r as PaperProps } from "./index-
|
|
4
|
-
import { l as ModalCloseReason } from "./index-
|
|
1
|
+
import { T as Theme } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.cjs";
|
|
3
|
+
import { n as PaperElevation, r as PaperProps } from "./index-H30eNjJf.cjs";
|
|
4
|
+
import { l as ModalCloseReason } from "./index-BW4rc8cK.cjs";
|
|
5
5
|
import { ReactNode, Ref } from "react";
|
|
6
6
|
//#region src/Popover/utils/resolveAnchorEl.d.ts
|
|
7
7
|
type PopoverAnchorEl = HTMLElement | (() => HTMLElement | null) | null;
|
package/dist/Popover.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as PaperElevation, r as PaperProps } from "./index-
|
|
4
|
-
import { l as ModalCloseReason } from "./index-
|
|
1
|
+
import { T as Theme } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import "./index-Dkqk_6g2.mjs";
|
|
3
|
+
import { n as PaperElevation, r as PaperProps } from "./index-Bqk30r0W.mjs";
|
|
4
|
+
import { l as ModalCloseReason } from "./index-BbngAEDY.mjs";
|
|
5
5
|
import { ReactNode, Ref } from "react";
|
|
6
6
|
//#region src/Popover/utils/resolveAnchorEl.d.ts
|
|
7
7
|
type PopoverAnchorEl = HTMLElement | (() => HTMLElement | null) | null;
|
package/dist/Popover.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Popover } from "./Popover-
|
|
1
|
+
import { t as Popover } from "./Popover-DlpXdcwt.mjs";
|
|
2
2
|
export { Popover };
|
package/dist/Pressable.cjs
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_src = require("./src-DU81aGy9.cjs");
|
|
3
3
|
const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
|
|
4
4
|
const require_utils = require("./utils.cjs");
|
|
5
|
-
const require_theme = require("./theme-
|
|
5
|
+
const require_theme = require("./theme-DfAqr7qo.cjs");
|
|
6
6
|
require("react");
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
|
package/dist/Pressable.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as PressableProps, n as PressableColor, r as PressableFeedback, t as Pressable } from "./index-
|
|
1
|
+
import { i as PressableProps, n as PressableColor, r as PressableFeedback, t as Pressable } from "./index-CPNzQhUu.cjs";
|
|
2
2
|
export { Pressable, PressableColor, PressableFeedback, PressableProps };
|
package/dist/Pressable.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as PressableProps, n as PressableColor, r as PressableFeedback, t as Pressable } from "./index-
|
|
1
|
+
import { i as PressableProps, n as PressableColor, r as PressableFeedback, t as Pressable } from "./index-CmscFo1L.mjs";
|
|
2
2
|
export { Pressable, PressableColor, PressableFeedback, PressableProps };
|
package/dist/Pressable.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-DLGYOJMh.mjs";
|
|
2
2
|
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
3
3
|
import { alpha } from "./utils.mjs";
|
|
4
|
-
import { n as useDefaultProps, r as useTheme } from "./theme-
|
|
4
|
+
import { n as useDefaultProps, r as useTheme } from "./theme-C1o9qa2E.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/Pressable/Pressable.tsx
|
package/dist/Quote.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
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-JSOR69Iy.cjs";
|
|
4
4
|
//#region src/Quote/Quote.d.ts
|
|
5
5
|
type QuoteProps = ViewProps;
|
|
6
6
|
/** A View with a 2px primary left-border - used for terminal readouts and markdown blockquotes. */
|
|
7
7
|
declare const Quote: import("@emotion/styled").StyledComponent<Pick<{
|
|
8
8
|
theme?: Theme;
|
|
9
9
|
as?: React.ElementType;
|
|
10
|
-
} & ViewProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, "about" | "accessKey" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "as" | "aspectRatio" | "autoCapitalize" | "autoCorrect" | "autoFocus" | "autoSave" | "bg" | "border" | "borderBottom" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderColor" | "borderLeft" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRadius" | "borderRight" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderStyle" | "borderTop" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "borderWidth" | "borderX" | "borderY" | "bottom" | "children" | "className" | "color" | "columnGap" | "content" | "contentEditable" | "contextMenu" | "cursor" | "dangerouslySetInnerHTML" | "datatype" | "defaultChecked" | "defaultValue" | "dir" | "display" | "draggable" | "enterKeyHint" | "exportparts" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gap" | "height" | "hidden" | "id" | "inert" | "inlist" | "inputMode" | "is" | "itemID" | "itemProp" | "itemRef" | "itemScope" | "itemType" | "key" | "lang" | "left" | "letterSpacing" | "lineHeight" | "m" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "marginX" | "marginY" | "maxHeight" | "maxWidth" | "mb" | "minHeight" | "minWidth" | "ml" | "mr" | "mt" | "mx" | "my" | "nonce" | "onAbort" | "onAbortCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAuxClick" | "onAuxClickCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onBeforeToggle" | "onBlur" | "onBlurCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onChange" | "onChangeCapture" | "onClick" | "onClickCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onContextMenu" | "onContextMenuCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onError" | "onErrorCapture" | "onFocus" | "onFocusCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onInput" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onLoad" | "onLoadCapture" | "onLoadStart" | "onLoadStartCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onPaste" | "onPasteCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onPointerMoveCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerUp" | "onPointerUpCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onReset" | "onResetCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onSelect" | "onSelectCapture" | "onStalled" | "onStalledCapture" | "onSubmit" | "onSubmitCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onToggle" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onWheel" | "onWheelCapture" | "opacity" | "order" | "overflow" | "overflowX" | "overflowY" | "p" | "padding" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "paddingX" | "paddingY" | "part" | "pb" | "pl" | "popover" | "popoverTarget" | "popoverTargetAction" | "position" | "pr" | "prefix" | "property" | "pt" | "px" | "py" | "radioGroup" | "ref" | "rel" | "resource" | "results" | "rev" | "right" | "role" | "rowGap" | "security" | "size" | "slot" | "spellCheck" | "style" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "tabIndex" | "textAlign" | "textAlignLast" | "textDecoration" | "textDecorationColor" | "textDecorationLine" | "textDecorationStyle" | "textDecorationThickness" | "textOverflow" | "textTransform" | "theme" | "title" | "top" | "translate" | "typeof" | "unselectable" | "verticalAlign" | "vocab" | "whiteSpace" | "width" | "zIndex"> & {
|
|
10
|
+
} & ViewProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, "about" | "accessKey" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "as" | "aspectRatio" | "autoCapitalize" | "autoCorrect" | "autoFocus" | "autoSave" | "bg" | "border" | "borderBottom" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderColor" | "borderLeft" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRadius" | "borderRight" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderStyle" | "borderTop" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "borderWidth" | "borderX" | "borderY" | "bottom" | "children" | "className" | "color" | "columnGap" | "containerName" | "containerType" | "content" | "contentEditable" | "contextMenu" | "cursor" | "dangerouslySetInnerHTML" | "datatype" | "defaultChecked" | "defaultValue" | "dir" | "display" | "draggable" | "enterKeyHint" | "exportparts" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gap" | "height" | "hidden" | "id" | "inert" | "inlist" | "inputMode" | "is" | "itemID" | "itemProp" | "itemRef" | "itemScope" | "itemType" | "key" | "lang" | "left" | "letterSpacing" | "lineHeight" | "m" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "marginX" | "marginY" | "maxHeight" | "maxWidth" | "mb" | "minHeight" | "minWidth" | "ml" | "mr" | "mt" | "mx" | "my" | "nonce" | "onAbort" | "onAbortCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAuxClick" | "onAuxClickCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onBeforeToggle" | "onBlur" | "onBlurCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onChange" | "onChangeCapture" | "onClick" | "onClickCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onContextMenu" | "onContextMenuCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onError" | "onErrorCapture" | "onFocus" | "onFocusCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onInput" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onLoad" | "onLoadCapture" | "onLoadStart" | "onLoadStartCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onPaste" | "onPasteCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onPointerMoveCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerUp" | "onPointerUpCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onReset" | "onResetCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onSelect" | "onSelectCapture" | "onStalled" | "onStalledCapture" | "onSubmit" | "onSubmitCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onToggle" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onWheel" | "onWheelCapture" | "opacity" | "order" | "overflow" | "overflowX" | "overflowY" | "p" | "padding" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "paddingX" | "paddingY" | "part" | "pb" | "pl" | "popover" | "popoverTarget" | "popoverTargetAction" | "position" | "pr" | "prefix" | "property" | "pt" | "px" | "py" | "radioGroup" | "ref" | "rel" | "resource" | "results" | "rev" | "right" | "role" | "rowGap" | "security" | "size" | "slot" | "span" | "spellCheck" | "style" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "tabIndex" | "textAlign" | "textAlignLast" | "textDecoration" | "textDecorationColor" | "textDecorationLine" | "textDecorationStyle" | "textDecorationThickness" | "textOverflow" | "textTransform" | "theme" | "title" | "top" | "translate" | "typeof" | "unselectable" | "verticalAlign" | "vocab" | "whiteSpace" | "width" | "zIndex"> & {
|
|
11
11
|
theme?: Theme;
|
|
12
12
|
}, {}, {}>;
|
|
13
13
|
//#endregion
|
package/dist/Quote.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
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-C0-SB0dL.mjs";
|
|
4
4
|
//#region src/Quote/Quote.d.ts
|
|
5
5
|
type QuoteProps = ViewProps;
|
|
6
6
|
/** A View with a 2px primary left-border - used for terminal readouts and markdown blockquotes. */
|
|
7
7
|
declare const Quote: import("@emotion/styled").StyledComponent<Pick<{
|
|
8
8
|
theme?: Theme;
|
|
9
9
|
as?: React.ElementType;
|
|
10
|
-
} & ViewProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, "about" | "accessKey" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "as" | "aspectRatio" | "autoCapitalize" | "autoCorrect" | "autoFocus" | "autoSave" | "bg" | "border" | "borderBottom" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderColor" | "borderLeft" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRadius" | "borderRight" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderStyle" | "borderTop" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "borderWidth" | "borderX" | "borderY" | "bottom" | "children" | "className" | "color" | "columnGap" | "content" | "contentEditable" | "contextMenu" | "cursor" | "dangerouslySetInnerHTML" | "datatype" | "defaultChecked" | "defaultValue" | "dir" | "display" | "draggable" | "enterKeyHint" | "exportparts" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gap" | "height" | "hidden" | "id" | "inert" | "inlist" | "inputMode" | "is" | "itemID" | "itemProp" | "itemRef" | "itemScope" | "itemType" | "key" | "lang" | "left" | "letterSpacing" | "lineHeight" | "m" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "marginX" | "marginY" | "maxHeight" | "maxWidth" | "mb" | "minHeight" | "minWidth" | "ml" | "mr" | "mt" | "mx" | "my" | "nonce" | "onAbort" | "onAbortCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAuxClick" | "onAuxClickCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onBeforeToggle" | "onBlur" | "onBlurCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onChange" | "onChangeCapture" | "onClick" | "onClickCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onContextMenu" | "onContextMenuCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onError" | "onErrorCapture" | "onFocus" | "onFocusCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onInput" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onLoad" | "onLoadCapture" | "onLoadStart" | "onLoadStartCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onPaste" | "onPasteCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onPointerMoveCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerUp" | "onPointerUpCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onReset" | "onResetCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onSelect" | "onSelectCapture" | "onStalled" | "onStalledCapture" | "onSubmit" | "onSubmitCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onToggle" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onWheel" | "onWheelCapture" | "opacity" | "order" | "overflow" | "overflowX" | "overflowY" | "p" | "padding" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "paddingX" | "paddingY" | "part" | "pb" | "pl" | "popover" | "popoverTarget" | "popoverTargetAction" | "position" | "pr" | "prefix" | "property" | "pt" | "px" | "py" | "radioGroup" | "ref" | "rel" | "resource" | "results" | "rev" | "right" | "role" | "rowGap" | "security" | "size" | "slot" | "spellCheck" | "style" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "tabIndex" | "textAlign" | "textAlignLast" | "textDecoration" | "textDecorationColor" | "textDecorationLine" | "textDecorationStyle" | "textDecorationThickness" | "textOverflow" | "textTransform" | "theme" | "title" | "top" | "translate" | "typeof" | "unselectable" | "verticalAlign" | "vocab" | "whiteSpace" | "width" | "zIndex"> & {
|
|
10
|
+
} & ViewProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, "about" | "accessKey" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "as" | "aspectRatio" | "autoCapitalize" | "autoCorrect" | "autoFocus" | "autoSave" | "bg" | "border" | "borderBottom" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderColor" | "borderLeft" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRadius" | "borderRight" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderStyle" | "borderTop" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "borderWidth" | "borderX" | "borderY" | "bottom" | "children" | "className" | "color" | "columnGap" | "containerName" | "containerType" | "content" | "contentEditable" | "contextMenu" | "cursor" | "dangerouslySetInnerHTML" | "datatype" | "defaultChecked" | "defaultValue" | "dir" | "display" | "draggable" | "enterKeyHint" | "exportparts" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gap" | "height" | "hidden" | "id" | "inert" | "inlist" | "inputMode" | "is" | "itemID" | "itemProp" | "itemRef" | "itemScope" | "itemType" | "key" | "lang" | "left" | "letterSpacing" | "lineHeight" | "m" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "marginX" | "marginY" | "maxHeight" | "maxWidth" | "mb" | "minHeight" | "minWidth" | "ml" | "mr" | "mt" | "mx" | "my" | "nonce" | "onAbort" | "onAbortCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAuxClick" | "onAuxClickCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onBeforeToggle" | "onBlur" | "onBlurCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onChange" | "onChangeCapture" | "onClick" | "onClickCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onContextMenu" | "onContextMenuCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onError" | "onErrorCapture" | "onFocus" | "onFocusCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onInput" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onLoad" | "onLoadCapture" | "onLoadStart" | "onLoadStartCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onPaste" | "onPasteCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onPointerMoveCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerUp" | "onPointerUpCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onReset" | "onResetCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onSelect" | "onSelectCapture" | "onStalled" | "onStalledCapture" | "onSubmit" | "onSubmitCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onToggle" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onWheel" | "onWheelCapture" | "opacity" | "order" | "overflow" | "overflowX" | "overflowY" | "p" | "padding" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "paddingX" | "paddingY" | "part" | "pb" | "pl" | "popover" | "popoverTarget" | "popoverTargetAction" | "position" | "pr" | "prefix" | "property" | "pt" | "px" | "py" | "radioGroup" | "ref" | "rel" | "resource" | "results" | "rev" | "right" | "role" | "rowGap" | "security" | "size" | "slot" | "span" | "spellCheck" | "style" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "tabIndex" | "textAlign" | "textAlignLast" | "textDecoration" | "textDecorationColor" | "textDecorationLine" | "textDecorationStyle" | "textDecorationThickness" | "textOverflow" | "textTransform" | "theme" | "title" | "top" | "translate" | "typeof" | "unselectable" | "verticalAlign" | "vocab" | "whiteSpace" | "width" | "zIndex"> & {
|
|
11
11
|
theme?: Theme;
|
|
12
12
|
}, {}, {}>;
|
|
13
13
|
//#endregion
|
package/dist/Radio.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme, x as PaletteColor } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.cjs";
|
|
3
3
|
import { ChangeEvent, InputHTMLAttributes, ReactNode } from "react";
|
|
4
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Radio/Radio.d.ts
|
package/dist/Radio.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
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 { ChangeEvent, InputHTMLAttributes, ReactNode } from "react";
|
|
5
5
|
//#region src/Radio/Radio.d.ts
|
package/dist/Select.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_src = require("./src-DU81aGy9.cjs");
|
|
3
3
|
const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
|
|
4
|
-
const require_theme = require("./theme-
|
|
5
|
-
const require_Icon = require("./Icon-
|
|
4
|
+
const require_theme = require("./theme-DfAqr7qo.cjs");
|
|
5
|
+
const require_Icon = require("./Icon-Cn6Zx8wb.cjs");
|
|
6
6
|
const require_FormControl = require("./FormControl.cjs");
|
|
7
7
|
const require_inputVariantStyles = require("./inputVariantStyles-BBkkYQtE.cjs");
|
|
8
8
|
const require_NativeSelect = require("./NativeSelect.cjs");
|
|
9
|
-
const require_Popover = require("./Popover-
|
|
9
|
+
const require_Popover = require("./Popover-CrSABgRk.cjs");
|
|
10
10
|
let react = require("react");
|
|
11
11
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
12
12
|
let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
|
package/dist/Select.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
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 { ReactNode } from "react";
|
|
5
5
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
6
6
|
//#region src/Select/utils/isOptionSelected.d.ts
|
package/dist/Select.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
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 { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
import { ReactNode } from "react";
|
|
6
6
|
//#region src/Select/utils/isOptionSelected.d.ts
|
package/dist/Select.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-DLGYOJMh.mjs";
|
|
2
2
|
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
3
|
-
import { r as useTheme } from "./theme-
|
|
4
|
-
import { t as Icon } from "./Icon-
|
|
3
|
+
import { r as useTheme } from "./theme-C1o9qa2E.mjs";
|
|
4
|
+
import { t as Icon } from "./Icon-BGcd6yy0.mjs";
|
|
5
5
|
import { useFormControl } from "./FormControl.mjs";
|
|
6
6
|
import { t as inputVariantStyles } from "./inputVariantStyles-CcqpGfuP.mjs";
|
|
7
7
|
import { NativeSelect } from "./NativeSelect.mjs";
|
|
8
|
-
import { t as Popover } from "./Popover-
|
|
8
|
+
import { t as Popover } from "./Popover-DlpXdcwt.mjs";
|
|
9
9
|
import { Children, cloneElement, isValidElement, useCallback, useId, useState } from "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region src/Select/hooks/useSelectPopover.ts
|
package/dist/Sidebar/Sidebar.cjs
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_src = require("../src-DU81aGy9.cjs");
|
|
3
3
|
const require_Flex = require("../Flex.cjs");
|
|
4
|
-
const require_PageLayoutContext = require("../PageLayoutContext-agXGhegE.cjs");
|
|
5
|
-
const require_layoutStyles = require("../layoutStyles-B4Z1K6HZ.cjs");
|
|
6
4
|
const require_SidebarContext = require("../SidebarContext-jG6OioC-.cjs");
|
|
7
5
|
let react = require("react");
|
|
8
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
7
|
//#region src/Sidebar/Sidebar/Sidebar.tsx
|
|
10
|
-
const hideLabels = { "[data-sidebar-item-content] > :not(:first-child)": { display: "none" } };
|
|
11
8
|
const SidebarRoot = require_src.styled(require_Flex.Flex, {
|
|
12
9
|
name: "Sidebar",
|
|
13
10
|
label: "Sidebar"
|
|
@@ -16,21 +13,13 @@ const SidebarRail = require_src.styled(require_Flex.Flex, {
|
|
|
16
13
|
name: "Sidebar",
|
|
17
14
|
slot: "rail",
|
|
18
15
|
label: "SidebarRail",
|
|
19
|
-
shouldForwardProp: (prop) => prop !== "isOpen" && prop !== "expandedWidth" && prop !== "collapsedWidth"
|
|
20
|
-
})(({
|
|
21
|
-
width: "100%",
|
|
22
|
-
overflowX: "hidden",
|
|
23
|
-
containerType: "inline-size",
|
|
24
|
-
...require_layoutStyles.layoutStyles(theme, ({ panels }) => {
|
|
25
|
-
const width = panels[panelSide]?.width;
|
|
26
|
-
return width === void 0 ? {} : { [`@container (width < ${require_layoutStyles.layoutLength(theme, width)})`]: hideLabels };
|
|
27
|
-
})
|
|
28
|
-
} : {
|
|
16
|
+
shouldForwardProp: (prop) => prop !== "isOpen" && prop !== "expandedWidth" && prop !== "collapsedWidth"
|
|
17
|
+
})(({ isOpen, expandedWidth, collapsedWidth }) => ({
|
|
29
18
|
width: isOpen ? expandedWidth : collapsedWidth,
|
|
30
19
|
transition: "width 200ms ease",
|
|
31
20
|
overflowX: "hidden",
|
|
32
21
|
"@media (prefers-reduced-motion: reduce)": { transition: "none" }
|
|
33
|
-
});
|
|
22
|
+
}));
|
|
34
23
|
const SidebarPanelRoot = require_src.styled(require_Flex.Flex, {
|
|
35
24
|
name: "Sidebar",
|
|
36
25
|
slot: "panel",
|
|
@@ -54,10 +43,7 @@ const SidebarPanelRoot = require_src.styled(require_Flex.Flex, {
|
|
|
54
43
|
* is independent of `isOpen`, so a collapsed icons-only rail can sit beside an
|
|
55
44
|
* open panel.
|
|
56
45
|
*/
|
|
57
|
-
function Sidebar({ children, isOpen, anchor = "left", variant = "text", expandedWidth, collapsedWidth, hasPanel = false, panelWidth = "18rem", panelProps, "aria-label": ariaLabel, ...rest }) {
|
|
58
|
-
const region = (0, react.useContext)(require_PageLayoutContext.PageLayoutContext);
|
|
59
|
-
const isSized = expandedWidth !== void 0 || collapsedWidth !== void 0;
|
|
60
|
-
const panelSide = region?.region === "panel" && !isSized ? region.side : void 0;
|
|
46
|
+
function Sidebar({ children, isOpen, anchor = "left", variant = "text", expandedWidth = "14rem", collapsedWidth = "3.5rem", hasPanel = false, panelWidth = "18rem", panelProps, "aria-label": ariaLabel, ...rest }) {
|
|
61
47
|
const panelId = (0, react.useId)();
|
|
62
48
|
const [panelNode, setPanelNode] = (0, react.useState)(null);
|
|
63
49
|
const [panelLabel, setPanelLabel] = (0, react.useState)(null);
|
|
@@ -82,19 +68,14 @@ function Sidebar({ children, isOpen, anchor = "left", variant = "text", expanded
|
|
|
82
68
|
"aria-label": ariaLabel,
|
|
83
69
|
flexDirection: anchor === "right" ? "row-reverse" : "row",
|
|
84
70
|
flexShrink: 0,
|
|
85
|
-
...panelSide && {
|
|
86
|
-
width: "100%",
|
|
87
|
-
height: "100%"
|
|
88
|
-
},
|
|
89
71
|
...rest,
|
|
90
72
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(SidebarRail, {
|
|
91
73
|
flexDirection: "column",
|
|
92
74
|
gap: 1,
|
|
93
75
|
flexShrink: 0,
|
|
94
76
|
isOpen,
|
|
95
|
-
expandedWidth
|
|
96
|
-
collapsedWidth
|
|
97
|
-
panelSide,
|
|
77
|
+
expandedWidth,
|
|
78
|
+
collapsedWidth,
|
|
98
79
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_SidebarContext.SidebarContext.Provider, {
|
|
99
80
|
value: context,
|
|
100
81
|
children
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as FlexProps } from "../index-
|
|
1
|
+
import { n as FlexProps } from "../index-ue1Ccvln.cjs";
|
|
2
2
|
import { i as SidebarItemVariant, t as SidebarAnchor } from "../SidebarContext-B1lWrt77.cjs";
|
|
3
3
|
import { ElementType, ReactNode } from "react";
|
|
4
4
|
//#region src/Sidebar/Sidebar/Sidebar.d.ts
|
|
@@ -17,10 +17,7 @@ interface SidebarProps extends FlexProps {
|
|
|
17
17
|
anchor?: SidebarAnchor;
|
|
18
18
|
/** Default variant for every item - an item's own `variant` wins. Default: `'text'`. */
|
|
19
19
|
variant?: SidebarItemVariant;
|
|
20
|
-
/**
|
|
21
|
-
* Rail width while open. Default: `'14rem'`. In a `PageLayout` panel, with neither
|
|
22
|
-
* width set, the rail fills the panel's track instead.
|
|
23
|
-
*/
|
|
20
|
+
/** Rail width while open. Default: `'14rem'`. */
|
|
24
21
|
expandedWidth?: string;
|
|
25
22
|
/** Rail width while collapsed (icons only). Default: `'3.5rem'`. */
|
|
26
23
|
collapsedWidth?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as FlexProps } from "../index-
|
|
1
|
+
import { n as FlexProps } from "../index-EuWfYhf8.mjs";
|
|
2
2
|
import { i as SidebarItemVariant, t as SidebarAnchor } from "../SidebarContext-B1lWrt77.mjs";
|
|
3
3
|
import { ElementType, ReactNode } from "react";
|
|
4
4
|
//#region src/Sidebar/Sidebar/Sidebar.d.ts
|
|
@@ -17,10 +17,7 @@ interface SidebarProps extends FlexProps {
|
|
|
17
17
|
anchor?: SidebarAnchor;
|
|
18
18
|
/** Default variant for every item - an item's own `variant` wins. Default: `'text'`. */
|
|
19
19
|
variant?: SidebarItemVariant;
|
|
20
|
-
/**
|
|
21
|
-
* Rail width while open. Default: `'14rem'`. In a `PageLayout` panel, with neither
|
|
22
|
-
* width set, the rail fills the panel's track instead.
|
|
23
|
-
*/
|
|
20
|
+
/** Rail width while open. Default: `'14rem'`. */
|
|
24
21
|
expandedWidth?: string;
|
|
25
22
|
/** Rail width while collapsed (icons only). Default: `'3.5rem'`. */
|
|
26
23
|
collapsedWidth?: string;
|
package/dist/Sidebar/Sidebar.mjs
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { o as styled } from "../src-DLGYOJMh.mjs";
|
|
2
2
|
import { Flex } from "../Flex.mjs";
|
|
3
|
-
import { t as PageLayoutContext } from "../PageLayoutContext-DjJ1_7Xc.mjs";
|
|
4
|
-
import { n as layoutStyles, t as layoutLength } from "../layoutStyles-f0ISNjsC.mjs";
|
|
5
3
|
import { t as SidebarContext } from "../SidebarContext-DgSLwjur.mjs";
|
|
6
|
-
import {
|
|
4
|
+
import { useId, useMemo, useState } from "react";
|
|
7
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
6
|
//#region src/Sidebar/Sidebar/Sidebar.tsx
|
|
9
|
-
const hideLabels = { "[data-sidebar-item-content] > :not(:first-child)": { display: "none" } };
|
|
10
7
|
const SidebarRoot = styled(Flex, {
|
|
11
8
|
name: "Sidebar",
|
|
12
9
|
label: "Sidebar"
|
|
@@ -15,21 +12,13 @@ const SidebarRail = styled(Flex, {
|
|
|
15
12
|
name: "Sidebar",
|
|
16
13
|
slot: "rail",
|
|
17
14
|
label: "SidebarRail",
|
|
18
|
-
shouldForwardProp: (prop) => prop !== "isOpen" && prop !== "expandedWidth" && prop !== "collapsedWidth"
|
|
19
|
-
})(({
|
|
20
|
-
width: "100%",
|
|
21
|
-
overflowX: "hidden",
|
|
22
|
-
containerType: "inline-size",
|
|
23
|
-
...layoutStyles(theme, ({ panels }) => {
|
|
24
|
-
const width = panels[panelSide]?.width;
|
|
25
|
-
return width === void 0 ? {} : { [`@container (width < ${layoutLength(theme, width)})`]: hideLabels };
|
|
26
|
-
})
|
|
27
|
-
} : {
|
|
15
|
+
shouldForwardProp: (prop) => prop !== "isOpen" && prop !== "expandedWidth" && prop !== "collapsedWidth"
|
|
16
|
+
})(({ isOpen, expandedWidth, collapsedWidth }) => ({
|
|
28
17
|
width: isOpen ? expandedWidth : collapsedWidth,
|
|
29
18
|
transition: "width 200ms ease",
|
|
30
19
|
overflowX: "hidden",
|
|
31
20
|
"@media (prefers-reduced-motion: reduce)": { transition: "none" }
|
|
32
|
-
});
|
|
21
|
+
}));
|
|
33
22
|
const SidebarPanelRoot = styled(Flex, {
|
|
34
23
|
name: "Sidebar",
|
|
35
24
|
slot: "panel",
|
|
@@ -53,10 +42,7 @@ const SidebarPanelRoot = styled(Flex, {
|
|
|
53
42
|
* is independent of `isOpen`, so a collapsed icons-only rail can sit beside an
|
|
54
43
|
* open panel.
|
|
55
44
|
*/
|
|
56
|
-
function Sidebar({ children, isOpen, anchor = "left", variant = "text", expandedWidth, collapsedWidth, hasPanel = false, panelWidth = "18rem", panelProps, "aria-label": ariaLabel, ...rest }) {
|
|
57
|
-
const region = useContext(PageLayoutContext);
|
|
58
|
-
const isSized = expandedWidth !== void 0 || collapsedWidth !== void 0;
|
|
59
|
-
const panelSide = region?.region === "panel" && !isSized ? region.side : void 0;
|
|
45
|
+
function Sidebar({ children, isOpen, anchor = "left", variant = "text", expandedWidth = "14rem", collapsedWidth = "3.5rem", hasPanel = false, panelWidth = "18rem", panelProps, "aria-label": ariaLabel, ...rest }) {
|
|
60
46
|
const panelId = useId();
|
|
61
47
|
const [panelNode, setPanelNode] = useState(null);
|
|
62
48
|
const [panelLabel, setPanelLabel] = useState(null);
|
|
@@ -81,19 +67,14 @@ function Sidebar({ children, isOpen, anchor = "left", variant = "text", expanded
|
|
|
81
67
|
"aria-label": ariaLabel,
|
|
82
68
|
flexDirection: anchor === "right" ? "row-reverse" : "row",
|
|
83
69
|
flexShrink: 0,
|
|
84
|
-
...panelSide && {
|
|
85
|
-
width: "100%",
|
|
86
|
-
height: "100%"
|
|
87
|
-
},
|
|
88
70
|
...rest,
|
|
89
71
|
children: [/* @__PURE__ */ jsx(SidebarRail, {
|
|
90
72
|
flexDirection: "column",
|
|
91
73
|
gap: 1,
|
|
92
74
|
flexShrink: 0,
|
|
93
75
|
isOpen,
|
|
94
|
-
expandedWidth
|
|
95
|
-
collapsedWidth
|
|
96
|
-
panelSide,
|
|
76
|
+
expandedWidth,
|
|
77
|
+
collapsedWidth,
|
|
97
78
|
children: /* @__PURE__ */ jsx(SidebarContext.Provider, {
|
|
98
79
|
value: context,
|
|
99
80
|
children
|