@veritone-ce/design-system 2.5.18 → 2.6.0-alpha.0

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 (113) hide show
  1. package/CHANGELOG.md +2415 -0
  2. package/dist/cjs/Alert/index.js +1 -4
  3. package/dist/cjs/Badge/index.js +1 -4
  4. package/dist/cjs/Button/index.js +1 -3
  5. package/dist/cjs/Card/index.js +1 -3
  6. package/dist/cjs/Checkbox/index.js +3 -5
  7. package/dist/cjs/Chip/index.js +1 -3
  8. package/dist/cjs/CircularProgress/index.js +1 -4
  9. package/dist/cjs/ColorPicker/index.js +1 -3
  10. package/dist/cjs/DatePicker/Calendar.js +1 -3
  11. package/dist/cjs/Dialog/components.js +1 -3
  12. package/dist/cjs/Drawer/components.js +1 -3
  13. package/dist/cjs/ErrorBoundary/index.js +11 -11
  14. package/dist/cjs/ErrorBoundary/styles.module.scss.js +1 -1
  15. package/dist/cjs/FileUploader/components.js +1 -3
  16. package/dist/cjs/FormControl/index.js +1 -3
  17. package/dist/cjs/Icon/wrappers.js +1 -3
  18. package/dist/cjs/IconButton/index.js +1 -3
  19. package/dist/cjs/Input/index.js +1 -3
  20. package/dist/cjs/Menu/controlled.js +1 -3
  21. package/dist/cjs/Pagination/index.js +2 -2
  22. package/dist/cjs/RadioButton/index.js +3 -5
  23. package/dist/cjs/Select/controlled.js +1 -3
  24. package/dist/cjs/StatusChip/index.js +1 -4
  25. package/dist/cjs/Stepper/stepper.js +1 -4
  26. package/dist/cjs/Table/AutoTable/common.js +2 -15
  27. package/dist/cjs/Table/AutoTable/controlled.js +16 -23
  28. package/dist/cjs/Table/AutoTable/index.js +2 -2
  29. package/dist/cjs/Table/AutoTable/styles.module.scss.js +7 -0
  30. package/dist/cjs/Table/AutoTable/virtual.js +30 -33
  31. package/dist/cjs/Table/TableCell/index.js +1 -3
  32. package/dist/cjs/Table/TableRow/index.js +1 -3
  33. package/dist/cjs/Table/index.js +4 -4
  34. package/dist/cjs/Textarea/index.js +1 -3
  35. package/dist/cjs/Toast/index.js +1 -1
  36. package/dist/cjs/Tooltip/index.js +1 -3
  37. package/dist/cjs/Typography/index.js +1 -3
  38. package/dist/cjs/extras/Markdown/index.js +210 -38
  39. package/dist/cjs/extras/Markdown/styles.module.scss.js +1 -1
  40. package/dist/cjs/index.js +56 -63
  41. package/dist/cjs/styles/components.module.scss.js +2 -2
  42. package/dist/cjs/styles/provider.client.js +31 -15
  43. package/dist/cjs/styles/provider.css-vars.js +8 -6
  44. package/dist/cjs/styles/useTheme.js +2 -28
  45. package/dist/cjs/styles.css +1 -1
  46. package/dist/esm/Alert/index.js +1 -4
  47. package/dist/esm/Badge/index.js +1 -4
  48. package/dist/esm/Button/index.js +1 -3
  49. package/dist/esm/Card/index.js +1 -3
  50. package/dist/esm/Checkbox/index.js +2 -4
  51. package/dist/esm/Chip/index.js +1 -3
  52. package/dist/esm/CircularProgress/index.js +1 -4
  53. package/dist/esm/ColorPicker/index.js +1 -3
  54. package/dist/esm/DatePicker/Calendar.js +1 -3
  55. package/dist/esm/Dialog/components.js +1 -3
  56. package/dist/esm/Drawer/components.js +1 -3
  57. package/dist/esm/ErrorBoundary/index.js +9 -9
  58. package/dist/esm/ErrorBoundary/styles.module.scss.js +1 -1
  59. package/dist/esm/FileUploader/components.js +1 -3
  60. package/dist/esm/FormControl/index.js +1 -3
  61. package/dist/esm/Icon/wrappers.js +1 -3
  62. package/dist/esm/IconButton/index.js +1 -3
  63. package/dist/esm/Input/index.js +1 -3
  64. package/dist/esm/Menu/controlled.js +1 -3
  65. package/dist/esm/Pagination/index.js +2 -2
  66. package/dist/esm/RadioButton/index.js +2 -4
  67. package/dist/esm/Select/controlled.js +1 -3
  68. package/dist/esm/StatusChip/index.js +1 -4
  69. package/dist/esm/Stepper/stepper.js +1 -4
  70. package/dist/esm/Table/AutoTable/common.js +2 -15
  71. package/dist/esm/Table/AutoTable/controlled.js +16 -23
  72. package/dist/esm/Table/AutoTable/index.js +2 -2
  73. package/dist/esm/Table/AutoTable/styles.module.scss.js +3 -0
  74. package/dist/esm/Table/AutoTable/virtual.js +29 -32
  75. package/dist/esm/Table/TableCell/index.js +1 -3
  76. package/dist/esm/Table/TableRow/index.js +1 -3
  77. package/dist/esm/Table/index.js +4 -4
  78. package/dist/esm/Textarea/index.js +1 -3
  79. package/dist/esm/Toast/index.js +2 -2
  80. package/dist/esm/Tooltip/index.js +1 -3
  81. package/dist/esm/Typography/index.js +1 -3
  82. package/dist/esm/extras/Markdown/index.js +211 -39
  83. package/dist/esm/extras/Markdown/styles.module.scss.js +1 -1
  84. package/dist/esm/index.js +1 -5
  85. package/dist/esm/styles/components.module.scss.js +2 -2
  86. package/dist/esm/styles/provider.client.js +11 -16
  87. package/dist/esm/styles/provider.css-vars.js +10 -8
  88. package/dist/esm/styles/useTheme.js +2 -9
  89. package/dist/esm/styles.css +1 -1
  90. package/dist/types/Table/AutoTable/controlled.d.ts +2 -1
  91. package/dist/types/Table/AutoTable/index.d.ts +2 -3
  92. package/dist/types/Table/AutoTable/virtual.d.ts +2 -3
  93. package/dist/types/Table/index.d.ts +6 -7
  94. package/dist/types/extras/Markdown/index.d.ts +25 -4
  95. package/dist/types/index.d.ts +0 -4
  96. package/dist/types/styles/index.d.ts +0 -4
  97. package/dist/types/styles/provider.client.d.ts +8 -1
  98. package/dist/types/styles/provider.css-vars.d.ts +4 -4
  99. package/dist/types/styles/useTheme.d.ts +2 -2
  100. package/package.json +5 -5
  101. package/dist/cjs/Box/index.js +0 -16
  102. package/dist/cjs/GlobalStyles/index.js +0 -23
  103. package/dist/cjs/styles/identifier.js +0 -8
  104. package/dist/cjs/styles/styled.js +0 -19
  105. package/dist/esm/Box/index.js +0 -12
  106. package/dist/esm/GlobalStyles/index.js +0 -19
  107. package/dist/esm/styles/identifier.js +0 -4
  108. package/dist/esm/styles/styled.js +0 -14
  109. package/dist/types/Box/index.d.ts +0 -4
  110. package/dist/types/GlobalStyles/index.d.ts +0 -9
  111. package/dist/types/styles/identifier.d.ts +0 -2
  112. package/dist/types/styles/styled.d.ts +0 -6
  113. package/dist/types/styles/sx.d.ts +0 -3
@@ -2,17 +2,15 @@
2
2
  'use client';
3
3
  import { jsxs, jsx } from 'react/jsx-runtime';
4
4
  import { forwardRef, useRef, useId } from 'react';
5
- import { useForkRef } from '@mui/material';
5
+ import useForkRef from '@mui/utils/useForkRef';
6
6
  import css from './styles.module.scss.js';
7
7
  import { cx } from '../styles/cx.js';
8
8
  import '../styles/defaultThemeOptions.js';
9
9
  import '@capsizecss/core';
10
10
  import 'color2k';
11
11
  import '../styles/defaultTheme.js';
12
- import '@mui/system';
12
+ import '../styles/provider.client.js';
13
13
  import '../styles/css-vars.js';
14
- import '../Box/index.js';
15
- import '../styles/styled.js';
16
14
 
17
15
  const RadioButton = forwardRef(
18
16
  ({
@@ -7,10 +7,8 @@ import '../styles/defaultThemeOptions.js';
7
7
  import '@capsizecss/core';
8
8
  import 'color2k';
9
9
  import '../styles/defaultTheme.js';
10
- import '@mui/system';
10
+ import '../styles/provider.client.js';
11
11
  import '../styles/css-vars.js';
12
- import '../Box/index.js';
13
- import '../styles/styled.js';
14
12
  import css from './styles.module.scss.js';
15
13
  import { ArrowDropDown, Close } from '@mui/icons-material';
16
14
  import Menu from '../Menu/controlled.js';
@@ -7,11 +7,8 @@ import '../styles/defaultThemeOptions.js';
7
7
  import '@capsizecss/core';
8
8
  import 'color2k';
9
9
  import { defaultThemeCssVariableUsages } from '../styles/defaultTheme.js';
10
- import 'react';
11
- import '@mui/system';
10
+ import '../styles/provider.client.js';
12
11
  import '../styles/css-vars.js';
13
- import '../Box/index.js';
14
- import '../styles/styled.js';
15
12
  import Typography from '../Typography/index.js';
16
13
 
17
14
  const StatusChip = ({
@@ -6,11 +6,8 @@ import '../styles/defaultThemeOptions.js';
6
6
  import '@capsizecss/core';
7
7
  import 'color2k';
8
8
  import { defaultThemeCssVariableUsages } from '../styles/defaultTheme.js';
9
- import 'react';
10
- import '@mui/system';
9
+ import '../styles/provider.client.js';
11
10
  import '../styles/css-vars.js';
12
- import '../Box/index.js';
13
- import '../styles/styled.js';
14
11
  import styles from './styles.module.scss.js';
15
12
 
16
13
  const Stepper = ({
@@ -3,7 +3,7 @@ import { jsx } from 'react/jsx-runtime';
3
3
  import { useReactTable, getPaginationRowModel, getSortedRowModel, getCoreRowModel } from '@tanstack/react-table';
4
4
  import React__default from 'react';
5
5
  import TableCell from '../TableCell/index.js';
6
- import { Box } from '@mui/material';
6
+ import styles from './styles.module.scss.js';
7
7
 
8
8
  function createColumnHelper() {
9
9
  return {
@@ -119,20 +119,7 @@ function makeCellMappingComponent(cell) {
119
119
  });
120
120
  }
121
121
  const DefaultErrorContainer = () => {
122
- return /* @__PURE__ */ jsx(
123
- Box,
124
- {
125
- sx: {
126
- width: "100%",
127
- display: "flex",
128
- justifyContent: "center",
129
- alignItems: "center",
130
- paddingTop: "10px",
131
- paddingBottom: "10px"
132
- },
133
- children: /* @__PURE__ */ jsx("div", { children: "Some error message" })
134
- }
135
- );
122
+ return /* @__PURE__ */ jsx("div", { className: styles.errorContainer, children: /* @__PURE__ */ jsx("div", { children: "Some error message" }) });
136
123
  };
137
124
 
138
125
  export { DefaultErrorContainer, createColumnHelper, mapColumnDef, mapColumnDefs, useAutoTable };
@@ -10,6 +10,14 @@ import { visuallyHidden } from '@mui/utils';
10
10
  import { useAutoTable, DefaultErrorContainer } from './common.js';
11
11
  import TablePagination from '../../TablePagination/index.js';
12
12
  import CircularProgress from '../../CircularProgress/index.js';
13
+ import { cx } from '../../styles/cx.js';
14
+ import '../../styles/defaultThemeOptions.js';
15
+ import '@capsizecss/core';
16
+ import 'color2k';
17
+ import '../../styles/defaultTheme.js';
18
+ import '../../styles/provider.client.js';
19
+ import '../../styles/css-vars.js';
20
+ import styles from './styles.module.scss.js';
13
21
 
14
22
  function ControlledAutoTable({
15
23
  stickyHeader,
@@ -17,6 +25,7 @@ function ControlledAutoTable({
17
25
  zeroStateMessage,
18
26
  error,
19
27
  ErrorContainer = DefaultErrorContainer,
28
+ style,
20
29
  className,
21
30
  ...options
22
31
  }) {
@@ -24,19 +33,14 @@ function ControlledAutoTable({
24
33
  const rows = options.data;
25
34
  const manualRowCount = options.manualRowCount ?? rows.length;
26
35
  const showMessage = error || loading || rows.length === 0;
27
- return /* @__PURE__ */ jsx("div", { className, children: /* @__PURE__ */ jsxs(
36
+ return /* @__PURE__ */ jsx("div", { style, className, children: /* @__PURE__ */ jsxs(
28
37
  Table,
29
38
  {
30
- sx: {
31
- borderCollapse: "separate",
32
- ...stickyHeader ? {
33
- "& th": {
34
- position: "sticky",
35
- top: typeof stickyHeader === "object" ? stickyHeader.offset : 0,
36
- zIndex: 2,
37
- backgroundColor: (theme) => theme.palette.background.default
38
- }
39
- } : {}
39
+ className: cx(styles.table, stickyHeader && styles.stickyHeader),
40
+ style: {
41
+ ...stickyHeader && typeof stickyHeader === "object" && {
42
+ "--vt-ce-auto-table-sticky-offset": stickyHeader.offset
43
+ }
40
44
  },
41
45
  children: [
42
46
  /* @__PURE__ */ jsx(TableHead, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx(TableRow, { children: headerGroup.headers.map((header) => {
@@ -60,18 +64,7 @@ function ControlledAutoTable({
60
64
  header.getContext()
61
65
  ) }, header.id);
62
66
  }) }, headerGroup.id)) }),
63
- showMessage ? /* @__PURE__ */ jsx(TableBody, { children: /* @__PURE__ */ jsx(TableRow, { children: /* @__PURE__ */ jsx(TableCell, { colSpan: table.getAllFlatColumns().length, children: error ? /* @__PURE__ */ jsx(ErrorContainer, { error }) : loading ? /* @__PURE__ */ jsx(
64
- "div",
65
- {
66
- style: {
67
- display: "flex",
68
- justifyContent: "center",
69
- paddingTop: "10px",
70
- paddingBottom: "10px"
71
- },
72
- children: /* @__PURE__ */ jsx(CircularProgress, {})
73
- }
74
- ) : rows.length === 0 ? /* @__PURE__ */ jsx(TableMessage, { children: zeroStateMessage ?? "No data found" }) : null }) }) }) : /* @__PURE__ */ jsx(TableBody, { children: table.getRowModel().rows.map((row) => /* @__PURE__ */ jsx(TableRow, { children: row.getAllCells().map((cell) => /* @__PURE__ */ jsx(React__default.Fragment, { children: flexRender(cell.column.columnDef.cell, cell.getContext()) }, cell.id)) }, row.id)) }),
67
+ showMessage ? /* @__PURE__ */ jsx(TableBody, { children: /* @__PURE__ */ jsx(TableRow, { children: /* @__PURE__ */ jsx(TableCell, { colSpan: table.getAllFlatColumns().length, children: error ? /* @__PURE__ */ jsx(ErrorContainer, { error }) : loading ? /* @__PURE__ */ jsx("div", { className: styles.loadingContainer, children: /* @__PURE__ */ jsx(CircularProgress, {}) }) : rows.length === 0 ? /* @__PURE__ */ jsx(TableMessage, { children: zeroStateMessage ?? "No data found" }) : null }) }) }) : /* @__PURE__ */ jsx(TableBody, { children: table.getRowModel().rows.map((row) => /* @__PURE__ */ jsx(TableRow, { children: row.getAllCells().map((cell) => /* @__PURE__ */ jsx(React__default.Fragment, { children: flexRender(cell.column.columnDef.cell, cell.getContext()) }, cell.id)) }, row.id)) }),
75
68
  options.enablePagination && (options.manualPagination ? manualRowCount : options.data.length) > table.initialState.pagination.pageSize && /* @__PURE__ */ jsx(TableFooter, { children: /* @__PURE__ */ jsx(TableRow, { children: /* @__PURE__ */ jsx("td", { colSpan: table.getAllFlatColumns().length, children: /* @__PURE__ */ jsx(
76
69
  TablePagination,
77
70
  {
@@ -6,7 +6,6 @@ import VirtualControlledAutoTable from './virtual.js';
6
6
  import ControlledAutoTable from './controlled.js';
7
7
  import '@tanstack/react-table';
8
8
  import '../TableCell/index.js';
9
- import '@mui/material';
10
9
 
11
10
  function AutoTable(props) {
12
11
  const enableSorting = props.enableSorting ?? true;
@@ -68,7 +67,7 @@ function AutoTable(props) {
68
67
  zeroStateMessage: props.zeroStateMessage,
69
68
  error: props.error,
70
69
  ErrorContainer: props.ErrorContainer,
71
- sx: props.sx,
70
+ style: props.style,
72
71
  className: props.className
73
72
  }
74
73
  );
@@ -82,6 +81,7 @@ function AutoTable(props) {
82
81
  zeroStateMessage: props.zeroStateMessage,
83
82
  error: props.error,
84
83
  ErrorContainer: props.ErrorContainer,
84
+ style: props.style,
85
85
  className: props.className
86
86
  }
87
87
  );
@@ -0,0 +1,3 @@
1
+ var styles = {"visuallyHidden":"vt_ce_AutoTable_visuallyHidden__d42457bf","errorContainer":"vt_ce_AutoTable_errorContainer__22629d1a","loadingContainer":"vt_ce_AutoTable_loadingContainer__800e1c5c","table":"vt_ce_AutoTable_table__abdcf037","stickyHeader":"vt_ce_AutoTable_stickyHeader__1fdfff7b","virtualTableBody":"vt_ce_AutoTable_virtualTableBody__1264b0bb"};
2
+
3
+ export { styles as default };
@@ -6,17 +6,19 @@ import { Table, TableHead, TableSortLabel, TableBody, TableMessage } from '../in
6
6
  import TableRow from '../TableRow/index.js';
7
7
  import TableCell from '../TableCell/index.js';
8
8
  import React__default from 'react';
9
- import { styled, Box, CircularProgress } from '@mui/material';
10
- import { visuallyHidden } from '@mui/utils';
11
9
  import { useAutoTable, DefaultErrorContainer } from './common.js';
12
10
  import { useVirtualizer } from '@tanstack/react-virtual';
11
+ import { cx } from '../../styles/cx.js';
12
+ import '../../styles/defaultThemeOptions.js';
13
+ import '@capsizecss/core';
14
+ import 'color2k';
15
+ import '../../styles/defaultTheme.js';
16
+ import '../../styles/provider.client.js';
17
+ import '../../styles/css-vars.js';
18
+ import styles from './styles.module.scss.js';
19
+ import CircularProgress from '../../CircularProgress/index.js';
13
20
 
14
21
  const TableMessageMaxHeight = 100;
15
- const TableContainer = styled(Box)(
16
- ({ virtualizerTotalHeight }) => ({
17
- height: `${virtualizerTotalHeight}px`
18
- })
19
- );
20
22
  function VirtualControlledAutoTable({
21
23
  stickyHeader,
22
24
  loading,
@@ -30,7 +32,7 @@ function VirtualControlledAutoTable({
30
32
  headerSize = 50,
31
33
  overscan,
32
34
  debug,
33
- sx,
35
+ style,
34
36
  className,
35
37
  ...options
36
38
  }) {
@@ -55,10 +57,12 @@ function VirtualControlledAutoTable({
55
57
  const tableIsVisible = renderWhenNotVisible || virtualizer.scrollOffset + virtualizer.scrollRect.height >= visibilityBounds.lower && virtualizer.scrollOffset <= visibilityBounds.upper;
56
58
  const virtualItems = virtualizer.getVirtualItems();
57
59
  return /* @__PURE__ */ jsxs(
58
- TableContainer,
60
+ "div",
59
61
  {
60
- virtualizerTotalHeight: totalHeight,
61
- sx,
62
+ style: {
63
+ height: `${totalHeight}px`,
64
+ ...style
65
+ },
62
66
  className,
63
67
  children: [
64
68
  debug && /* @__PURE__ */ jsx("div", { style: { position: "relative" }, children: /* @__PURE__ */ jsxs(
@@ -84,19 +88,14 @@ function VirtualControlledAutoTable({
84
88
  /* @__PURE__ */ jsxs(
85
89
  Table,
86
90
  {
87
- sx: {
88
- borderCollapse: "separate",
89
- ...stickyHeader ? {
90
- "& th": {
91
- position: "sticky",
92
- top: typeof stickyHeader === "object" ? stickyHeader.offset : 0,
93
- zIndex: 2,
94
- backgroundColor: (theme) => theme.palette.background.default
95
- }
96
- } : {}
91
+ className: cx(styles.table, stickyHeader && styles.stickyHeader),
92
+ style: {
93
+ ...stickyHeader && typeof stickyHeader === "object" && {
94
+ "--vt-ce-auto-table-sticky-offset": stickyHeader.offset
95
+ }
97
96
  },
98
97
  children: [
99
- /* @__PURE__ */ jsx(TableHead, { sx: { height: headerSize }, children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx(TableRow, { children: headerGroup.headers.map((header) => {
98
+ /* @__PURE__ */ jsx(TableHead, { style: { height: headerSize }, children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx(TableRow, { children: headerGroup.headers.map((header) => {
100
99
  const isSorted = header.column.getIsSorted();
101
100
  return /* @__PURE__ */ jsx(TableCell, { variant: "header", children: header.isPlaceholder ? null : header.column.getCanSort() ? /* @__PURE__ */ jsxs(
102
101
  TableSortLabel,
@@ -109,7 +108,7 @@ function VirtualControlledAutoTable({
109
108
  header.column.columnDef.header,
110
109
  header.getContext()
111
110
  ),
112
- isSorted !== false ? /* @__PURE__ */ jsx(Box, { component: "span", sx: visuallyHidden, children: isSorted === "desc" ? "sorted descending" : "sorted ascending" }) : null
111
+ isSorted !== false ? /* @__PURE__ */ jsx("span", { className: styles.visuallyHidden, children: isSorted === "desc" ? "sorted descending" : "sorted ascending" }) : null
113
112
  ]
114
113
  }
115
114
  ) : flexRender(
@@ -121,10 +120,10 @@ function VirtualControlledAutoTable({
121
120
  TableCell,
122
121
  {
123
122
  colSpan: table.getAllFlatColumns().length,
124
- children: /* @__PURE__ */ jsx(Box, { children: error ? /* @__PURE__ */ jsx(ErrorContainer, { error }) : loading ? /* @__PURE__ */ jsx(
125
- Box,
123
+ children: /* @__PURE__ */ jsx("div", { children: error ? /* @__PURE__ */ jsx(ErrorContainer, { error }) : loading ? /* @__PURE__ */ jsx(
124
+ "div",
126
125
  {
127
- sx: {
126
+ style: {
128
127
  display: "flex",
129
128
  justifyContent: "center",
130
129
  paddingTop: "10px",
@@ -137,12 +136,10 @@ function VirtualControlledAutoTable({
137
136
  ) }) }) : tableIsVisible && /* @__PURE__ */ jsx(
138
137
  TableBody,
139
138
  {
140
- sx: {
141
- "&::after": {
142
- display: "block",
143
- content: "''",
144
- // this ensures the table takes up as much size as the total elements by adding padding to the end
145
- height: `${(rows.length - virtualItems.length) * rowSize}px`
139
+ className: styles.virtualTableBody,
140
+ style: {
141
+ ...{
142
+ "--vt-ce-auto-table-virtual-table-body-height": `${(rows.length - virtualItems.length) * rowSize}px`
146
143
  }
147
144
  },
148
145
  children: virtualItems.map((virtualRow) => {
@@ -8,10 +8,8 @@ import '../../styles/defaultThemeOptions.js';
8
8
  import '@capsizecss/core';
9
9
  import 'color2k';
10
10
  import '../../styles/defaultTheme.js';
11
- import '@mui/system';
11
+ import '../../styles/provider.client.js';
12
12
  import '../../styles/css-vars.js';
13
- import '../../Box/index.js';
14
- import '../../styles/styled.js';
15
13
 
16
14
  const TableCell = forwardRef(
17
15
  ({
@@ -8,10 +8,8 @@ import '../../styles/defaultThemeOptions.js';
8
8
  import '@capsizecss/core';
9
9
  import 'color2k';
10
10
  import '../../styles/defaultTheme.js';
11
- import '@mui/system';
11
+ import '../../styles/provider.client.js';
12
12
  import '../../styles/css-vars.js';
13
- import '../../Box/index.js';
14
- import '../../styles/styled.js';
15
13
 
16
14
  const TableRow = forwardRef(
17
15
  ({ children, "data-testid": dataTestId, className, ...props }, ref) => {
@@ -10,7 +10,7 @@ const Table = (props) => {
10
10
  {
11
11
  "data-testid": props["data-testid"],
12
12
  stickyHeader: props.stickyHeader,
13
- sx: props.sx,
13
+ style: props.style,
14
14
  className: props.className,
15
15
  children: props.children
16
16
  }
@@ -21,7 +21,7 @@ const TableBody = (props) => {
21
21
  TableBody$1,
22
22
  {
23
23
  "data-testid": props["data-testid"],
24
- sx: props.sx,
24
+ style: props.style,
25
25
  className: props.className,
26
26
  children: props.children
27
27
  }
@@ -32,7 +32,7 @@ const TableFooter = (props) => {
32
32
  TableFooter$1,
33
33
  {
34
34
  "data-testid": props["data-testid"],
35
- sx: props.sx,
35
+ style: props.style,
36
36
  className: props.className,
37
37
  children: props.children
38
38
  }
@@ -43,7 +43,7 @@ const TableHead = (props) => {
43
43
  TableHead$1,
44
44
  {
45
45
  "data-testid": props["data-testid"],
46
- sx: props.sx,
46
+ style: props.style,
47
47
  className: props.className,
48
48
  children: props.children
49
49
  }
@@ -8,10 +8,8 @@ import '../styles/defaultThemeOptions.js';
8
8
  import '@capsizecss/core';
9
9
  import 'color2k';
10
10
  import '../styles/defaultTheme.js';
11
- import '@mui/system';
11
+ import '../styles/provider.client.js';
12
12
  import '../styles/css-vars.js';
13
- import '../Box/index.js';
14
- import '../styles/styled.js';
15
13
  import { useFormControlContext } from '../FormControl/context.js';
16
14
 
17
15
  const Textarea = forwardRef(
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
  'use client';
3
3
  import { jsx } from 'react/jsx-runtime';
4
- import { Snackbar, Box } from '@mui/material';
4
+ import { Snackbar } from '@mui/material';
5
5
  import ToastContent from './content.js';
6
6
 
7
7
  const Toast = ({ open, onClose, className, ...alertProps }) => {
8
- return /* @__PURE__ */ jsx(Snackbar, { open, onClose, className, children: /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(ToastContent, { onClose, ...alertProps }) }) });
8
+ return /* @__PURE__ */ jsx(Snackbar, { open, onClose, className, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(ToastContent, { onClose, ...alertProps }) }) });
9
9
  };
10
10
 
11
11
  export { Toast as default };
@@ -9,10 +9,8 @@ import '../styles/defaultThemeOptions.js';
9
9
  import '@capsizecss/core';
10
10
  import 'color2k';
11
11
  import { defaultThemeCssVariableUsages } from '../styles/defaultTheme.js';
12
- import '@mui/system';
12
+ import '../styles/provider.client.js';
13
13
  import '../styles/css-vars.js';
14
- import '../Box/index.js';
15
- import '../styles/styled.js';
16
14
  import Typography from '../Typography/index.js';
17
15
 
18
16
  function Tooltip({
@@ -5,11 +5,9 @@ import '../styles/defaultThemeOptions.js';
5
5
  import '@capsizecss/core';
6
6
  import 'color2k';
7
7
  import '../styles/defaultTheme.js';
8
- import '@mui/system';
8
+ import '../styles/provider.client.js';
9
9
  import 'react/jsx-runtime';
10
10
  import '../styles/css-vars.js';
11
- import '../Box/index.js';
12
- import '../styles/styled.js';
13
11
  import styles from './variants.module.scss.js';
14
12
 
15
13
  const Typography = forwardRef(