@serendie/ui 2.5.1 → 3.0.0-dev.202602191126

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 (67) hide show
  1. package/README.md +63 -8
  2. package/dist/client.js +135 -119
  3. package/dist/components/Avatar/Avatar.js +3 -3
  4. package/dist/components/Badge/Badge.d.ts +6 -6
  5. package/dist/components/Badge/Badge.js +21 -21
  6. package/dist/components/Banner/Banner.d.ts +1 -4
  7. package/dist/components/Banner/Banner.js +8 -11
  8. package/dist/components/Button/Button.d.ts +0 -2
  9. package/dist/components/Button/Button.js +10 -11
  10. package/dist/components/CheckBox/CheckBox.js +4 -4
  11. package/dist/components/DataTable/table/BodyCell.d.ts +4 -2
  12. package/dist/components/DataTable/table/BodyCell.js +30 -24
  13. package/dist/components/DataTable/table/HeaderCell.d.ts +5 -2
  14. package/dist/components/DataTable/table/HeaderCell.js +69 -59
  15. package/dist/components/DataTable/table/HeaderRow.d.ts +6 -3
  16. package/dist/components/DataTable/table/HeaderRow.js +38 -35
  17. package/dist/components/DataTable/table/Root.d.ts +3 -3
  18. package/dist/components/DataTable/table/Root.js +8 -11
  19. package/dist/components/DataTable/table/Row.d.ts +8 -3
  20. package/dist/components/DataTable/table/Row.js +44 -32
  21. package/dist/components/DataTable/table/Tbody.d.ts +2 -1
  22. package/dist/components/DataTable/table/Tbody.js +4 -5
  23. package/dist/components/DataTable/table/Thead.d.ts +2 -1
  24. package/dist/components/DataTable/table/Thead.js +4 -5
  25. package/dist/components/DataTable/table/Tr.d.ts +2 -1
  26. package/dist/components/DataTable/table/Tr.js +20 -24
  27. package/dist/components/DatePicker/styles.js +1 -1
  28. package/dist/components/Divider/Divider.d.ts +2 -2
  29. package/dist/components/Divider/Divider.js +11 -11
  30. package/dist/components/Drawer/Drawer.js +3 -3
  31. package/dist/components/DropdownMenu/DropdownMenu.js +5 -5
  32. package/dist/components/IconButton/IconButton.d.ts +0 -1
  33. package/dist/components/IconButton/IconButton.js +0 -1
  34. package/dist/components/ModalDialog/ModalDialog.js +1 -1
  35. package/dist/components/ProgressIndicator/ProgressIndicator.js +9 -9
  36. package/dist/components/Search/Search.js +5 -5
  37. package/dist/components/Select/Select.js +14 -14
  38. package/dist/components/Switch/Switch.js +5 -5
  39. package/dist/components/Toast/Toast.d.ts +3 -5
  40. package/dist/components/Toast/Toast.js +8 -10
  41. package/dist/i18n/index.d.ts +1 -1
  42. package/dist/i18n/provider.d.ts +29 -4
  43. package/dist/i18n/provider.js +31 -11
  44. package/dist/index.d.ts +2 -0
  45. package/dist/index.js +135 -119
  46. package/dist/node_modules/@serendie/design-token/dist/panda-tokens.js +310 -0
  47. package/dist/node_modules/@serendie/design-token/dist/tokens.js +126 -0
  48. package/dist/preset.d.ts +310 -0
  49. package/dist/styled-system/css/conditions.js +1 -1
  50. package/dist/styled-system/jsx/is-valid-prop.js +1 -1
  51. package/dist/styles.css +1 -1
  52. package/dist/theme/ThemeContext.d.ts +55 -0
  53. package/dist/theme/ThemeContext.js +15 -0
  54. package/dist/theme/index.d.ts +3 -0
  55. package/dist/theme/index.js +11 -0
  56. package/dist/theme/initColorScheme.d.ts +74 -0
  57. package/dist/theme/initColorScheme.js +32 -0
  58. package/dist/theme/useSystemColorScheme.d.ts +15 -0
  59. package/dist/theme/useSystemColorScheme.js +19 -0
  60. package/dist/tokens/getToken.d.ts +126 -0
  61. package/dist/tokens/index.d.ts +310 -0
  62. package/package.json +2 -2
  63. package/styled-system/css/conditions.js +1 -1
  64. package/styled-system/jsx/is-valid-prop.js +1 -1
  65. package/styled-system/themes/index.d.ts +6 -1
  66. package/styled-system/themes/theme-konjo-dark.json +5 -0
  67. package/styled-system/types/conditions.d.ts +2 -0
@@ -40,9 +40,9 @@ const v = {
40
40
  }, N = {
41
41
  width: 24,
42
42
  height: 24,
43
- color: "sd.system.color.component.outline",
43
+ color: "sd.system.color.component.outlineDim",
44
44
  _disabled: {
45
- color: "color-mix(in srgb, {colors.sd.system.color.component.outline}, {colors.sd.system.color.interaction.hoveredOnPrimary});"
45
+ color: "color-mix(in srgb, {colors.sd.system.color.component.outlineDim}, {colors.sd.system.color.interaction.hoveredOnPrimary});"
46
46
  }
47
47
  }, n = b({
48
48
  slots: [
@@ -93,7 +93,7 @@ const v = {
93
93
  }
94
94
  }
95
95
  }
96
- }), H = ({
96
+ }), F = ({
97
97
  value: m,
98
98
  label: l,
99
99
  helperText: s,
@@ -122,7 +122,7 @@ const v = {
122
122
  );
123
123
  };
124
124
  export {
125
- H as CheckBox,
125
+ F as CheckBox,
126
126
  n as CheckBoxStyle,
127
127
  _ as checkboxCheckedIconCss,
128
128
  v as checkboxIconCss,
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { RecipeVariantProps } from '../../../../styled-system/css';
2
3
  declare const cellStyle: import('../../../../styled-system/types').RecipeRuntimeFn<{
3
4
  type: {
@@ -46,10 +47,11 @@ type ExtractVariantProperty<T, K extends string> = NonNullable<T> extends infer
46
47
  export type CellType = ExtractVariantProperty<CellStyleVariants, "type">;
47
48
  type CellState = ExtractVariantProperty<CellStyleVariants, "state">;
48
49
  type CellSize = ExtractVariantProperty<CellStyleVariants, "size">;
49
- export declare const BodyCell: React.FC<{
50
+ export declare const BodyCell: React.ForwardRefExoticComponent<Omit<{
50
51
  children: React.ReactNode;
51
52
  size?: CellSize;
52
53
  type?: CellType | string;
53
54
  state?: CellState;
54
- }>;
55
+ className?: string;
56
+ } & React.ClassAttributes<HTMLTableDataCellElement> & React.TdHTMLAttributes<HTMLTableDataCellElement>, "ref"> & React.RefAttributes<HTMLTableCellElement>>;
55
57
  export {};
@@ -1,6 +1,8 @@
1
- import { jsx as c } from "react/jsx-runtime";
2
- import { cva as i } from "../../../styled-system/css/cva.js";
3
- const a = i({
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import l from "react";
3
+ import { cx as m } from "../../../styled-system/css/cx.js";
4
+ import { cva as d } from "../../../styled-system/css/cva.js";
5
+ const p = d({
4
6
  base: {
5
7
  borderBottom: "1px solid",
6
8
  borderColor: "sd.system.color.component.outline",
@@ -100,26 +102,30 @@ const a = i({
100
102
  type: "default",
101
103
  state: "enabled"
102
104
  }
103
- }), l = ["default", "success", "notice", "error"], m = (o) => l.includes(o) ? o : "default", y = ({
104
- children: o,
105
- size: t = "medium",
106
- type: r = "default",
107
- state: e = "enabled",
108
- ...n
109
- }) => {
110
- const s = m(r);
111
- return /* @__PURE__ */ c(
112
- "td",
113
- {
114
- role: "cell",
115
- "data-type": s,
116
- "data-state": e,
117
- className: a({ size: t, type: s, state: e }),
118
- ...n,
119
- children: o
120
- }
121
- );
122
- };
105
+ }), y = ["default", "success", "notice", "error"], u = (o) => y.includes(o) ? o : "default", x = l.forwardRef(
106
+ ({
107
+ children: o,
108
+ size: t = "medium",
109
+ type: r = "default",
110
+ state: e = "enabled",
111
+ className: n,
112
+ ...c
113
+ }, i) => {
114
+ const s = u(r);
115
+ return /* @__PURE__ */ a(
116
+ "td",
117
+ {
118
+ ref: i,
119
+ role: "cell",
120
+ "data-type": s,
121
+ "data-state": e,
122
+ className: m(p({ size: t, type: s, state: e }), n),
123
+ ...c,
124
+ children: o
125
+ }
126
+ );
127
+ }
128
+ );
123
129
  export {
124
- y as BodyCell
130
+ x as BodyCell
125
131
  };
@@ -1,8 +1,11 @@
1
- export declare const HeaderCell: ({ children, size, state, sortable, sortDirection, onSort, className, ...props }: React.PropsWithChildren<{
1
+ import { default as React } from 'react';
2
+ export declare const HeaderCell: React.ForwardRefExoticComponent<Omit<{
2
3
  size?: "small" | "medium" | "large";
3
4
  state?: "enabled" | "hovered";
4
5
  sortable?: boolean;
5
6
  sortDirection?: "asc" | "desc" | false;
6
7
  onSort?: () => void;
7
8
  className?: string;
8
- }> & React.ComponentProps<"th">) => import("react/jsx-runtime").JSX.Element;
9
+ } & {
10
+ children?: React.ReactNode | undefined;
11
+ } & React.ClassAttributes<HTMLTableHeaderCellElement> & React.ThHTMLAttributes<HTMLTableHeaderCellElement>, "ref"> & React.RefAttributes<HTMLTableCellElement>>;
@@ -1,9 +1,10 @@
1
- import { jsx as l, jsxs as c } from "react/jsx-runtime";
2
- import { SerendieSymbol as a } from "@serendie/symbols";
3
- import { cx as p } from "../../../styled-system/css/cx.js";
4
- import { css as f } from "../../../styled-system/css/css.js";
5
- import { cva as y } from "../../../styled-system/css/cva.js";
6
- const u = y({
1
+ import { jsx as l, jsxs as p } from "react/jsx-runtime";
2
+ import f from "react";
3
+ import { SerendieSymbol as s } from "@serendie/symbols";
4
+ import { cx as y } from "../../../styled-system/css/cx.js";
5
+ import { css as u } from "../../../styled-system/css/css.js";
6
+ import { cva as g } from "../../../styled-system/css/cva.js";
7
+ const h = g({
7
8
  base: {
8
9
  borderBottom: "1px solid",
9
10
  borderColor: "sd.system.color.component.outline",
@@ -20,59 +21,68 @@ const u = y({
20
21
  whiteSpace: "nowrap"
21
22
  },
22
23
  defaultVariants: {}
23
- }), k = ({
24
- children: i,
25
- size: d = "medium",
26
- state: m = "enabled",
27
- sortable: e = !1,
28
- sortDirection: n,
29
- onSort: o,
30
- className: r,
31
- ...t
32
- }) => /* @__PURE__ */ l(
33
- "th",
34
- {
35
- role: "columnheader",
36
- "aria-sort": n === "asc" ? "ascending" : n === "desc" ? "descending" : e ? "none" : void 0,
37
- tabIndex: e ? 0 : void 0,
38
- onClick: e ? o : void 0,
39
- onKeyDown: (s) => {
40
- e && (s.key === "Enter" || s.key === " ") && (s.preventDefault(), o == null || o());
41
- },
42
- className: p(u({ size: d, state: m }), r),
43
- style: {
44
- cursor: e ? "pointer" : "default",
45
- userSelect: "none"
46
- },
47
- ...t,
48
- children: /* @__PURE__ */ c(
49
- "span",
50
- {
51
- className: f({
52
- display: "inline-flex",
53
- alignItems: "center",
54
- verticalAlign: "middle"
55
- }),
56
- children: [
57
- i,
58
- e && (n === "asc" ? /* @__PURE__ */ l(
59
- a,
60
- {
61
- name: "chevron-double-up",
62
- style: { marginLeft: 4 }
63
- }
64
- ) : n === "desc" ? /* @__PURE__ */ l(
65
- a,
66
- {
67
- name: "chevron-double-down",
68
- style: { marginLeft: 4 }
69
- }
70
- ) : /* @__PURE__ */ l(a, { name: "chevron-up-down", style: { marginLeft: 4 } }))
71
- ]
72
- }
73
- )
74
- }
24
+ }), A = f.forwardRef(
25
+ ({
26
+ children: i,
27
+ size: r = "medium",
28
+ state: d = "enabled",
29
+ sortable: e = !1,
30
+ sortDirection: n,
31
+ onSort: o,
32
+ className: t,
33
+ ...m
34
+ }, c) => /* @__PURE__ */ l(
35
+ "th",
36
+ {
37
+ ref: c,
38
+ role: "columnheader",
39
+ "aria-sort": n === "asc" ? "ascending" : n === "desc" ? "descending" : e ? "none" : void 0,
40
+ tabIndex: e ? 0 : void 0,
41
+ onClick: e ? o : void 0,
42
+ onKeyDown: (a) => {
43
+ e && (a.key === "Enter" || a.key === " ") && (a.preventDefault(), o == null || o());
44
+ },
45
+ className: y(h({ size: r, state: d }), t),
46
+ style: {
47
+ cursor: e ? "pointer" : "default",
48
+ userSelect: "none"
49
+ },
50
+ ...m,
51
+ children: /* @__PURE__ */ p(
52
+ "span",
53
+ {
54
+ className: u({
55
+ display: "inline-flex",
56
+ alignItems: "center",
57
+ verticalAlign: "middle"
58
+ }),
59
+ children: [
60
+ i,
61
+ e && (n === "asc" ? /* @__PURE__ */ l(
62
+ s,
63
+ {
64
+ name: "chevron-double-up",
65
+ style: { marginLeft: 4 }
66
+ }
67
+ ) : n === "desc" ? /* @__PURE__ */ l(
68
+ s,
69
+ {
70
+ name: "chevron-double-down",
71
+ style: { marginLeft: 4 }
72
+ }
73
+ ) : /* @__PURE__ */ l(
74
+ s,
75
+ {
76
+ name: "chevron-up-down",
77
+ style: { marginLeft: 4 }
78
+ }
79
+ ))
80
+ ]
81
+ }
82
+ )
83
+ }
84
+ )
75
85
  );
76
86
  export {
77
- k as HeaderCell
87
+ A as HeaderCell
78
88
  };
@@ -1,11 +1,14 @@
1
+ import { default as React } from 'react';
1
2
  import { HeaderGroup } from '@tanstack/react-table';
2
3
  export interface HeaderRowProps<TData> {
3
- headerGroup: HeaderGroup<TData>;
4
+ headerGroup?: HeaderGroup<TData>;
4
5
  enableRowSelection?: boolean;
5
- table: {
6
+ table?: {
6
7
  getIsAllRowsSelected: () => boolean;
7
8
  getIsSomeRowsSelected: () => boolean;
8
9
  getToggleAllRowsSelectedHandler: () => (event: unknown) => void;
9
10
  };
11
+ children?: React.ReactNode;
12
+ className?: string;
10
13
  }
11
- export declare function HeaderRow<TData>({ headerGroup, enableRowSelection, table, }: HeaderRowProps<TData>): import("react/jsx-runtime").JSX.Element;
14
+ export declare const HeaderRow: <TData>(props: HeaderRowProps<TData> & React.RefAttributes<HTMLTableRowElement>) => JSX.Element | null;
@@ -1,39 +1,42 @@
1
- import { jsxs as m, jsx as r } from "react/jsx-runtime";
2
- import { flexRender as i } from "../../../node_modules/@tanstack/react-table/build/lib/index.js";
1
+ import { jsx as n, jsxs as g } from "react/jsx-runtime";
2
+ import f from "react";
3
+ import { flexRender as u } from "../../../node_modules/@tanstack/react-table/build/lib/index.js";
3
4
  import { DataTable as t } from "../index.js";
4
- import { css as a } from "../../../styled-system/css/css.js";
5
- function f({
6
- headerGroup: l,
7
- enableRowSelection: n,
8
- table: o
9
- }) {
10
- return /* @__PURE__ */ m(t.Tr, { children: [
11
- n && /* @__PURE__ */ r(
12
- t.HeaderCheckbox,
5
+ import { css as R } from "../../../styled-system/css/css.js";
6
+ const w = ({
7
+ headerGroup: r,
8
+ enableRowSelection: d,
9
+ table: o,
10
+ children: l,
11
+ className: c
12
+ }, s) => l ? /* @__PURE__ */ n(t.Tr, { ref: s, className: c, children: l }) : !r || !o ? null : /* @__PURE__ */ g(t.Tr, { ref: s, className: c, children: [
13
+ d && /* @__PURE__ */ n(
14
+ t.HeaderCheckbox,
15
+ {
16
+ checked: o.getIsSomeRowsSelected() ? "indeterminate" : !!o.getIsAllRowsSelected(),
17
+ onChange: o.getToggleAllRowsSelectedHandler(),
18
+ value: "select-all",
19
+ className: R({
20
+ verticalAlign: "middle"
21
+ })
22
+ }
23
+ ),
24
+ r.headers.map((e) => {
25
+ const i = e.column.getCanSort(), a = e.column.getIsSorted();
26
+ return /* @__PURE__ */ n(
27
+ t.HeaderCell,
13
28
  {
14
- checked: o.getIsSomeRowsSelected() ? "indeterminate" : !!o.getIsAllRowsSelected(),
15
- onChange: o.getToggleAllRowsSelectedHandler(),
16
- value: "select-all",
17
- className: a({
18
- verticalAlign: "middle"
19
- })
20
- }
21
- ),
22
- l.headers.map((e) => {
23
- const c = e.column.getCanSort(), s = e.column.getIsSorted();
24
- return /* @__PURE__ */ r(
25
- t.HeaderCell,
26
- {
27
- sortable: c,
28
- sortDirection: s,
29
- onSort: () => e.column.toggleSorting(),
30
- children: i(e.column.columnDef.header, e.getContext())
31
- },
32
- e.id
33
- );
34
- })
35
- ] }, l.id);
36
- }
29
+ sortable: i,
30
+ sortDirection: a,
31
+ onSort: () => e.column.toggleSorting(),
32
+ children: u(e.column.columnDef.header, e.getContext())
33
+ },
34
+ e.id
35
+ );
36
+ })
37
+ ] }, r.id), m = f.forwardRef(w);
38
+ m.displayName = "HeaderRow";
39
+ const T = m;
37
40
  export {
38
- f as HeaderRow
41
+ T as HeaderRow
39
42
  };
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- export declare function Root({ children, className, }: {
1
+ import { default as React, ReactNode } from 'react';
2
+ export declare const Root: React.ForwardRefExoticComponent<Omit<{
3
3
  children: ReactNode;
4
4
  className?: string;
5
- }): import("react/jsx-runtime").JSX.Element;
5
+ } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children" | "className">, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -1,7 +1,8 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { sva as s } from "../../../styled-system/css/sva.js";
3
- import { cx as a } from "../../../styled-system/css/cx.js";
4
- const l = s({
2
+ import l from "react";
3
+ import { sva as c } from "../../../styled-system/css/sva.js";
4
+ import { cx as n } from "../../../styled-system/css/cx.js";
5
+ const d = c({
5
6
  slots: ["container", "table"],
6
7
  base: {
7
8
  container: {
@@ -19,14 +20,10 @@ const l = s({
19
20
  borderSpacing: 0
20
21
  }
21
22
  }
23
+ }), f = l.forwardRef(({ children: r, className: t, ...a }, s) => {
24
+ const o = d();
25
+ return /* @__PURE__ */ e("div", { ref: s, className: n(o.container, t), ...a, children: /* @__PURE__ */ e("table", { role: "table", className: o.table, children: r }) });
22
26
  });
23
- function b({
24
- children: r,
25
- className: t
26
- }) {
27
- const o = l();
28
- return /* @__PURE__ */ e("div", { className: a(o.container, t), children: /* @__PURE__ */ e("table", { role: "table", className: o.table, children: r }) });
29
- }
30
27
  export {
31
- b as Root
28
+ f as Root
32
29
  };
@@ -1,5 +1,10 @@
1
+ import { default as React } from 'react';
1
2
  import { Row as TanstackRow } from '@tanstack/react-table';
2
- export declare function Row<TData>({ row, enableRowSelection, }: {
3
- row: TanstackRow<TData>;
3
+ export interface RowProps<TData> {
4
+ row?: TanstackRow<TData>;
4
5
  enableRowSelection?: boolean;
5
- }): import("react/jsx-runtime").JSX.Element;
6
+ children?: React.ReactNode;
7
+ selected?: boolean;
8
+ className?: string;
9
+ }
10
+ export declare const Row: <TData>(props: RowProps<TData> & React.RefAttributes<HTMLTableRowElement>) => JSX.Element | null;
@@ -1,8 +1,10 @@
1
- import { jsxs as i, jsx as n } from "react/jsx-runtime";
2
- import { flexRender as l } from "../../../node_modules/@tanstack/react-table/build/lib/index.js";
1
+ import { jsx as n, jsxs as f } from "react/jsx-runtime";
2
+ import u from "react";
3
+ import { flexRender as y } from "../../../node_modules/@tanstack/react-table/build/lib/index.js";
3
4
  import { DataTable as o } from "../index.js";
4
- import { cva as m } from "../../../styled-system/css/cva.js";
5
- const c = m({
5
+ import { cx as l } from "../../../styled-system/css/cx.js";
6
+ import { cva as g } from "../../../styled-system/css/cva.js";
7
+ const m = g({
6
8
  base: {
7
9
  _hover: {
8
10
  _after: {
@@ -52,37 +54,47 @@ const c = m({
52
54
  }
53
55
  }
54
56
  }
55
- });
56
- function g({
57
- row: e,
58
- enableRowSelection: r
59
- }) {
60
- return /* @__PURE__ */ i(
61
- o.Tr,
62
- {
63
- className: c({
57
+ }), v = ({ row: e, enableRowSelection: c, children: r, selected: d, className: s }, i) => r ? /* @__PURE__ */ n(
58
+ o.Tr,
59
+ {
60
+ ref: i,
61
+ className: l(
62
+ m({ state: d ? "selected" : void 0 }),
63
+ s
64
+ ),
65
+ children: r
66
+ }
67
+ ) : e ? /* @__PURE__ */ f(
68
+ o.Tr,
69
+ {
70
+ ref: i,
71
+ className: l(
72
+ m({
64
73
  state: e.getIsSelected() ? "selected" : void 0
65
74
  }),
66
- children: [
67
- r && /* @__PURE__ */ n(
68
- o.BodyCheckbox,
69
- {
70
- checked: e.getIsSelected(),
71
- onChange: e.getToggleSelectedHandler(),
72
- value: e.id
73
- }
74
- ),
75
- e.getVisibleCells().map((t) => {
76
- const s = a(t);
77
- return /* @__PURE__ */ n(o.BodyCell, { type: s, children: l(t.column.columnDef.cell, t.getContext()) }, t.id);
78
- })
79
- ]
80
- }
81
- );
82
- }
83
- function a(e) {
75
+ s
76
+ ),
77
+ children: [
78
+ c && /* @__PURE__ */ n(
79
+ o.BodyCheckbox,
80
+ {
81
+ checked: e.getIsSelected(),
82
+ onChange: e.getToggleSelectedHandler(),
83
+ value: e.id
84
+ }
85
+ ),
86
+ e.getVisibleCells().map((t) => {
87
+ const p = x(t);
88
+ return /* @__PURE__ */ n(o.BodyCell, { type: p, children: y(t.column.columnDef.cell, t.getContext()) }, t.id);
89
+ })
90
+ ]
91
+ }
92
+ ) : null, a = u.forwardRef(v);
93
+ a.displayName = "Row";
94
+ const w = a;
95
+ function x(e) {
84
96
  return e.column.columnDef.meta && "getType" in e.column.columnDef.meta && typeof e.column.columnDef.meta.getType == "function" ? e.column.columnDef.meta.getType(e.row.original) : "default";
85
97
  }
86
98
  export {
87
- g as Row
99
+ w as Row
88
100
  };
@@ -1 +1,2 @@
1
- export declare function Tbody({ children, ...props }: React.ComponentProps<"tbody">): import("react/jsx-runtime").JSX.Element;
1
+ import { default as React } from 'react';
2
+ export declare const Tbody: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
@@ -1,7 +1,6 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- function b({ children: o, ...r }) {
3
- return /* @__PURE__ */ t("tbody", { ...r, children: o });
4
- }
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import f from "react";
3
+ const a = f.forwardRef(({ children: o, ...r }, t) => /* @__PURE__ */ e("tbody", { ref: t, ...r, children: o }));
5
4
  export {
6
- b as Tbody
5
+ a as Tbody
7
6
  };
@@ -1 +1,2 @@
1
- export declare function Thead({ children, ...props }: React.ComponentProps<"thead">): import("react/jsx-runtime").JSX.Element;
1
+ import { default as React } from 'react';
2
+ export declare const Thead: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
@@ -1,7 +1,6 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- function n({ children: r, ...t }) {
3
- return /* @__PURE__ */ e("thead", { ...t, children: r });
4
- }
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import a from "react";
3
+ const m = a.forwardRef(({ children: r, ...t }, e) => /* @__PURE__ */ o("thead", { ref: e, ...t, children: r }));
5
4
  export {
6
- n as Thead
5
+ m as Thead
7
6
  };
@@ -1 +1,2 @@
1
- export declare function Tr({ children, className, ...props }: React.ComponentProps<"tr">): import("react/jsx-runtime").JSX.Element;
1
+ import { default as React } from 'react';
2
+ export declare const Tr: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & React.RefAttributes<HTMLTableRowElement>>;
@@ -1,26 +1,22 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import { cx as m } from "../../../styled-system/css/cx.js";
3
- import { css as e } from "../../../styled-system/css/css.js";
4
- function f({
5
- children: r,
6
- className: o,
7
- ...t
8
- }) {
9
- return /* @__PURE__ */ i(
10
- "tr",
11
- {
12
- role: "row",
13
- className: m(
14
- e({
15
- position: "relative"
16
- }),
17
- o
18
- ),
19
- ...t,
20
- children: r
21
- }
22
- );
23
- }
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import f from "react";
3
+ import { cx as i } from "../../../styled-system/css/cx.js";
4
+ import { css as s } from "../../../styled-system/css/css.js";
5
+ const n = f.forwardRef(({ children: r, className: o, ...t }, e) => /* @__PURE__ */ m(
6
+ "tr",
7
+ {
8
+ ref: e,
9
+ role: "row",
10
+ className: i(
11
+ s({
12
+ position: "relative"
13
+ }),
14
+ o
15
+ ),
16
+ ...t,
17
+ children: r
18
+ }
19
+ ));
24
20
  export {
25
- f as Tr
21
+ n as Tr
26
22
  };
@@ -21,7 +21,7 @@ const o = e({
21
21
  zIndex: "sd.system.elevation.zIndex.dropdown"
22
22
  },
23
23
  content: {
24
- background: "sd.system.color.component.surface",
24
+ background: "sd.system.color.component.surfaceContainerBright",
25
25
  borderRadius: "sd.system.dimension.radius.medium",
26
26
  boxShadow: "sd.system.elevation.shadow.level1",
27
27
  flexDirection: "column",
@@ -3,10 +3,10 @@ import { RecipeVariantProps } from '../../../styled-system/css';
3
3
  export declare const DividerStyle: import('../../../styled-system/types').RecipeRuntimeFn<{
4
4
  color: {
5
5
  light: {
6
- borderColor: "sd.reference.color.scale.gray.200";
6
+ borderColor: "sd.system.color.component.outlineBright";
7
7
  };
8
8
  normal: {
9
- borderColor: "sd.reference.color.scale.gray.300";
9
+ borderColor: "sd.system.color.component.outline";
10
10
  };
11
11
  dark: {
12
12
  borderColor: "sd.system.color.component.outlineDim";