@bridger-kr/react 0.1.1 → 0.1.3
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.
|
@@ -22,6 +22,6 @@ interface TableProps<Row extends TableRow = TableRow> extends Omit<HTMLAttribute
|
|
|
22
22
|
* Data table — scannable, dense, hairline-divided. Columns define header,
|
|
23
23
|
* alignment, and an optional cell renderer. Built for comparison, not decoration.
|
|
24
24
|
*/
|
|
25
|
-
declare function Table<Row extends TableRow = TableRow>({ columns, rows, rowKey, onRowClick, empty, style, ...rest }: TableProps<Row>): string | number |
|
|
25
|
+
declare function Table<Row extends TableRow = TableRow>({ columns, rows, rowKey, onRowClick, empty, style, ...rest }: TableProps<Row>): string | number | true | Iterable<ReactNode> | react.JSX.Element;
|
|
26
26
|
|
|
27
27
|
export { Table, type TableAlign, type TableColumn, type TableProps, type TableRow };
|
|
@@ -22,6 +22,6 @@ interface TableProps<Row extends TableRow = TableRow> extends Omit<HTMLAttribute
|
|
|
22
22
|
* Data table — scannable, dense, hairline-divided. Columns define header,
|
|
23
23
|
* alignment, and an optional cell renderer. Built for comparison, not decoration.
|
|
24
24
|
*/
|
|
25
|
-
declare function Table<Row extends TableRow = TableRow>({ columns, rows, rowKey, onRowClick, empty, style, ...rest }: TableProps<Row>): string | number |
|
|
25
|
+
declare function Table<Row extends TableRow = TableRow>({ columns, rows, rowKey, onRowClick, empty, style, ...rest }: TableProps<Row>): string | number | true | Iterable<ReactNode> | react.JSX.Element;
|
|
26
26
|
|
|
27
27
|
export { Table, type TableAlign, type TableColumn, type TableProps, type TableRow };
|
package/dist/styles.css
CHANGED
|
@@ -115,8 +115,8 @@
|
|
|
115
115
|
position: absolute;
|
|
116
116
|
inset: 0;
|
|
117
117
|
background:
|
|
118
|
-
radial-gradient(circle at
|
|
119
|
-
|
|
118
|
+
radial-gradient(circle at 74% 28%, color-mix(in srgb, var(--dt-product-card-strong) 56%, transparent), transparent 38%),
|
|
119
|
+
linear-gradient(180deg, color-mix(in srgb, #ffffff 16%, transparent), transparent 58%);
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
.dt-product-cinematic-lines {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bridger-kr/react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"**/*.css"
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"@bridger-kr/tokens": "0.1.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"react": "^
|
|
36
|
-
"react-dom": "^
|
|
35
|
+
"react": "^18.3.1",
|
|
36
|
+
"react-dom": "^18.3.1",
|
|
37
37
|
"@testing-library/react": "16.3.2",
|
|
38
38
|
"@testing-library/user-event": "14.6.1",
|
|
39
39
|
"jsdom": "29.1.1"
|