@react-fabric/core 1.0.0-beta.25 → 1.0.0-beta.26

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.
@@ -20,7 +20,7 @@ var DropdownTool = function DropdownTool(_ref) {
20
20
  return /*#__PURE__*/jsxRuntime.jsxs(Dropdown.Dropdown, _objectSpread(_objectSpread({}, props), {}, {
21
21
  children: [/*#__PURE__*/jsxRuntime.jsx(Icon.Icon, {
22
22
  icon: icon !== null && icon !== void 0 ? icon : icons.CoreIcons.caretDown,
23
- className: classNames(className, "outline bg-base flex-content pointer-events-auto cursor-pointer", groupHover && "hidden group-hover:inline-block data-[dropdown-open]:inline-block")
23
+ className: classNames(className, "outline bg-base flex-content pointer-events-auto cursor-pointer", groupHover && "hidden group-hover/tool:inline-block data-[dropdown-open]:inline-block")
24
24
  }), children]
25
25
  }));
26
26
  };
@@ -53,7 +53,7 @@ var Col = function Col(_ref3) {
53
53
  stretchContent = _ref3.stretchContent,
54
54
  aria = _objectWithoutProperties(_ref3, _excluded3);
55
55
  return /*#__PURE__*/jsxRuntime.jsx("div", _objectSpread(_objectSpread({
56
- className: classNames(Responsive_module.col, className, stretchContent && Responsive_module.stretchContent, flex === "auto" && "flex-content", flex === "fill" && "flex-1", flex === "full" && "flex-full", align && "self-".concat(align))
56
+ className: classNames(Responsive_module.col, className, stretchContent && Responsive_module.stretchContent, flex === "fill" && "flex-1", flex === "full" && "flex-full", flex === "auto" && "flex-initial", flex === "content" && "flex-content", align && "self-".concat(align))
57
57
  }, aria), {}, {
58
58
  children: children
59
59
  }));
@@ -20,7 +20,7 @@ var DropdownTool = function DropdownTool(_ref) {
20
20
  return /*#__PURE__*/jsxs(Dropdown, _objectSpread(_objectSpread({}, props), {}, {
21
21
  children: [/*#__PURE__*/jsx(Icon, {
22
22
  icon: icon !== null && icon !== void 0 ? icon : CoreIcons.caretDown,
23
- className: classNames(className, "outline bg-base flex-content pointer-events-auto cursor-pointer", groupHover && "hidden group-hover:inline-block data-[dropdown-open]:inline-block")
23
+ className: classNames(className, "outline bg-base flex-content pointer-events-auto cursor-pointer", groupHover && "hidden group-hover/tool:inline-block data-[dropdown-open]:inline-block")
24
24
  }), children]
25
25
  }));
26
26
  };
@@ -53,7 +53,7 @@ var Col = function Col(_ref3) {
53
53
  stretchContent = _ref3.stretchContent,
54
54
  aria = _objectWithoutProperties(_ref3, _excluded3);
55
55
  return /*#__PURE__*/jsx("div", _objectSpread(_objectSpread({
56
- className: classNames(classes.col, className, stretchContent && classes.stretchContent, flex === "auto" && "flex-content", flex === "fill" && "flex-1", flex === "full" && "flex-full", align && "self-".concat(align))
56
+ className: classNames(classes.col, className, stretchContent && classes.stretchContent, flex === "fill" && "flex-1", flex === "full" && "flex-full", flex === "auto" && "flex-initial", flex === "content" && "flex-content", align && "self-".concat(align))
57
57
  }, aria), {}, {
58
58
  children: children
59
59
  }));
@@ -29,7 +29,7 @@ export interface ThemeProps {
29
29
  /**
30
30
  * component rounding
31
31
  */
32
- rounding?: "minimal" | "normal" | "full";
32
+ rounding?: "sm" | "md" | "full";
33
33
  }
34
34
  /**
35
35
  * Theme override
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-fabric/core",
3
- "version": "1.0.0-beta.25",
3
+ "version": "1.0.0-beta.26",
4
4
  "description": "RUF: Core package",
5
5
  "author": "Adarsh Pastakia <adarshpastakia@outlook.com>",
6
6
  "license": "MIT",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@floating-ui/react": "^0.26.24",
39
- "@react-fabric/utilities": "^1.0.0-beta.25",
39
+ "@react-fabric/utilities": "^1.0.0-beta.26",
40
40
  "@tailwindcss/container-queries": "^0.1.1",
41
41
  "@tailwindcss/forms": "^0.5.7",
42
42
  "@tailwindcss/typography": "^0.5.13",
@@ -48,13 +48,13 @@
48
48
  },
49
49
  "peerDependencies": {
50
50
  "i18next": "^23.15.1",
51
- "react": ">=18.0.0 <20.0.0",
52
- "react-dom": ">=18.0.0 <20.0.0",
51
+ "react": "^19.0.0",
52
+ "react-dom": "^19.0.0",
53
53
  "react-i18next": "^15.0.2"
54
54
  },
55
55
  "engines": {
56
56
  "node": ">=18.12.0",
57
57
  "npm": ">=8.19.0"
58
58
  },
59
- "gitHead": "34640e2473c7823254e82aa7aed920c9c6f8f503"
59
+ "gitHead": "452f821dc8b22c5765b3858cc53ad9d7e2f9bcf1"
60
60
  }
@@ -50,7 +50,7 @@ export const DropdownTool = ({
50
50
  className,
51
51
  "outline bg-base flex-content pointer-events-auto cursor-pointer",
52
52
  groupHover &&
53
- "hidden group-hover:inline-block data-[dropdown-open]:inline-block",
53
+ "hidden group-hover/tool:inline-block data-[dropdown-open]:inline-block",
54
54
  )}
55
55
  />
56
56
  {children}
@@ -159,9 +159,10 @@ export const Col = ({
159
159
  classes.col,
160
160
  className,
161
161
  stretchContent && classes.stretchContent,
162
- flex === "auto" && "flex-content",
163
162
  flex === "fill" && "flex-1",
164
163
  flex === "full" && "flex-full",
164
+ flex === "auto" && "flex-initial",
165
+ flex === "content" && "flex-content",
165
166
  align && `self-${align}`,
166
167
  )}
167
168
  {...aria}
@@ -57,7 +57,7 @@ export interface ThemeProps {
57
57
  /**
58
58
  * component rounding
59
59
  */
60
- rounding?: "minimal" | "normal" | "full";
60
+ rounding?: "sm" | "md" | "full";
61
61
  }
62
62
 
63
63
  /**