@soroush.tech/design-system 1.3.1 → 1.3.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/dist/Card.d.cts +1 -1
- package/dist/Card.d.mts +1 -1
- package/dist/Icon.d.cts +1 -1
- package/dist/Icon.d.mts +1 -1
- package/dist/NativeSelect.d.cts +1 -1
- package/dist/NativeSelect.d.mts +1 -1
- package/dist/Quote.d.cts +1 -1
- package/dist/Quote.d.mts +1 -1
- package/dist/Select.d.cts +1 -1
- package/dist/Select.d.mts +1 -1
- package/dist/Sidebar/SidebarItem.d.cts +1 -1
- package/dist/Sidebar/SidebarItem.d.mts +1 -1
- package/dist/Table/TableContainer.d.cts +1 -1
- package/dist/Table/TableContainer.d.mts +1 -1
- package/dist/Table/TableControl.d.cts +1 -1
- package/dist/Table/TableControl.d.mts +1 -1
- 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 +2 -2
- package/dist/Table.d.mts +2 -2
- package/dist/index-B0xTqpvt.d.mts +250 -0
- package/dist/index-D_AwmCU5.d.cts +250 -0
- package/dist/{index-DiLm48XP.d.cts → index-DkPJUFzd.d.cts} +1 -1
- package/dist/{index-C1hP7Igl.d.mts → index-hcZwhQmR.d.mts} +1 -1
- package/dist/{useTablePagination-DOty8Ucb.d.mts → useTablePagination--XtCc2YL.d.cts} +1 -1
- package/dist/{useTablePagination-Dh7o59Wt.d.cts → useTablePagination-RgVhJs-7.d.mts} +1 -1
- package/package.json +14 -14
- package/dist/index-BjLlSr2P.d.mts +0 -79
- package/dist/index-Borai-Wg.d.cts +0 -79
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { n as TextColorToken } from "./index-DxBKLmUS.mjs";
|
|
2
|
+
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
3
|
+
import { SVGProps } from "react";
|
|
4
|
+
//#region src/Icon/icons/AccountTree.d.ts
|
|
5
|
+
declare const SvgAccountTree: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/Icon/icons/AdsClick.d.ts
|
|
8
|
+
declare const SvgAdsClick: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/Icon/icons/Analytics.d.ts
|
|
11
|
+
declare const SvgAnalytics: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/Icon/icons/Architecture.d.ts
|
|
14
|
+
declare const SvgArchitecture: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/Icon/icons/ArrowBack.d.ts
|
|
17
|
+
declare const SvgArrowBack: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region src/Icon/icons/ArrowForward.d.ts
|
|
20
|
+
declare const SvgArrowForward: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/Icon/icons/ArrowUpward.d.ts
|
|
23
|
+
declare const SvgArrowUpward: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region src/Icon/icons/Check.d.ts
|
|
26
|
+
declare const SvgCheck: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region src/Icon/icons/ChevronLeft.d.ts
|
|
29
|
+
declare const SvgChevronLeft: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/Icon/icons/ChevronRight.d.ts
|
|
32
|
+
declare const SvgChevronRight: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/Icon/icons/Checklist.d.ts
|
|
35
|
+
declare const SvgChecklist: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/Icon/icons/CloudDone.d.ts
|
|
38
|
+
declare const SvgCloudDone: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region src/Icon/icons/Close.d.ts
|
|
41
|
+
declare const SvgClose: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region src/Icon/icons/Code.d.ts
|
|
44
|
+
declare const SvgCode: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region src/Icon/icons/ContentCopy.d.ts
|
|
47
|
+
declare const SvgContentCopy: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region src/Icon/icons/Cookie.d.ts
|
|
50
|
+
declare const SvgCookie: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/Icon/icons/Database.d.ts
|
|
53
|
+
declare const SvgDatabase: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region src/Icon/icons/DesktopWindows.d.ts
|
|
56
|
+
declare const SvgDesktopWindows: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region src/Icon/icons/Dns.d.ts
|
|
59
|
+
declare const SvgDns: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region src/Icon/icons/EditNote.d.ts
|
|
62
|
+
declare const SvgEditNote: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
63
|
+
//#endregion
|
|
64
|
+
//#region src/Icon/icons/ExpandLess.d.ts
|
|
65
|
+
declare const SvgExpandLess: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region src/Icon/icons/ExpandMore.d.ts
|
|
68
|
+
declare const SvgExpandMore: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
69
|
+
//#endregion
|
|
70
|
+
//#region src/Icon/icons/ExternalLink.d.ts
|
|
71
|
+
declare const SvgExternalLink: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
72
|
+
//#endregion
|
|
73
|
+
//#region src/Icon/icons/FirstPage.d.ts
|
|
74
|
+
declare const SvgFirstPage: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region src/Icon/icons/Folder.d.ts
|
|
77
|
+
declare const SvgFolder: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
78
|
+
//#endregion
|
|
79
|
+
//#region src/Icon/icons/FormatListBulleted.d.ts
|
|
80
|
+
declare const SvgFormatListBulleted: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
81
|
+
//#endregion
|
|
82
|
+
//#region src/Icon/icons/FormatListNumbered.d.ts
|
|
83
|
+
declare const SvgFormatListNumbered: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
84
|
+
//#endregion
|
|
85
|
+
//#region src/Icon/icons/FormatQuote.d.ts
|
|
86
|
+
declare const SvgFormatQuote: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
87
|
+
//#endregion
|
|
88
|
+
//#region src/Icon/icons/Fullscreen.d.ts
|
|
89
|
+
declare const SvgFullscreen: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
90
|
+
//#endregion
|
|
91
|
+
//#region src/Icon/icons/GridView.d.ts
|
|
92
|
+
declare const SvgGridView: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region src/Icon/icons/Groups.d.ts
|
|
95
|
+
declare const SvgGroups: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
96
|
+
//#endregion
|
|
97
|
+
//#region src/Icon/icons/History.d.ts
|
|
98
|
+
declare const SvgHistory: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
99
|
+
//#endregion
|
|
100
|
+
//#region src/Icon/icons/Hub.d.ts
|
|
101
|
+
declare const SvgHub: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
102
|
+
//#endregion
|
|
103
|
+
//#region src/Icon/icons/Image.d.ts
|
|
104
|
+
declare const SvgImage: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
105
|
+
//#endregion
|
|
106
|
+
//#region src/Icon/icons/Language.d.ts
|
|
107
|
+
declare const SvgLanguage: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
108
|
+
//#endregion
|
|
109
|
+
//#region src/Icon/icons/LastPage.d.ts
|
|
110
|
+
declare const SvgLastPage: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
111
|
+
//#endregion
|
|
112
|
+
//#region src/Icon/icons/Link.d.ts
|
|
113
|
+
declare const SvgLink: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
114
|
+
//#endregion
|
|
115
|
+
//#region src/Icon/icons/Lock.d.ts
|
|
116
|
+
declare const SvgLock: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
117
|
+
//#endregion
|
|
118
|
+
//#region src/Icon/icons/Menu.d.ts
|
|
119
|
+
declare const SvgMenu: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
120
|
+
//#endregion
|
|
121
|
+
//#region src/Icon/icons/Neurology.d.ts
|
|
122
|
+
declare const SvgNeurology: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
123
|
+
//#endregion
|
|
124
|
+
//#region src/Icon/icons/Psychology.d.ts
|
|
125
|
+
declare const SvgPsychology: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
126
|
+
//#endregion
|
|
127
|
+
//#region src/Icon/icons/RebaseEdit.d.ts
|
|
128
|
+
declare const SvgRebaseEdit: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
129
|
+
//#endregion
|
|
130
|
+
//#region src/Icon/icons/Refresh.d.ts
|
|
131
|
+
declare const SvgRefresh: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
132
|
+
//#endregion
|
|
133
|
+
//#region src/Icon/icons/Schema.d.ts
|
|
134
|
+
declare const SvgSchema: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
135
|
+
//#endregion
|
|
136
|
+
//#region src/Icon/icons/Security.d.ts
|
|
137
|
+
declare const SvgSecurity: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
138
|
+
//#endregion
|
|
139
|
+
//#region src/Icon/icons/SettingsInputComponent.d.ts
|
|
140
|
+
declare const SvgSettingsInputComponent: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
141
|
+
//#endregion
|
|
142
|
+
//#region src/Icon/icons/SmartToy.d.ts
|
|
143
|
+
declare const SvgSmartToy: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
144
|
+
//#endregion
|
|
145
|
+
//#region src/Icon/icons/Smartphone.d.ts
|
|
146
|
+
declare const SvgSmartphone: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
147
|
+
//#endregion
|
|
148
|
+
//#region src/Icon/icons/Speed.d.ts
|
|
149
|
+
declare const SvgSpeed: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
150
|
+
//#endregion
|
|
151
|
+
//#region src/Icon/icons/Stacks.d.ts
|
|
152
|
+
declare const SvgStacks: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
153
|
+
//#endregion
|
|
154
|
+
//#region src/Icon/icons/Table.d.ts
|
|
155
|
+
declare const SvgTable: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
156
|
+
//#endregion
|
|
157
|
+
//#region src/Icon/icons/Terminal.d.ts
|
|
158
|
+
declare const SvgTerminal: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
159
|
+
//#endregion
|
|
160
|
+
//#region src/Icon/icons/Visibility.d.ts
|
|
161
|
+
declare const SvgVisibility: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
162
|
+
//#endregion
|
|
163
|
+
//#region src/Icon/icons/Warning.d.ts
|
|
164
|
+
declare const SvgWarning: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
165
|
+
//#endregion
|
|
166
|
+
//#region src/Icon/icons/WebAsset.d.ts
|
|
167
|
+
declare const SvgWebAsset: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
168
|
+
//#endregion
|
|
169
|
+
//#region src/Icon/icons/ZoomIn.d.ts
|
|
170
|
+
declare const SvgZoomIn: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
171
|
+
//#endregion
|
|
172
|
+
//#region src/Icon/icons/ZoomOut.d.ts
|
|
173
|
+
declare const SvgZoomOut: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
174
|
+
//#endregion
|
|
175
|
+
//#region src/Icon/icons.d.ts
|
|
176
|
+
/** Registry of available icons, keyed by their asset file name. */
|
|
177
|
+
declare const icons: {
|
|
178
|
+
readonly account_tree: typeof SvgAccountTree;
|
|
179
|
+
readonly ads_click: typeof SvgAdsClick;
|
|
180
|
+
readonly analytics: typeof SvgAnalytics;
|
|
181
|
+
readonly architecture: typeof SvgArchitecture;
|
|
182
|
+
readonly arrow_back: typeof SvgArrowBack;
|
|
183
|
+
readonly arrow_forward: typeof SvgArrowForward;
|
|
184
|
+
readonly arrow_upward: typeof SvgArrowUpward;
|
|
185
|
+
readonly check: typeof SvgCheck;
|
|
186
|
+
readonly chevron_left: typeof SvgChevronLeft;
|
|
187
|
+
readonly chevron_right: typeof SvgChevronRight;
|
|
188
|
+
readonly checklist: typeof SvgChecklist;
|
|
189
|
+
readonly cloud_done: typeof SvgCloudDone;
|
|
190
|
+
readonly close: typeof SvgClose;
|
|
191
|
+
readonly code: typeof SvgCode;
|
|
192
|
+
readonly content_copy: typeof SvgContentCopy;
|
|
193
|
+
readonly cookie: typeof SvgCookie;
|
|
194
|
+
readonly database: typeof SvgDatabase;
|
|
195
|
+
readonly desktop_windows: typeof SvgDesktopWindows;
|
|
196
|
+
readonly dns: typeof SvgDns;
|
|
197
|
+
readonly edit_note: typeof SvgEditNote;
|
|
198
|
+
readonly expand_less: typeof SvgExpandLess;
|
|
199
|
+
readonly expand_more: typeof SvgExpandMore;
|
|
200
|
+
readonly external_link: typeof SvgExternalLink;
|
|
201
|
+
readonly first_page: typeof SvgFirstPage;
|
|
202
|
+
readonly folder: typeof SvgFolder;
|
|
203
|
+
readonly format_list_bulleted: typeof SvgFormatListBulleted;
|
|
204
|
+
readonly format_list_numbered: typeof SvgFormatListNumbered;
|
|
205
|
+
readonly format_quote: typeof SvgFormatQuote;
|
|
206
|
+
readonly fullscreen: typeof SvgFullscreen;
|
|
207
|
+
readonly grid_view: typeof SvgGridView;
|
|
208
|
+
readonly groups: typeof SvgGroups;
|
|
209
|
+
readonly history: typeof SvgHistory;
|
|
210
|
+
readonly hub: typeof SvgHub;
|
|
211
|
+
readonly image: typeof SvgImage;
|
|
212
|
+
readonly language: typeof SvgLanguage;
|
|
213
|
+
readonly last_page: typeof SvgLastPage;
|
|
214
|
+
readonly link: typeof SvgLink;
|
|
215
|
+
readonly lock: typeof SvgLock;
|
|
216
|
+
readonly menu: typeof SvgMenu;
|
|
217
|
+
readonly neurology: typeof SvgNeurology;
|
|
218
|
+
readonly psychology: typeof SvgPsychology;
|
|
219
|
+
readonly rebase_edit: typeof SvgRebaseEdit;
|
|
220
|
+
readonly refresh: typeof SvgRefresh;
|
|
221
|
+
readonly schema: typeof SvgSchema;
|
|
222
|
+
readonly security: typeof SvgSecurity;
|
|
223
|
+
readonly settings_input_component: typeof SvgSettingsInputComponent;
|
|
224
|
+
readonly smart_toy: typeof SvgSmartToy;
|
|
225
|
+
readonly smartphone: typeof SvgSmartphone;
|
|
226
|
+
readonly speed: typeof SvgSpeed;
|
|
227
|
+
readonly stacks: typeof SvgStacks;
|
|
228
|
+
readonly table: typeof SvgTable;
|
|
229
|
+
readonly terminal: typeof SvgTerminal;
|
|
230
|
+
readonly visibility: typeof SvgVisibility;
|
|
231
|
+
readonly warning: typeof SvgWarning;
|
|
232
|
+
readonly web_asset: typeof SvgWebAsset;
|
|
233
|
+
readonly zoom_in: typeof SvgZoomIn;
|
|
234
|
+
readonly zoom_out: typeof SvgZoomOut;
|
|
235
|
+
};
|
|
236
|
+
/** Valid values for the Icon `name` prop — derived from the registry keys. */
|
|
237
|
+
type IconName = keyof typeof icons;
|
|
238
|
+
//#endregion
|
|
239
|
+
//#region src/Icon/Icon.d.ts
|
|
240
|
+
interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'color' | 'ref' | 'width' | 'height' | 'display' | 'overflow'>, LayoutProps, SpaceProps {
|
|
241
|
+
/** Registry key of the icon to render. */
|
|
242
|
+
name: IconName;
|
|
243
|
+
/** Resolves against theme.text — applied as `color`, which the SVG inherits via `currentColor`. */
|
|
244
|
+
color?: TextColorToken;
|
|
245
|
+
/** Sets both width and height (icons are square). */
|
|
246
|
+
size?: string | number;
|
|
247
|
+
}
|
|
248
|
+
declare function Icon({ name, color, size, ...rest }: Readonly<IconProps>): import("react").JSX.Element;
|
|
249
|
+
//#endregion
|
|
250
|
+
export { icons as i, IconProps as n, IconName as r, Icon as t };
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { n as TextColorToken } from "./index-CohsoGjZ.cjs";
|
|
2
|
+
import { SVGProps } from "react";
|
|
3
|
+
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
|
+
//#region src/Icon/icons/AccountTree.d.ts
|
|
5
|
+
declare const SvgAccountTree: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/Icon/icons/AdsClick.d.ts
|
|
8
|
+
declare const SvgAdsClick: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/Icon/icons/Analytics.d.ts
|
|
11
|
+
declare const SvgAnalytics: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/Icon/icons/Architecture.d.ts
|
|
14
|
+
declare const SvgArchitecture: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/Icon/icons/ArrowBack.d.ts
|
|
17
|
+
declare const SvgArrowBack: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region src/Icon/icons/ArrowForward.d.ts
|
|
20
|
+
declare const SvgArrowForward: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/Icon/icons/ArrowUpward.d.ts
|
|
23
|
+
declare const SvgArrowUpward: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region src/Icon/icons/Check.d.ts
|
|
26
|
+
declare const SvgCheck: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region src/Icon/icons/ChevronLeft.d.ts
|
|
29
|
+
declare const SvgChevronLeft: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/Icon/icons/ChevronRight.d.ts
|
|
32
|
+
declare const SvgChevronRight: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/Icon/icons/Checklist.d.ts
|
|
35
|
+
declare const SvgChecklist: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/Icon/icons/CloudDone.d.ts
|
|
38
|
+
declare const SvgCloudDone: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region src/Icon/icons/Close.d.ts
|
|
41
|
+
declare const SvgClose: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region src/Icon/icons/Code.d.ts
|
|
44
|
+
declare const SvgCode: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region src/Icon/icons/ContentCopy.d.ts
|
|
47
|
+
declare const SvgContentCopy: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region src/Icon/icons/Cookie.d.ts
|
|
50
|
+
declare const SvgCookie: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/Icon/icons/Database.d.ts
|
|
53
|
+
declare const SvgDatabase: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region src/Icon/icons/DesktopWindows.d.ts
|
|
56
|
+
declare const SvgDesktopWindows: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region src/Icon/icons/Dns.d.ts
|
|
59
|
+
declare const SvgDns: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region src/Icon/icons/EditNote.d.ts
|
|
62
|
+
declare const SvgEditNote: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
63
|
+
//#endregion
|
|
64
|
+
//#region src/Icon/icons/ExpandLess.d.ts
|
|
65
|
+
declare const SvgExpandLess: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region src/Icon/icons/ExpandMore.d.ts
|
|
68
|
+
declare const SvgExpandMore: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
69
|
+
//#endregion
|
|
70
|
+
//#region src/Icon/icons/ExternalLink.d.ts
|
|
71
|
+
declare const SvgExternalLink: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
72
|
+
//#endregion
|
|
73
|
+
//#region src/Icon/icons/FirstPage.d.ts
|
|
74
|
+
declare const SvgFirstPage: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region src/Icon/icons/Folder.d.ts
|
|
77
|
+
declare const SvgFolder: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
78
|
+
//#endregion
|
|
79
|
+
//#region src/Icon/icons/FormatListBulleted.d.ts
|
|
80
|
+
declare const SvgFormatListBulleted: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
81
|
+
//#endregion
|
|
82
|
+
//#region src/Icon/icons/FormatListNumbered.d.ts
|
|
83
|
+
declare const SvgFormatListNumbered: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
84
|
+
//#endregion
|
|
85
|
+
//#region src/Icon/icons/FormatQuote.d.ts
|
|
86
|
+
declare const SvgFormatQuote: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
87
|
+
//#endregion
|
|
88
|
+
//#region src/Icon/icons/Fullscreen.d.ts
|
|
89
|
+
declare const SvgFullscreen: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
90
|
+
//#endregion
|
|
91
|
+
//#region src/Icon/icons/GridView.d.ts
|
|
92
|
+
declare const SvgGridView: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region src/Icon/icons/Groups.d.ts
|
|
95
|
+
declare const SvgGroups: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
96
|
+
//#endregion
|
|
97
|
+
//#region src/Icon/icons/History.d.ts
|
|
98
|
+
declare const SvgHistory: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
99
|
+
//#endregion
|
|
100
|
+
//#region src/Icon/icons/Hub.d.ts
|
|
101
|
+
declare const SvgHub: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
102
|
+
//#endregion
|
|
103
|
+
//#region src/Icon/icons/Image.d.ts
|
|
104
|
+
declare const SvgImage: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
105
|
+
//#endregion
|
|
106
|
+
//#region src/Icon/icons/Language.d.ts
|
|
107
|
+
declare const SvgLanguage: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
108
|
+
//#endregion
|
|
109
|
+
//#region src/Icon/icons/LastPage.d.ts
|
|
110
|
+
declare const SvgLastPage: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
111
|
+
//#endregion
|
|
112
|
+
//#region src/Icon/icons/Link.d.ts
|
|
113
|
+
declare const SvgLink: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
114
|
+
//#endregion
|
|
115
|
+
//#region src/Icon/icons/Lock.d.ts
|
|
116
|
+
declare const SvgLock: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
117
|
+
//#endregion
|
|
118
|
+
//#region src/Icon/icons/Menu.d.ts
|
|
119
|
+
declare const SvgMenu: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
120
|
+
//#endregion
|
|
121
|
+
//#region src/Icon/icons/Neurology.d.ts
|
|
122
|
+
declare const SvgNeurology: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
123
|
+
//#endregion
|
|
124
|
+
//#region src/Icon/icons/Psychology.d.ts
|
|
125
|
+
declare const SvgPsychology: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
126
|
+
//#endregion
|
|
127
|
+
//#region src/Icon/icons/RebaseEdit.d.ts
|
|
128
|
+
declare const SvgRebaseEdit: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
129
|
+
//#endregion
|
|
130
|
+
//#region src/Icon/icons/Refresh.d.ts
|
|
131
|
+
declare const SvgRefresh: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
132
|
+
//#endregion
|
|
133
|
+
//#region src/Icon/icons/Schema.d.ts
|
|
134
|
+
declare const SvgSchema: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
135
|
+
//#endregion
|
|
136
|
+
//#region src/Icon/icons/Security.d.ts
|
|
137
|
+
declare const SvgSecurity: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
138
|
+
//#endregion
|
|
139
|
+
//#region src/Icon/icons/SettingsInputComponent.d.ts
|
|
140
|
+
declare const SvgSettingsInputComponent: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
141
|
+
//#endregion
|
|
142
|
+
//#region src/Icon/icons/SmartToy.d.ts
|
|
143
|
+
declare const SvgSmartToy: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
144
|
+
//#endregion
|
|
145
|
+
//#region src/Icon/icons/Smartphone.d.ts
|
|
146
|
+
declare const SvgSmartphone: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
147
|
+
//#endregion
|
|
148
|
+
//#region src/Icon/icons/Speed.d.ts
|
|
149
|
+
declare const SvgSpeed: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
150
|
+
//#endregion
|
|
151
|
+
//#region src/Icon/icons/Stacks.d.ts
|
|
152
|
+
declare const SvgStacks: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
153
|
+
//#endregion
|
|
154
|
+
//#region src/Icon/icons/Table.d.ts
|
|
155
|
+
declare const SvgTable: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
156
|
+
//#endregion
|
|
157
|
+
//#region src/Icon/icons/Terminal.d.ts
|
|
158
|
+
declare const SvgTerminal: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
159
|
+
//#endregion
|
|
160
|
+
//#region src/Icon/icons/Visibility.d.ts
|
|
161
|
+
declare const SvgVisibility: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
162
|
+
//#endregion
|
|
163
|
+
//#region src/Icon/icons/Warning.d.ts
|
|
164
|
+
declare const SvgWarning: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
165
|
+
//#endregion
|
|
166
|
+
//#region src/Icon/icons/WebAsset.d.ts
|
|
167
|
+
declare const SvgWebAsset: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
168
|
+
//#endregion
|
|
169
|
+
//#region src/Icon/icons/ZoomIn.d.ts
|
|
170
|
+
declare const SvgZoomIn: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
171
|
+
//#endregion
|
|
172
|
+
//#region src/Icon/icons/ZoomOut.d.ts
|
|
173
|
+
declare const SvgZoomOut: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
174
|
+
//#endregion
|
|
175
|
+
//#region src/Icon/icons.d.ts
|
|
176
|
+
/** Registry of available icons, keyed by their asset file name. */
|
|
177
|
+
declare const icons: {
|
|
178
|
+
readonly account_tree: typeof SvgAccountTree;
|
|
179
|
+
readonly ads_click: typeof SvgAdsClick;
|
|
180
|
+
readonly analytics: typeof SvgAnalytics;
|
|
181
|
+
readonly architecture: typeof SvgArchitecture;
|
|
182
|
+
readonly arrow_back: typeof SvgArrowBack;
|
|
183
|
+
readonly arrow_forward: typeof SvgArrowForward;
|
|
184
|
+
readonly arrow_upward: typeof SvgArrowUpward;
|
|
185
|
+
readonly check: typeof SvgCheck;
|
|
186
|
+
readonly chevron_left: typeof SvgChevronLeft;
|
|
187
|
+
readonly chevron_right: typeof SvgChevronRight;
|
|
188
|
+
readonly checklist: typeof SvgChecklist;
|
|
189
|
+
readonly cloud_done: typeof SvgCloudDone;
|
|
190
|
+
readonly close: typeof SvgClose;
|
|
191
|
+
readonly code: typeof SvgCode;
|
|
192
|
+
readonly content_copy: typeof SvgContentCopy;
|
|
193
|
+
readonly cookie: typeof SvgCookie;
|
|
194
|
+
readonly database: typeof SvgDatabase;
|
|
195
|
+
readonly desktop_windows: typeof SvgDesktopWindows;
|
|
196
|
+
readonly dns: typeof SvgDns;
|
|
197
|
+
readonly edit_note: typeof SvgEditNote;
|
|
198
|
+
readonly expand_less: typeof SvgExpandLess;
|
|
199
|
+
readonly expand_more: typeof SvgExpandMore;
|
|
200
|
+
readonly external_link: typeof SvgExternalLink;
|
|
201
|
+
readonly first_page: typeof SvgFirstPage;
|
|
202
|
+
readonly folder: typeof SvgFolder;
|
|
203
|
+
readonly format_list_bulleted: typeof SvgFormatListBulleted;
|
|
204
|
+
readonly format_list_numbered: typeof SvgFormatListNumbered;
|
|
205
|
+
readonly format_quote: typeof SvgFormatQuote;
|
|
206
|
+
readonly fullscreen: typeof SvgFullscreen;
|
|
207
|
+
readonly grid_view: typeof SvgGridView;
|
|
208
|
+
readonly groups: typeof SvgGroups;
|
|
209
|
+
readonly history: typeof SvgHistory;
|
|
210
|
+
readonly hub: typeof SvgHub;
|
|
211
|
+
readonly image: typeof SvgImage;
|
|
212
|
+
readonly language: typeof SvgLanguage;
|
|
213
|
+
readonly last_page: typeof SvgLastPage;
|
|
214
|
+
readonly link: typeof SvgLink;
|
|
215
|
+
readonly lock: typeof SvgLock;
|
|
216
|
+
readonly menu: typeof SvgMenu;
|
|
217
|
+
readonly neurology: typeof SvgNeurology;
|
|
218
|
+
readonly psychology: typeof SvgPsychology;
|
|
219
|
+
readonly rebase_edit: typeof SvgRebaseEdit;
|
|
220
|
+
readonly refresh: typeof SvgRefresh;
|
|
221
|
+
readonly schema: typeof SvgSchema;
|
|
222
|
+
readonly security: typeof SvgSecurity;
|
|
223
|
+
readonly settings_input_component: typeof SvgSettingsInputComponent;
|
|
224
|
+
readonly smart_toy: typeof SvgSmartToy;
|
|
225
|
+
readonly smartphone: typeof SvgSmartphone;
|
|
226
|
+
readonly speed: typeof SvgSpeed;
|
|
227
|
+
readonly stacks: typeof SvgStacks;
|
|
228
|
+
readonly table: typeof SvgTable;
|
|
229
|
+
readonly terminal: typeof SvgTerminal;
|
|
230
|
+
readonly visibility: typeof SvgVisibility;
|
|
231
|
+
readonly warning: typeof SvgWarning;
|
|
232
|
+
readonly web_asset: typeof SvgWebAsset;
|
|
233
|
+
readonly zoom_in: typeof SvgZoomIn;
|
|
234
|
+
readonly zoom_out: typeof SvgZoomOut;
|
|
235
|
+
};
|
|
236
|
+
/** Valid values for the Icon `name` prop — derived from the registry keys. */
|
|
237
|
+
type IconName = keyof typeof icons;
|
|
238
|
+
//#endregion
|
|
239
|
+
//#region src/Icon/Icon.d.ts
|
|
240
|
+
interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'color' | 'ref' | 'width' | 'height' | 'display' | 'overflow'>, LayoutProps, SpaceProps {
|
|
241
|
+
/** Registry key of the icon to render. */
|
|
242
|
+
name: IconName;
|
|
243
|
+
/** Resolves against theme.text — applied as `color`, which the SVG inherits via `currentColor`. */
|
|
244
|
+
color?: TextColorToken;
|
|
245
|
+
/** Sets both width and height (icons are square). */
|
|
246
|
+
size?: string | number;
|
|
247
|
+
}
|
|
248
|
+
declare function Icon({ name, color, size, ...rest }: Readonly<IconProps>): import("react").JSX.Element;
|
|
249
|
+
//#endregion
|
|
250
|
+
export { icons as i, IconProps as n, IconName as r, Icon as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
2
2
|
import "./index-2QPYJgCl.cjs";
|
|
3
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
3
|
+
import { n as IconProps, r as IconName } from "./index-D_AwmCU5.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,6 +1,6 @@
|
|
|
1
1
|
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
2
|
import "./index-q9peil7T.mjs";
|
|
3
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
3
|
+
import { n as IconProps, r as IconName } from "./index-B0xTqpvt.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,4 +1,4 @@
|
|
|
1
|
-
import { n as TableSortLabelDirection } from "./index-
|
|
1
|
+
import { n as TableSortLabelDirection } from "./index-DkPJUFzd.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-hcZwhQmR.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 {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soroush.tech/design-system",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "Emotion + @soroush.tech/styled-system React component library — token-driven light/dark themes, layout primitives, forms, and overlays.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design-system",
|
|
@@ -477,7 +477,7 @@
|
|
|
477
477
|
"@emotion/cache": "^11.14.0",
|
|
478
478
|
"@emotion/react": "^11.14.0",
|
|
479
479
|
"@emotion/styled": "^11.14.1",
|
|
480
|
-
"@soroush.tech/styled-system": "^5.8.
|
|
480
|
+
"@soroush.tech/styled-system": "^5.8.2"
|
|
481
481
|
},
|
|
482
482
|
"peerDependencies": {
|
|
483
483
|
"react": "^19.2.8",
|
|
@@ -485,37 +485,37 @@
|
|
|
485
485
|
},
|
|
486
486
|
"devDependencies": {
|
|
487
487
|
"@emotion/css": "^11.13.5",
|
|
488
|
-
"@storybook/
|
|
489
|
-
"@
|
|
488
|
+
"@storybook/addon-a11y": "^10.5.8",
|
|
489
|
+
"@storybook/addon-docs": "^10.5.8",
|
|
490
|
+
"@storybook/addon-vitest": "^10.5.8",
|
|
491
|
+
"@storybook/react-vite": "^10.5.8",
|
|
492
|
+
"@testing-library/jest-dom": "^7.0.1",
|
|
490
493
|
"@testing-library/react": "^16.3.2",
|
|
491
494
|
"@types/node": "^26.2.0",
|
|
492
495
|
"@types/react": "^19.2.18",
|
|
493
496
|
"@types/react-dom": "^19.2.4",
|
|
494
497
|
"@vitest/browser-playwright": "^4.1.10",
|
|
495
498
|
"@vitest/coverage-v8": "^4.1.10",
|
|
496
|
-
"eslint": "^10.8.1",
|
|
497
|
-
"eslint-plugin-react": "^7.37.5",
|
|
498
|
-
"eslint-plugin-react-hooks": "^7.1.1",
|
|
499
|
-
"eslint-plugin-react-refresh": "^0.5.3",
|
|
500
|
-
"eslint-plugin-storybook": "^10.5.7",
|
|
501
|
-
"globals": "^17.9.0",
|
|
502
499
|
"jsdom": "^29.1.1",
|
|
500
|
+
"oxlint": "^1.78.0",
|
|
503
501
|
"playwright": "^1.62.1",
|
|
504
502
|
"react": "^19.2.8",
|
|
505
503
|
"react-dom": "^19.2.8",
|
|
506
|
-
"storybook": "^10.5.
|
|
504
|
+
"storybook": "^10.5.8",
|
|
507
505
|
"tsdown": "^0.22.14",
|
|
508
|
-
"typescript": "~
|
|
506
|
+
"typescript": "~7.0.2",
|
|
509
507
|
"vitest": "^4.1.10",
|
|
510
508
|
"zod": "^4.4.3",
|
|
511
509
|
"@soroush.tech/eslint-config": "0.0.0"
|
|
512
510
|
},
|
|
513
511
|
"scripts": {
|
|
514
512
|
"build": "tsdown",
|
|
515
|
-
"storybook": "
|
|
516
|
-
"
|
|
513
|
+
"storybook": "storybook dev -p 6007",
|
|
514
|
+
"build:storybook": "storybook build",
|
|
515
|
+
"lint": "oxlint --deny-warnings",
|
|
517
516
|
"typecheck": "tsc --noEmit",
|
|
518
517
|
"test": "vitest run",
|
|
518
|
+
"test:storybook": "vitest run --project=storybook",
|
|
519
519
|
"test:coverage": "vitest run --coverage",
|
|
520
520
|
"test:types": "pnpm build && node scripts/check-dts.mjs && tsc -p type-tests/tsconfig.json",
|
|
521
521
|
"check:dts": "node scripts/check-dts.mjs",
|