@yamada-ui/native-table
Advanced tools
Comparing version 1.0.46 to 1.0.47-dev-20241201045027
@@ -147,3 +147,4 @@ "use client" | ||
var Td = (0, import_core5.forwardRef)( | ||
({ className, isNumeric, ...rest }, ref) => { | ||
({ className, isNumeric, numeric, ...rest }, ref) => { | ||
numeric != null ? numeric : numeric = isNumeric; | ||
const styles = useTableStyles(); | ||
@@ -156,3 +157,3 @@ const css = { ...styles.td }; | ||
className: (0, import_utils5.cx)("ui-table__td", className), | ||
"data-is-numeric": isNumeric, | ||
"data-is-numeric": numeric, | ||
__css: css, | ||
@@ -194,3 +195,4 @@ ...rest | ||
var Th = (0, import_core7.forwardRef)( | ||
({ className, isNumeric, __css, ...rest }, ref) => { | ||
({ className, isNumeric, numeric, __css, ...rest }, ref) => { | ||
numeric != null ? numeric : numeric = isNumeric; | ||
const styles = useTableStyles(); | ||
@@ -203,3 +205,3 @@ const css = { ...styles.th, ...__css }; | ||
className: (0, import_utils7.cx)("ui-table__th", className), | ||
"data-is-numeric": isNumeric, | ||
"data-is-numeric": numeric, | ||
__css: css, | ||
@@ -206,0 +208,0 @@ ...rest |
@@ -9,4 +9,12 @@ import * as _yamada_ui_core from '@yamada-ui/core'; | ||
* @default false | ||
* | ||
* @deprecated Use `numeric` instead. | ||
*/ | ||
isNumeric?: boolean; | ||
/** | ||
* Aligns the cell content to the right. | ||
* | ||
* @default false | ||
*/ | ||
numeric?: boolean; | ||
} | ||
@@ -13,0 +21,0 @@ interface TdProps extends HTMLUIProps<"td">, TdOptions { |
@@ -64,3 +64,4 @@ "use client" | ||
var Td = (0, import_core2.forwardRef)( | ||
({ className, isNumeric, ...rest }, ref) => { | ||
({ className, isNumeric, numeric, ...rest }, ref) => { | ||
numeric != null ? numeric : numeric = isNumeric; | ||
const styles = useTableStyles(); | ||
@@ -73,3 +74,3 @@ const css = { ...styles.td }; | ||
className: (0, import_utils2.cx)("ui-table__td", className), | ||
"data-is-numeric": isNumeric, | ||
"data-is-numeric": numeric, | ||
__css: css, | ||
@@ -76,0 +77,0 @@ ...rest |
@@ -9,4 +9,12 @@ import * as _yamada_ui_core from '@yamada-ui/core'; | ||
* @default false | ||
* | ||
* @deprecated Use `numeric` instead. | ||
*/ | ||
isNumeric?: boolean; | ||
/** | ||
* Aligns the cell content to the right. | ||
* | ||
* @default false | ||
*/ | ||
numeric?: boolean; | ||
} | ||
@@ -13,0 +21,0 @@ interface ThProps extends HTMLUIProps<"th">, ThOptions { |
@@ -64,3 +64,4 @@ "use client" | ||
var Th = (0, import_core2.forwardRef)( | ||
({ className, isNumeric, __css, ...rest }, ref) => { | ||
({ className, isNumeric, numeric, __css, ...rest }, ref) => { | ||
numeric != null ? numeric : numeric = isNumeric; | ||
const styles = useTableStyles(); | ||
@@ -73,3 +74,3 @@ const css = { ...styles.th, ...__css }; | ||
className: (0, import_utils2.cx)("ui-table__th", className), | ||
"data-is-numeric": isNumeric, | ||
"data-is-numeric": numeric, | ||
__css: css, | ||
@@ -76,0 +77,0 @@ ...rest |
{ | ||
"name": "@yamada-ui/native-table", | ||
"version": "1.0.46", | ||
"version": "1.0.47-dev-20241201045027", | ||
"description": "Yamada UI native table component", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
116584
1464
9
1
1