@ark-ui/react 0.0.0-rc-20221129110620 → 0.0.0-rc-20221129180638
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.
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1736,7 +1736,7 @@ var useRating = (props) => {
|
|
|
1736
1736
|
// src/rating/rating.tsx
|
|
1737
1737
|
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
1738
1738
|
var Rating = (0, import_react157.forwardRef)((props, ref) => {
|
|
1739
|
-
const [useRatingProps,
|
|
1739
|
+
const [useRatingProps, inputProps] = createSplitProps()(props, [
|
|
1740
1740
|
"allowHalf",
|
|
1741
1741
|
"autoFocus",
|
|
1742
1742
|
"defaultValue",
|
|
@@ -1755,7 +1755,7 @@ var Rating = (0, import_react157.forwardRef)((props, ref) => {
|
|
|
1755
1755
|
"value"
|
|
1756
1756
|
]);
|
|
1757
1757
|
const rating2 = useRating(useRatingProps);
|
|
1758
|
-
const mergedProps = (0, import_react158.mergeProps)(rating2.rootProps,
|
|
1758
|
+
const mergedProps = (0, import_react158.mergeProps)(rating2.rootProps, inputProps);
|
|
1759
1759
|
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(RatingProvider, {
|
|
1760
1760
|
value: rating2,
|
|
1761
1761
|
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(ark.div, {
|
package/dist/index.esm.js
CHANGED
|
@@ -1579,7 +1579,7 @@ var useRating = (props) => {
|
|
|
1579
1579
|
// src/rating/rating.tsx
|
|
1580
1580
|
import { jsx as jsx68, jsxs } from "react/jsx-runtime";
|
|
1581
1581
|
var Rating = forwardRef62((props, ref) => {
|
|
1582
|
-
const [useRatingProps,
|
|
1582
|
+
const [useRatingProps, inputProps] = createSplitProps()(props, [
|
|
1583
1583
|
"allowHalf",
|
|
1584
1584
|
"autoFocus",
|
|
1585
1585
|
"defaultValue",
|
|
@@ -1598,7 +1598,7 @@ var Rating = forwardRef62((props, ref) => {
|
|
|
1598
1598
|
"value"
|
|
1599
1599
|
]);
|
|
1600
1600
|
const rating2 = useRating(useRatingProps);
|
|
1601
|
-
const mergedProps = mergeProps56(rating2.rootProps,
|
|
1601
|
+
const mergedProps = mergeProps56(rating2.rootProps, inputProps);
|
|
1602
1602
|
return /* @__PURE__ */ jsx68(RatingProvider, {
|
|
1603
1603
|
value: rating2,
|
|
1604
1604
|
children: /* @__PURE__ */ jsxs(ark.div, {
|