@astral/ui 0.20.0 → 0.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (285) hide show
  1. package/ButtonBase/styled.js +5 -5
  2. package/DataGrid/DataGrid.d.ts +3 -0
  3. package/DataGrid/DataGrid.js +64 -0
  4. package/DataGrid/DataGridBody/DataGridBody.d.ts +3 -0
  5. package/DataGrid/DataGridBody/DataGridBody.js +39 -0
  6. package/DataGrid/DataGridBody/index.d.ts +1 -0
  7. package/DataGrid/DataGridBody/index.js +13 -0
  8. package/DataGrid/DataGridBody/styled.d.ts +13 -0
  9. package/DataGrid/DataGridBody/styled.js +17 -0
  10. package/DataGrid/DataGridBody/types.d.ts +11 -0
  11. package/DataGrid/DataGridBody/types.js +2 -0
  12. package/DataGrid/DataGridCell/DataGridCell.d.ts +3 -0
  13. package/DataGrid/DataGridCell/DataGridCell.js +29 -0
  14. package/DataGrid/DataGridCell/index.d.ts +1 -0
  15. package/DataGrid/DataGridCell/index.js +13 -0
  16. package/DataGrid/DataGridCell/types.d.ts +5 -0
  17. package/DataGrid/DataGridCell/types.js +2 -0
  18. package/DataGrid/DataGridHead/DataGridHead.d.ts +3 -0
  19. package/DataGrid/DataGridHead/DataGridHead.js +71 -0
  20. package/DataGrid/DataGridHead/index.d.ts +2 -0
  21. package/DataGrid/DataGridHead/index.js +14 -0
  22. package/DataGrid/DataGridHead/types.d.ts +11 -0
  23. package/DataGrid/DataGridHead/types.js +2 -0
  24. package/DataGrid/DataGridHeadColumn/DataGridHeadColumn.d.ts +3 -0
  25. package/DataGrid/DataGridHeadColumn/DataGridHeadColumn.js +30 -0
  26. package/DataGrid/DataGridHeadColumn/index.d.ts +2 -0
  27. package/DataGrid/DataGridHeadColumn/index.js +14 -0
  28. package/DataGrid/DataGridHeadColumn/styled.d.ts +38 -0
  29. package/DataGrid/DataGridHeadColumn/styled.js +20 -0
  30. package/DataGrid/DataGridHeadColumn/types.d.ts +11 -0
  31. package/DataGrid/DataGridHeadColumn/types.js +2 -0
  32. package/DataGrid/DataGridLoader/DataGridLoader.d.ts +4 -0
  33. package/DataGrid/DataGridLoader/DataGridLoader.js +9 -0
  34. package/DataGrid/DataGridLoader/index.d.ts +2 -0
  35. package/DataGrid/DataGridLoader/index.js +14 -0
  36. package/DataGrid/DataGridLoader/styled.d.ts +27 -0
  37. package/DataGrid/DataGridLoader/styled.js +18 -0
  38. package/DataGrid/DataGridLoader/types.d.ts +3 -0
  39. package/DataGrid/DataGridLoader/types.js +2 -0
  40. package/DataGrid/constants.d.ts +4 -0
  41. package/DataGrid/constants.js +8 -0
  42. package/DataGrid/index.d.ts +2 -0
  43. package/DataGrid/index.js +14 -0
  44. package/DataGrid/styled.d.ts +16 -0
  45. package/DataGrid/styled.js +17 -0
  46. package/DataGrid/types.d.ts +32 -0
  47. package/DataGrid/types.js +2 -0
  48. package/DataGridPagination/DataGridPagination.d.ts +3 -0
  49. package/DataGridPagination/DataGridPagination.js +38 -0
  50. package/DataGridPagination/index.d.ts +2 -0
  51. package/DataGridPagination/index.js +14 -0
  52. package/DataGridPagination/styled.d.ts +10 -0
  53. package/DataGridPagination/styled.js +18 -0
  54. package/DataGridPagination/types.d.ts +6 -0
  55. package/DataGridPagination/types.js +2 -0
  56. package/Dialog/types.d.ts +1 -3
  57. package/DialogTitle/DialogTitle.js +4 -1
  58. package/DialogTitle/types.d.ts +2 -2
  59. package/Pagination/Pagination.d.ts +3 -0
  60. package/Pagination/Pagination.js +32 -0
  61. package/Pagination/index.d.ts +2 -0
  62. package/Pagination/index.js +14 -0
  63. package/Pagination/types.d.ts +2 -0
  64. package/Pagination/types.js +2 -0
  65. package/Select/Select.d.ts +1 -1
  66. package/Select/Select.js +6 -3
  67. package/Select/types.d.ts +1 -0
  68. package/SideDialog/SideDialog.d.ts +3 -0
  69. package/SideDialog/SideDialog.js +33 -0
  70. package/SideDialog/index.d.ts +2 -0
  71. package/SideDialog/index.js +14 -0
  72. package/SideDialog/styled.d.ts +4 -0
  73. package/SideDialog/styled.js +11 -0
  74. package/SideDialog/types.d.ts +4 -0
  75. package/SideDialog/types.js +2 -0
  76. package/SideDialogActions/SideDialogActions.d.ts +1 -0
  77. package/SideDialogActions/SideDialogActions.js +5 -0
  78. package/SideDialogActions/index.d.ts +1 -0
  79. package/SideDialogActions/index.js +13 -0
  80. package/SideDialogActions/types.d.ts +1 -0
  81. package/SideDialogActions/types.js +2 -0
  82. package/SideDialogContent/SideDialogContent.d.ts +1 -0
  83. package/SideDialogContent/SideDialogContent.js +5 -0
  84. package/SideDialogContent/index.d.ts +1 -0
  85. package/SideDialogContent/index.js +13 -0
  86. package/SideDialogContent/types.d.ts +1 -0
  87. package/SideDialogContent/types.js +2 -0
  88. package/SideDialogContentText/SideDialogContentText.d.ts +1 -0
  89. package/SideDialogContentText/SideDialogContentText.js +5 -0
  90. package/SideDialogContentText/index.d.ts +1 -0
  91. package/SideDialogContentText/index.js +13 -0
  92. package/SideDialogContentText/types.d.ts +1 -0
  93. package/SideDialogContentText/types.js +2 -0
  94. package/SideDialogTitle/SideDialogTitle.d.ts +1 -0
  95. package/SideDialogTitle/SideDialogTitle.js +5 -0
  96. package/SideDialogTitle/index.d.ts +1 -0
  97. package/SideDialogTitle/index.js +13 -0
  98. package/SideDialogTitle/types.d.ts +1 -0
  99. package/SideDialogTitle/types.js +2 -0
  100. package/Table/Table.d.ts +3 -0
  101. package/Table/Table.js +32 -0
  102. package/Table/TableBody/TableBody.d.ts +3 -0
  103. package/Table/TableBody/TableBody.js +5 -0
  104. package/Table/TableBody/index.d.ts +1 -0
  105. package/Table/TableBody/index.js +13 -0
  106. package/Table/TableCell/TableCell.d.ts +3 -0
  107. package/Table/TableCell/TableCell.js +5 -0
  108. package/Table/TableCell/index.d.ts +1 -0
  109. package/Table/TableCell/index.js +13 -0
  110. package/Table/TableContainer/TableContainer.d.ts +3 -0
  111. package/Table/TableContainer/TableContainer.js +5 -0
  112. package/Table/TableContainer/index.d.ts +1 -0
  113. package/Table/TableContainer/index.js +13 -0
  114. package/Table/TableFooter/TableFooter.d.ts +3 -0
  115. package/Table/TableFooter/TableFooter.js +5 -0
  116. package/Table/TableFooter/index.d.ts +1 -0
  117. package/Table/TableFooter/index.js +13 -0
  118. package/Table/TableHead/TableHead.d.ts +3 -0
  119. package/Table/TableHead/TableHead.js +5 -0
  120. package/Table/TableHead/index.d.ts +1 -0
  121. package/Table/TableHead/index.js +13 -0
  122. package/Table/TableRow/TableRow.d.ts +3 -0
  123. package/Table/TableRow/TableRow.js +5 -0
  124. package/Table/TableRow/index.d.ts +1 -0
  125. package/Table/TableRow/index.js +13 -0
  126. package/Table/TableSortLabel/TableSortLabel.d.ts +3 -0
  127. package/Table/TableSortLabel/TableSortLabel.js +5 -0
  128. package/Table/TableSortLabel/index.d.ts +1 -0
  129. package/Table/TableSortLabel/index.js +13 -0
  130. package/Table/index.d.ts +7 -0
  131. package/Table/index.js +19 -0
  132. package/esm/ButtonBase/styled.js +5 -5
  133. package/esm/DataGrid/DataGrid.d.ts +3 -0
  134. package/esm/DataGrid/DataGrid.js +57 -0
  135. package/esm/DataGrid/DataGridBody/DataGridBody.d.ts +3 -0
  136. package/esm/DataGrid/DataGridBody/DataGridBody.js +35 -0
  137. package/esm/DataGrid/DataGridBody/index.d.ts +1 -0
  138. package/esm/DataGrid/DataGridBody/index.js +1 -0
  139. package/esm/DataGrid/DataGridBody/styled.d.ts +13 -0
  140. package/esm/DataGrid/DataGridBody/styled.js +14 -0
  141. package/esm/DataGrid/DataGridBody/types.d.ts +11 -0
  142. package/esm/DataGrid/DataGridBody/types.js +1 -0
  143. package/esm/DataGrid/DataGridCell/DataGridCell.d.ts +3 -0
  144. package/esm/DataGrid/DataGridCell/DataGridCell.js +25 -0
  145. package/esm/DataGrid/DataGridCell/index.d.ts +1 -0
  146. package/esm/DataGrid/DataGridCell/index.js +1 -0
  147. package/esm/DataGrid/DataGridCell/types.d.ts +5 -0
  148. package/esm/DataGrid/DataGridCell/types.js +1 -0
  149. package/esm/DataGrid/DataGridHead/DataGridHead.d.ts +3 -0
  150. package/esm/DataGrid/DataGridHead/DataGridHead.js +67 -0
  151. package/esm/DataGrid/DataGridHead/index.d.ts +2 -0
  152. package/esm/DataGrid/DataGridHead/index.js +2 -0
  153. package/esm/DataGrid/DataGridHead/types.d.ts +11 -0
  154. package/esm/DataGrid/DataGridHead/types.js +1 -0
  155. package/esm/DataGrid/DataGridHeadColumn/DataGridHeadColumn.d.ts +3 -0
  156. package/esm/DataGrid/DataGridHeadColumn/DataGridHeadColumn.js +26 -0
  157. package/esm/DataGrid/DataGridHeadColumn/index.d.ts +2 -0
  158. package/esm/DataGrid/DataGridHeadColumn/index.js +2 -0
  159. package/esm/DataGrid/DataGridHeadColumn/styled.d.ts +38 -0
  160. package/esm/DataGrid/DataGridHeadColumn/styled.js +17 -0
  161. package/esm/DataGrid/DataGridHeadColumn/types.d.ts +11 -0
  162. package/esm/DataGrid/DataGridHeadColumn/types.js +1 -0
  163. package/esm/DataGrid/DataGridLoader/DataGridLoader.d.ts +4 -0
  164. package/esm/DataGrid/DataGridLoader/DataGridLoader.js +7 -0
  165. package/esm/DataGrid/DataGridLoader/index.d.ts +2 -0
  166. package/esm/DataGrid/DataGridLoader/index.js +2 -0
  167. package/esm/DataGrid/DataGridLoader/styled.d.ts +27 -0
  168. package/esm/DataGrid/DataGridLoader/styled.js +15 -0
  169. package/esm/DataGrid/DataGridLoader/types.d.ts +3 -0
  170. package/esm/DataGrid/DataGridLoader/types.js +1 -0
  171. package/esm/DataGrid/constants.d.ts +4 -0
  172. package/esm/DataGrid/constants.js +5 -0
  173. package/esm/DataGrid/index.d.ts +2 -0
  174. package/esm/DataGrid/index.js +2 -0
  175. package/esm/DataGrid/styled.d.ts +16 -0
  176. package/esm/DataGrid/styled.js +14 -0
  177. package/esm/DataGrid/types.d.ts +32 -0
  178. package/esm/DataGrid/types.js +1 -0
  179. package/esm/DataGridPagination/DataGridPagination.d.ts +3 -0
  180. package/esm/DataGridPagination/DataGridPagination.js +34 -0
  181. package/esm/DataGridPagination/index.d.ts +2 -0
  182. package/esm/DataGridPagination/index.js +2 -0
  183. package/esm/DataGridPagination/styled.d.ts +10 -0
  184. package/esm/DataGridPagination/styled.js +15 -0
  185. package/esm/DataGridPagination/types.d.ts +6 -0
  186. package/esm/DataGridPagination/types.js +1 -0
  187. package/esm/Dialog/types.d.ts +1 -3
  188. package/esm/DialogTitle/DialogTitle.js +4 -1
  189. package/esm/DialogTitle/types.d.ts +2 -2
  190. package/esm/Pagination/Pagination.d.ts +3 -0
  191. package/esm/Pagination/Pagination.js +28 -0
  192. package/esm/Pagination/index.d.ts +2 -0
  193. package/esm/Pagination/index.js +2 -0
  194. package/esm/Pagination/types.d.ts +2 -0
  195. package/esm/Pagination/types.js +1 -0
  196. package/esm/Select/Select.d.ts +1 -1
  197. package/esm/Select/Select.js +6 -3
  198. package/esm/Select/types.d.ts +1 -0
  199. package/esm/SideDialog/SideDialog.d.ts +3 -0
  200. package/esm/SideDialog/SideDialog.js +29 -0
  201. package/esm/SideDialog/index.d.ts +2 -0
  202. package/esm/SideDialog/index.js +2 -0
  203. package/esm/SideDialog/styled.d.ts +4 -0
  204. package/esm/SideDialog/styled.js +8 -0
  205. package/esm/SideDialog/types.d.ts +4 -0
  206. package/esm/SideDialog/types.js +1 -0
  207. package/esm/SideDialogActions/SideDialogActions.d.ts +1 -0
  208. package/esm/SideDialogActions/SideDialogActions.js +1 -0
  209. package/esm/SideDialogActions/index.d.ts +1 -0
  210. package/esm/SideDialogActions/index.js +1 -0
  211. package/esm/SideDialogActions/types.d.ts +1 -0
  212. package/esm/SideDialogActions/types.js +1 -0
  213. package/esm/SideDialogContent/SideDialogContent.d.ts +1 -0
  214. package/esm/SideDialogContent/SideDialogContent.js +1 -0
  215. package/esm/SideDialogContent/index.d.ts +1 -0
  216. package/esm/SideDialogContent/index.js +1 -0
  217. package/esm/SideDialogContent/types.d.ts +1 -0
  218. package/esm/SideDialogContent/types.js +1 -0
  219. package/esm/SideDialogContentText/SideDialogContentText.d.ts +1 -0
  220. package/esm/SideDialogContentText/SideDialogContentText.js +1 -0
  221. package/esm/SideDialogContentText/index.d.ts +1 -0
  222. package/esm/SideDialogContentText/index.js +1 -0
  223. package/esm/SideDialogContentText/types.d.ts +1 -0
  224. package/esm/SideDialogContentText/types.js +1 -0
  225. package/esm/SideDialogTitle/SideDialogTitle.d.ts +1 -0
  226. package/esm/SideDialogTitle/SideDialogTitle.js +1 -0
  227. package/esm/SideDialogTitle/index.d.ts +1 -0
  228. package/esm/SideDialogTitle/index.js +1 -0
  229. package/esm/SideDialogTitle/types.d.ts +1 -0
  230. package/esm/SideDialogTitle/types.js +1 -0
  231. package/esm/Table/Table.d.ts +3 -0
  232. package/esm/Table/Table.js +28 -0
  233. package/esm/Table/TableBody/TableBody.d.ts +3 -0
  234. package/esm/Table/TableBody/TableBody.js +2 -0
  235. package/esm/Table/TableBody/index.d.ts +1 -0
  236. package/esm/Table/TableBody/index.js +1 -0
  237. package/esm/Table/TableCell/TableCell.d.ts +3 -0
  238. package/esm/Table/TableCell/TableCell.js +2 -0
  239. package/esm/Table/TableCell/index.d.ts +1 -0
  240. package/esm/Table/TableCell/index.js +1 -0
  241. package/esm/Table/TableContainer/TableContainer.d.ts +3 -0
  242. package/esm/Table/TableContainer/TableContainer.js +2 -0
  243. package/esm/Table/TableContainer/index.d.ts +1 -0
  244. package/esm/Table/TableContainer/index.js +1 -0
  245. package/esm/Table/TableFooter/TableFooter.d.ts +3 -0
  246. package/esm/Table/TableFooter/TableFooter.js +2 -0
  247. package/esm/Table/TableFooter/index.d.ts +1 -0
  248. package/esm/Table/TableFooter/index.js +1 -0
  249. package/esm/Table/TableHead/TableHead.d.ts +3 -0
  250. package/esm/Table/TableHead/TableHead.js +2 -0
  251. package/esm/Table/TableHead/index.d.ts +1 -0
  252. package/esm/Table/TableHead/index.js +1 -0
  253. package/esm/Table/TableRow/TableRow.d.ts +3 -0
  254. package/esm/Table/TableRow/TableRow.js +2 -0
  255. package/esm/Table/TableRow/index.d.ts +1 -0
  256. package/esm/Table/TableRow/index.js +1 -0
  257. package/esm/Table/TableSortLabel/TableSortLabel.d.ts +3 -0
  258. package/esm/Table/TableSortLabel/TableSortLabel.js +2 -0
  259. package/esm/Table/TableSortLabel/index.d.ts +1 -0
  260. package/esm/Table/TableSortLabel/index.js +1 -0
  261. package/esm/Table/index.d.ts +7 -0
  262. package/esm/Table/index.js +7 -0
  263. package/esm/index.d.ts +8 -0
  264. package/esm/index.js +8 -0
  265. package/esm/theme/__tests__/BaseTheme.test.js +1 -1
  266. package/esm/theme/components/MuiPaginationItem.d.ts +3 -0
  267. package/esm/theme/components/MuiPaginationItem.js +14 -0
  268. package/esm/theme/components/MuiTableCell.d.ts +3 -0
  269. package/esm/theme/components/MuiTableCell.js +9 -0
  270. package/esm/theme/components/MuiTableHead.d.ts +3 -0
  271. package/esm/theme/components/MuiTableHead.js +12 -0
  272. package/esm/theme/components/components.js +7 -1
  273. package/esm/theme/elevation.js +5 -5
  274. package/index.d.ts +8 -0
  275. package/index.js +8 -0
  276. package/package.json +2 -2
  277. package/theme/__tests__/BaseTheme.test.js +1 -1
  278. package/theme/components/MuiPaginationItem.d.ts +3 -0
  279. package/theme/components/MuiPaginationItem.js +17 -0
  280. package/theme/components/MuiTableCell.d.ts +3 -0
  281. package/theme/components/MuiTableCell.js +12 -0
  282. package/theme/components/MuiTableHead.d.ts +3 -0
  283. package/theme/components/MuiTableHead.js +15 -0
  284. package/theme/components/components.js +7 -1
  285. package/theme/elevation.js +5 -5
@@ -0,0 +1 @@
1
+ export { DialogContentText as SideDialogContentText } from '../DialogContentText';
@@ -0,0 +1 @@
1
+ export * from './SideDialogContentText';
@@ -0,0 +1 @@
1
+ export * from './SideDialogContentText';
@@ -0,0 +1 @@
1
+ export type { DialogContentTextProps as SideDialogContentTextProps } from '@mui/material';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export { DialogTitle as SideDialogTitle } from '../DialogTitle';
@@ -0,0 +1 @@
1
+ export { DialogTitle as SideDialogTitle } from '../DialogTitle';
@@ -0,0 +1 @@
1
+ export * from './SideDialogTitle';
@@ -0,0 +1 @@
1
+ export * from './SideDialogTitle';
@@ -0,0 +1 @@
1
+ export type { DialogTitleProps as SideDialogTitleProps } from '../DialogTitle';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { TableProps } from '@mui/material';
3
+ export declare const Table: ({ size, ...props }: TableProps) => JSX.Element;
@@ -0,0 +1,28 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { Table as MuiTable } from '@mui/material';
25
+ export var Table = function (_a) {
26
+ var _b = _a.size, size = _b === void 0 ? 'small' : _b, props = __rest(_a, ["size"]);
27
+ return _jsx(MuiTable, __assign({ size: size }, props), void 0);
28
+ };
@@ -0,0 +1,3 @@
1
+ import { TableBody, TableBodyProps } from '@mui/material';
2
+ export { TableBody };
3
+ export type { TableBodyProps };
@@ -0,0 +1,2 @@
1
+ import { TableBody } from '@mui/material';
2
+ export { TableBody };
@@ -0,0 +1 @@
1
+ export * from './TableBody';
@@ -0,0 +1 @@
1
+ export * from './TableBody';
@@ -0,0 +1,3 @@
1
+ import { TableCell, TableCellProps } from '@mui/material';
2
+ export { TableCell };
3
+ export type { TableCellProps };
@@ -0,0 +1,2 @@
1
+ import { TableCell } from '@mui/material';
2
+ export { TableCell };
@@ -0,0 +1 @@
1
+ export * from './TableCell';
@@ -0,0 +1 @@
1
+ export * from './TableCell';
@@ -0,0 +1,3 @@
1
+ import { TableContainer, TableContainerProps } from '@mui/material';
2
+ export { TableContainer };
3
+ export type { TableContainerProps };
@@ -0,0 +1,2 @@
1
+ import { TableContainer } from '@mui/material';
2
+ export { TableContainer };
@@ -0,0 +1 @@
1
+ export * from './TableContainer';
@@ -0,0 +1 @@
1
+ export * from './TableContainer';
@@ -0,0 +1,3 @@
1
+ import { TableFooter, TableFooterProps } from '@mui/material';
2
+ export { TableFooter };
3
+ export type { TableFooterProps };
@@ -0,0 +1,2 @@
1
+ import { TableFooter } from '@mui/material';
2
+ export { TableFooter };
@@ -0,0 +1 @@
1
+ export * from './TableFooter';
@@ -0,0 +1 @@
1
+ export * from './TableFooter';
@@ -0,0 +1,3 @@
1
+ import { TableHead, TableHeadProps } from '@mui/material';
2
+ export { TableHead };
3
+ export type { TableHeadProps };
@@ -0,0 +1,2 @@
1
+ import { TableHead } from '@mui/material';
2
+ export { TableHead };
@@ -0,0 +1 @@
1
+ export * from './TableHead';
@@ -0,0 +1 @@
1
+ export * from './TableHead';
@@ -0,0 +1,3 @@
1
+ import { TableRow, TableRowProps } from '@mui/material';
2
+ export { TableRow };
3
+ export type { TableRowProps };
@@ -0,0 +1,2 @@
1
+ import { TableRow } from '@mui/material';
2
+ export { TableRow };
@@ -0,0 +1 @@
1
+ export * from './TableRow';
@@ -0,0 +1 @@
1
+ export * from './TableRow';
@@ -0,0 +1,3 @@
1
+ import { TableSortLabel, TableSortLabelProps } from '@mui/material';
2
+ export { TableSortLabel };
3
+ export type { TableSortLabelProps };
@@ -0,0 +1,2 @@
1
+ import { TableSortLabel } from '@mui/material';
2
+ export { TableSortLabel };
@@ -0,0 +1 @@
1
+ export * from './TableSortLabel';
@@ -0,0 +1 @@
1
+ export * from './TableSortLabel';
@@ -0,0 +1,7 @@
1
+ export * from './Table';
2
+ export * from './TableBody';
3
+ export * from './TableFooter';
4
+ export * from './TableCell';
5
+ export * from './TableContainer';
6
+ export * from './TableRow';
7
+ export * from './TableSortLabel';
@@ -0,0 +1,7 @@
1
+ export * from './Table';
2
+ export * from './TableBody';
3
+ export * from './TableFooter';
4
+ export * from './TableCell';
5
+ export * from './TableContainer';
6
+ export * from './TableRow';
7
+ export * from './TableSortLabel';
package/esm/index.d.ts CHANGED
@@ -4,6 +4,8 @@ export * from './Button';
4
4
  export * from './ButtonBase';
5
5
  export * from './Checkbox';
6
6
  export * from './DashboardLayout';
7
+ export * from './DataGrid';
8
+ export * from './DataGridPagination';
7
9
  export * from './Dialog';
8
10
  export * from './DialogActions';
9
11
  export * from './DialogContent';
@@ -31,6 +33,7 @@ export * from './Placeholder';
31
33
  export * from './Select';
32
34
  export * from './styles';
33
35
  export * from './StylesCacheProvider';
36
+ export * from './Table';
34
37
  export * from './Tag';
35
38
  export * from './TextArea';
36
39
  export * from './theme';
@@ -38,5 +41,10 @@ export * from './ThemeProvider';
38
41
  export * from './TextField';
39
42
  export * from './Typography';
40
43
  export * from './Tooltip';
44
+ export * from './SideDialog';
45
+ export * from './SideDialogTitle';
46
+ export * from './SideDialogActions';
47
+ export * from './SideDialogContent';
48
+ export * from './SideDialogContentText';
41
49
  export * from './DatePicker';
42
50
  export * from './LocalizationProvider';
package/esm/index.js CHANGED
@@ -4,6 +4,8 @@ export * from './Button';
4
4
  export * from './ButtonBase';
5
5
  export * from './Checkbox';
6
6
  export * from './DashboardLayout';
7
+ export * from './DataGrid';
8
+ export * from './DataGridPagination';
7
9
  export * from './Dialog';
8
10
  export * from './DialogActions';
9
11
  export * from './DialogContent';
@@ -31,6 +33,7 @@ export * from './Placeholder';
31
33
  export * from './Select';
32
34
  export * from './styles';
33
35
  export * from './StylesCacheProvider';
36
+ export * from './Table';
34
37
  export * from './Tag';
35
38
  export * from './TextArea';
36
39
  export * from './theme';
@@ -38,5 +41,10 @@ export * from './ThemeProvider';
38
41
  export * from './TextField';
39
42
  export * from './Typography';
40
43
  export * from './Tooltip';
44
+ export * from './SideDialog';
45
+ export * from './SideDialogTitle';
46
+ export * from './SideDialogActions';
47
+ export * from './SideDialogContent';
48
+ export * from './SideDialogContentText';
41
49
  export * from './DatePicker';
42
50
  export * from './LocalizationProvider';
@@ -49,6 +49,6 @@ describe('createTheme', function () {
49
49
  });
50
50
  it('Theme has elevation params', function () {
51
51
  var theme = createTheme({ brand: Brand.SIGN, fontsUrls: fontsUrls });
52
- expect(theme.elevation[100]).toBe('0px 0px 1px 0px #072D574F, 0px 1px 1px 0px #072D5740');
52
+ expect(theme.elevation[100]).toBe('0px 0px 1px 0px #072D574F, 0px 1px 1px 0px #072D5740;');
53
53
  });
54
54
  });
@@ -0,0 +1,3 @@
1
+ import { Components } from '@mui/material';
2
+ import type { Theme } from '../baseTheme';
3
+ export declare const MuiPaginationItem: Components<Theme>['MuiPaginationItem'];
@@ -0,0 +1,14 @@
1
+ export var MuiPaginationItem = {
2
+ styleOverrides: {
3
+ root: function (_a) {
4
+ var _b;
5
+ var theme = _a.theme;
6
+ return _b = {},
7
+ _b['&.Mui-selected'] = {
8
+ backgroundColor: theme.palette.grey['900'],
9
+ color: theme.palette.primary.contrastText,
10
+ },
11
+ _b;
12
+ },
13
+ },
14
+ };
@@ -0,0 +1,3 @@
1
+ import { Components } from '@mui/material';
2
+ import type { Theme } from '../baseTheme';
3
+ export declare const MuiTableCell: Components<Theme>['MuiTableCell'];
@@ -0,0 +1,9 @@
1
+ export var MuiTableCell = {
2
+ styleOverrides: {
3
+ root: function () {
4
+ return {
5
+ border: 'none',
6
+ };
7
+ },
8
+ },
9
+ };
@@ -0,0 +1,3 @@
1
+ import { Components } from '@mui/material';
2
+ import type { Theme } from '../baseTheme';
3
+ export declare const MuiTableHead: Components<Theme>['MuiTableHead'];
@@ -0,0 +1,12 @@
1
+ export var MuiTableHead = {
2
+ styleOverrides: {
3
+ root: function (_a) {
4
+ var theme = _a.theme;
5
+ return {
6
+ th: {
7
+ borderBottom: "2px solid ".concat(theme.palette.grey['300']),
8
+ },
9
+ };
10
+ },
11
+ },
12
+ };
@@ -4,17 +4,20 @@ import { MuiFormHelperText } from './MuiFormHelperText';
4
4
  import { MuiFormLabel } from './MuiFormLabel';
5
5
  import { MuiInputLabel } from './MuiInputLabel';
6
6
  import { MuiOutlinedInput } from './MuiOutlinedInput';
7
+ import { MuiPaginationItem } from './MuiPaginationItem';
7
8
  import { MuiTypography } from './MuiTypography';
8
9
  import { MuiAutocomplete } from './MuiAutocomplete';
9
10
  import { MuiDialog } from './MuiDialog';
10
11
  import { MuiDialogTitle } from './MuiDialogTitle';
11
12
  import { MuiDialogContent } from './MuiDialogContent';
12
13
  import { MuiDialogActions } from './MuiDialogActions';
14
+ import { MuiTableCell } from './MuiTableCell';
15
+ import { MuiTableHead } from './MuiTableHead';
13
16
  import { MuiPickersDay } from './MuiPickersDay';
14
17
  import { MuiCalendarPicker } from './MuiCalendarPicker';
15
18
  import { MuiYearPicker } from './MuiYearPicker';
16
19
  var getMuiCssBaseline = function (fontUrls) { return ({
17
- styleOverrides: "\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 300;\n font-display: swap;\n src: url(".concat(fontUrls.light.woff2, ") format('woff2'), url(").concat(fontUrls.light.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 400;\n font-display: swap;\n src: url(").concat(fontUrls.regular.woff2, ") format('woff2'), url(").concat(fontUrls.regular.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 500;\n font-display: swap;\n src: url(").concat(fontUrls.medium.woff2, ") format('woff2'), url(").concat(fontUrls.medium.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 700;\n font-display: swap;\n src: url(").concat(fontUrls.bold.woff2, ") format('woff2'), url(").concat(fontUrls.bold.woff, ") format('woff');\n }\n "),
20
+ styleOverrides: "\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 300;\n font-display: swap;\n src: url(".concat(fontUrls.light.woff2, ") format('woff2'), url(").concat(fontUrls.light.woff, ") format('woff');\n }\n @font-face { \n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 400;\n font-display: swap;\n src: url(").concat(fontUrls.regular.woff2, ") format('woff2'), url(").concat(fontUrls.regular.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 500;\n font-display: swap;\n src: url(").concat(fontUrls.medium.woff2, ") format('woff2'), url(").concat(fontUrls.medium.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 700;\n font-display: swap;\n src: url(").concat(fontUrls.bold.woff2, ") format('woff2'), url(").concat(fontUrls.bold.woff, ") format('woff');\n }\n "),
18
21
  }); };
19
22
  var MuiCheckbox = {
20
23
  defaultProps: {
@@ -79,6 +82,9 @@ export var getComponents = function (fontUrls) { return ({
79
82
  MuiDialogTitle: MuiDialogTitle,
80
83
  MuiDialogContent: MuiDialogContent,
81
84
  MuiDialogActions: MuiDialogActions,
85
+ MuiTableCell: MuiTableCell,
86
+ MuiTableHead: MuiTableHead,
87
+ MuiPaginationItem: MuiPaginationItem,
82
88
  MuiPickersDay: MuiPickersDay,
83
89
  MuiCalendarPicker: MuiCalendarPicker,
84
90
  MuiYearPicker: MuiYearPicker,
@@ -1,7 +1,7 @@
1
1
  export var elevation = {
2
- 100: '0px 0px 1px 0px #072D574F, 0px 1px 1px 0px #072D5740',
3
- 200: '0px 0px 1px 0px #072D574F, 0px 3px 5px 0px #072D5733',
4
- 300: '0px 0px 1px 0px #072D574F, 0px 8px 12px 0px #072D5726',
5
- 400: '0px 0px 1px 0px #072D574F, 0px 10px 18px 0px #072D5726',
6
- 500: '0px 0px 1px 0px #072D574F, 0px 18px 28px 0px #072D5726',
2
+ 100: '0px 0px 1px 0px #072D574F, 0px 1px 1px 0px #072D5740;',
3
+ 200: '0px 0px 1px 0px #072D574F, 0px 3px 5px 0px #072D5733;',
4
+ 300: '0px 0px 1px 0px #072D574F, 0px 8px 12px 0px #072D5726;',
5
+ 400: '0px 0px 1px 0px #072D574F, 0px 10px 18px 0px #072D5726;',
6
+ 500: '0px 0px 1px 0px #072D574F, 0px 18px 28px 0px #072D5726;',
7
7
  };
package/index.d.ts CHANGED
@@ -4,6 +4,8 @@ export * from './Button';
4
4
  export * from './ButtonBase';
5
5
  export * from './Checkbox';
6
6
  export * from './DashboardLayout';
7
+ export * from './DataGrid';
8
+ export * from './DataGridPagination';
7
9
  export * from './Dialog';
8
10
  export * from './DialogActions';
9
11
  export * from './DialogContent';
@@ -31,6 +33,7 @@ export * from './Placeholder';
31
33
  export * from './Select';
32
34
  export * from './styles';
33
35
  export * from './StylesCacheProvider';
36
+ export * from './Table';
34
37
  export * from './Tag';
35
38
  export * from './TextArea';
36
39
  export * from './theme';
@@ -38,5 +41,10 @@ export * from './ThemeProvider';
38
41
  export * from './TextField';
39
42
  export * from './Typography';
40
43
  export * from './Tooltip';
44
+ export * from './SideDialog';
45
+ export * from './SideDialogTitle';
46
+ export * from './SideDialogActions';
47
+ export * from './SideDialogContent';
48
+ export * from './SideDialogContentText';
41
49
  export * from './DatePicker';
42
50
  export * from './LocalizationProvider';
package/index.js CHANGED
@@ -16,6 +16,8 @@ __exportStar(require("./Button"), exports);
16
16
  __exportStar(require("./ButtonBase"), exports);
17
17
  __exportStar(require("./Checkbox"), exports);
18
18
  __exportStar(require("./DashboardLayout"), exports);
19
+ __exportStar(require("./DataGrid"), exports);
20
+ __exportStar(require("./DataGridPagination"), exports);
19
21
  __exportStar(require("./Dialog"), exports);
20
22
  __exportStar(require("./DialogActions"), exports);
21
23
  __exportStar(require("./DialogContent"), exports);
@@ -43,6 +45,7 @@ __exportStar(require("./Placeholder"), exports);
43
45
  __exportStar(require("./Select"), exports);
44
46
  __exportStar(require("./styles"), exports);
45
47
  __exportStar(require("./StylesCacheProvider"), exports);
48
+ __exportStar(require("./Table"), exports);
46
49
  __exportStar(require("./Tag"), exports);
47
50
  __exportStar(require("./TextArea"), exports);
48
51
  __exportStar(require("./theme"), exports);
@@ -50,5 +53,10 @@ __exportStar(require("./ThemeProvider"), exports);
50
53
  __exportStar(require("./TextField"), exports);
51
54
  __exportStar(require("./Typography"), exports);
52
55
  __exportStar(require("./Tooltip"), exports);
56
+ __exportStar(require("./SideDialog"), exports);
57
+ __exportStar(require("./SideDialogTitle"), exports);
58
+ __exportStar(require("./SideDialogActions"), exports);
59
+ __exportStar(require("./SideDialogContent"), exports);
60
+ __exportStar(require("./SideDialogContentText"), exports);
53
61
  __exportStar(require("./DatePicker"), exports);
54
62
  __exportStar(require("./LocalizationProvider"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astral/ui",
3
- "version": "0.20.0",
3
+ "version": "0.22.1",
4
4
  "browser": "./src/index.ts",
5
5
  "jest": {
6
6
  "moduleNameMapper": {
@@ -8,7 +8,7 @@
8
8
  }
9
9
  },
10
10
  "dependencies": {
11
- "@astral/icons": "^0.20.0",
11
+ "@astral/icons": "^0.22.1",
12
12
  "@emotion/cache": "11.7.1",
13
13
  "@emotion/react": "11.8.1",
14
14
  "@emotion/server": "11.4.0",
@@ -51,6 +51,6 @@ describe('createTheme', function () {
51
51
  });
52
52
  it('Theme has elevation params', function () {
53
53
  var theme = (0, baseTheme_1.createTheme)({ brand: constants_1.Brand.SIGN, fontsUrls: fontsUrls });
54
- expect(theme.elevation[100]).toBe('0px 0px 1px 0px #072D574F, 0px 1px 1px 0px #072D5740');
54
+ expect(theme.elevation[100]).toBe('0px 0px 1px 0px #072D574F, 0px 1px 1px 0px #072D5740;');
55
55
  });
56
56
  });
@@ -0,0 +1,3 @@
1
+ import { Components } from '@mui/material';
2
+ import type { Theme } from '../baseTheme';
3
+ export declare const MuiPaginationItem: Components<Theme>['MuiPaginationItem'];
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MuiPaginationItem = void 0;
4
+ exports.MuiPaginationItem = {
5
+ styleOverrides: {
6
+ root: function (_a) {
7
+ var _b;
8
+ var theme = _a.theme;
9
+ return _b = {},
10
+ _b['&.Mui-selected'] = {
11
+ backgroundColor: theme.palette.grey['900'],
12
+ color: theme.palette.primary.contrastText,
13
+ },
14
+ _b;
15
+ },
16
+ },
17
+ };
@@ -0,0 +1,3 @@
1
+ import { Components } from '@mui/material';
2
+ import type { Theme } from '../baseTheme';
3
+ export declare const MuiTableCell: Components<Theme>['MuiTableCell'];
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MuiTableCell = void 0;
4
+ exports.MuiTableCell = {
5
+ styleOverrides: {
6
+ root: function () {
7
+ return {
8
+ border: 'none',
9
+ };
10
+ },
11
+ },
12
+ };
@@ -0,0 +1,3 @@
1
+ import { Components } from '@mui/material';
2
+ import type { Theme } from '../baseTheme';
3
+ export declare const MuiTableHead: Components<Theme>['MuiTableHead'];
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MuiTableHead = void 0;
4
+ exports.MuiTableHead = {
5
+ styleOverrides: {
6
+ root: function (_a) {
7
+ var theme = _a.theme;
8
+ return {
9
+ th: {
10
+ borderBottom: "2px solid ".concat(theme.palette.grey['300']),
11
+ },
12
+ };
13
+ },
14
+ },
15
+ };
@@ -7,17 +7,20 @@ var MuiFormHelperText_1 = require("./MuiFormHelperText");
7
7
  var MuiFormLabel_1 = require("./MuiFormLabel");
8
8
  var MuiInputLabel_1 = require("./MuiInputLabel");
9
9
  var MuiOutlinedInput_1 = require("./MuiOutlinedInput");
10
+ var MuiPaginationItem_1 = require("./MuiPaginationItem");
10
11
  var MuiTypography_1 = require("./MuiTypography");
11
12
  var MuiAutocomplete_1 = require("./MuiAutocomplete");
12
13
  var MuiDialog_1 = require("./MuiDialog");
13
14
  var MuiDialogTitle_1 = require("./MuiDialogTitle");
14
15
  var MuiDialogContent_1 = require("./MuiDialogContent");
15
16
  var MuiDialogActions_1 = require("./MuiDialogActions");
17
+ var MuiTableCell_1 = require("./MuiTableCell");
18
+ var MuiTableHead_1 = require("./MuiTableHead");
16
19
  var MuiPickersDay_1 = require("./MuiPickersDay");
17
20
  var MuiCalendarPicker_1 = require("./MuiCalendarPicker");
18
21
  var MuiYearPicker_1 = require("./MuiYearPicker");
19
22
  var getMuiCssBaseline = function (fontUrls) { return ({
20
- styleOverrides: "\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 300;\n font-display: swap;\n src: url(".concat(fontUrls.light.woff2, ") format('woff2'), url(").concat(fontUrls.light.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 400;\n font-display: swap;\n src: url(").concat(fontUrls.regular.woff2, ") format('woff2'), url(").concat(fontUrls.regular.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 500;\n font-display: swap;\n src: url(").concat(fontUrls.medium.woff2, ") format('woff2'), url(").concat(fontUrls.medium.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 700;\n font-display: swap;\n src: url(").concat(fontUrls.bold.woff2, ") format('woff2'), url(").concat(fontUrls.bold.woff, ") format('woff');\n }\n "),
23
+ styleOverrides: "\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 300;\n font-display: swap;\n src: url(".concat(fontUrls.light.woff2, ") format('woff2'), url(").concat(fontUrls.light.woff, ") format('woff');\n }\n @font-face { \n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 400;\n font-display: swap;\n src: url(").concat(fontUrls.regular.woff2, ") format('woff2'), url(").concat(fontUrls.regular.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 500;\n font-display: swap;\n src: url(").concat(fontUrls.medium.woff2, ") format('woff2'), url(").concat(fontUrls.medium.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 700;\n font-display: swap;\n src: url(").concat(fontUrls.bold.woff2, ") format('woff2'), url(").concat(fontUrls.bold.woff, ") format('woff');\n }\n "),
21
24
  }); };
22
25
  var MuiCheckbox = {
23
26
  defaultProps: {
@@ -82,6 +85,9 @@ var getComponents = function (fontUrls) { return ({
82
85
  MuiDialogTitle: MuiDialogTitle_1.MuiDialogTitle,
83
86
  MuiDialogContent: MuiDialogContent_1.MuiDialogContent,
84
87
  MuiDialogActions: MuiDialogActions_1.MuiDialogActions,
88
+ MuiTableCell: MuiTableCell_1.MuiTableCell,
89
+ MuiTableHead: MuiTableHead_1.MuiTableHead,
90
+ MuiPaginationItem: MuiPaginationItem_1.MuiPaginationItem,
85
91
  MuiPickersDay: MuiPickersDay_1.MuiPickersDay,
86
92
  MuiCalendarPicker: MuiCalendarPicker_1.MuiCalendarPicker,
87
93
  MuiYearPicker: MuiYearPicker_1.MuiYearPicker,
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.elevation = void 0;
4
4
  exports.elevation = {
5
- 100: '0px 0px 1px 0px #072D574F, 0px 1px 1px 0px #072D5740',
6
- 200: '0px 0px 1px 0px #072D574F, 0px 3px 5px 0px #072D5733',
7
- 300: '0px 0px 1px 0px #072D574F, 0px 8px 12px 0px #072D5726',
8
- 400: '0px 0px 1px 0px #072D574F, 0px 10px 18px 0px #072D5726',
9
- 500: '0px 0px 1px 0px #072D574F, 0px 18px 28px 0px #072D5726',
5
+ 100: '0px 0px 1px 0px #072D574F, 0px 1px 1px 0px #072D5740;',
6
+ 200: '0px 0px 1px 0px #072D574F, 0px 3px 5px 0px #072D5733;',
7
+ 300: '0px 0px 1px 0px #072D574F, 0px 8px 12px 0px #072D5726;',
8
+ 400: '0px 0px 1px 0px #072D574F, 0px 10px 18px 0px #072D5726;',
9
+ 500: '0px 0px 1px 0px #072D574F, 0px 18px 28px 0px #072D5726;',
10
10
  };